How OmniAnomaly processes data
masterWhen running main.py with default settings, the system follows this lifecycle:
- Training: Trains the model on the training set with periodic validation and default early stopping.
- Scoring: Tests the model on both the training and testing sets, saving the resulting anomaly scores to
train_score.pklandtest_score.pkl. - Evaluation: Identifies the best F1 score on the testing set and prints the results.
- Thresholding: Initializes a POT (Peak Over Threshold) model on
train_scoreto determine the anomaly score threshold, then uses this threshold to make final predictions on the testing set.