One or more computer-readable media storing program code, the program code executable by a computing system to cause the computing system to:
- receive a plurality of data instances, each of the plurality of data instances comprising a value for each of a plurality of fields and a label indicating whether the data instance is anomalous or not anomalous;
- train a classification model based on the plurality of data instances;
- evaluate a first performance of the trained classification model;
- determine that the first performance of the trained classification model is above a first performance threshold and below a second performance threshold;
- in response to the determination that the performance of the trained classification model is above the first performance threshold and below the second performance threshold:
- receive a first data instance comprising a first value for each of the plurality of fields;
- determine, based on anomaly detection rules, a first anomaly value indicating whether the first data instance is anomalous or not anomalous;
- determine, using the trained classification model, a second anomaly value indicating whether the first data instance is anomalous or not anomalous;
- determine, based on the first anomaly value and the second anomaly value, a third anomaly value indicating whether the first data instance is anomalous or not anomalous;
- present the first data instance and the third anomaly value;
- receive a confirmation of whether the presented first data instance is anomalous;
- based on the confirmation, associate a first label with the first data instance to generate a first labeled data instance;
- determine to re-train the classification model;
- re-train the classification model based on the first labeled data instance;
- evaluate a second performance of the re-trained classification model;
- determine that the second performance of the re-trained classification model is above the second performance threshold;
- in response to the determination that the performance of the trained classification model is above the second performance threshold:
- determine to use the re-trained classification model and not the anomaly detection rules to determine whether a data instance is anomalous or not anomalous;
- receive a second data instance comprising a second value for each of the plurality of fields;
- and
- determine, using the re-trained classification model and not the anomaly detection rules, a fourth anomaly value indicating whether the second data instance is anomalous or not anomalous;
- and
- in response to the determination of the fourth anomaly value indicating that the second data instance is not anomalous, transmit the second data instance to an instance processing system.