Orion
Orion.
evaluate
Evaluate the performance against ground truth anomalies.
data (DataFrame) – Input data, passed as a pandas.DataFrame containing exactly two columns: timestamp and value.
pandas.DataFrame
ground_truth (DataFrame) – Ground truth anomalies passed as a pandas.DataFrame containing two columns: start and stop.
fit (bool) – Whether to fit the pipeline before evaluating it. Defaults to False.
False
train_data (DataFrame) – Training data, passed as a pandas.DataFrame containing exactly two columns: timestamp and value. If not given, the pipeline is fitted on data.
data
metrics (list) – List of metrics to used passed as a list of strings. If not given, it defaults to all the Orion metrics.
pandas.Series containing one element for each metric applied, with the metric name as index.
pandas.Series
Series