Benchmarking¶
The aeon.benchmarking module contains tools for comparing and evaluating time
series models, loading stored results, and calculating performance metrics for a
variety of tasks.
Results loading¶
Results loaders and loading utilities for aeon (and other) estimators.
|
Return the standard name for possible aliased estimator. |
|
Get a DataFrame of estimators avialable for a specific learning task. |
|
Look for results for given estimators for a list of datasets. |
|
Look for results for given estimators for a list of datasets. |
Published results¶
Results loaders for specific publications.
Fetch all the results of the 2017 univariate TSC bake off. |
|
Pull down all the results of the 2021 multivariate bake off. |
|
Pull down all the results of the 2023 univariate bake off. |
Resampling¶
Functions for resampling time series data.
|
Resample data without replacement using a random state. |
|
Return data resample indices without replacement using a random state. |
|
Stratified resample data without replacement using a random state. |
|
Return stratified data resample indices without replacement using a random state. |
Performance metrics¶
Performance metrics used for evaluating aeon estimators.
Anomaly Detection¶
|
Compute the range-based precision metric. |
|
Compute the range-based recall metric. |
|
Compute the F-score using the range-based recall and precision metrics. |
|
Compute the ROC AUC score. |
|
Compute the precision-recall AUC score. |
|
Compute the AUC-score of the range-based precision-recall curve. |
|
Compute the F-score at k based on single points. |
|
Compute the range-based F-score at k based on anomaly ranges. |
|
Compute the range-based PR and ROC AUC. |
|
Compute the range-based area under the ROC curve. |
|
Compute the area under the range-based PR curve. |
|
Compute the range-based PR VUS score. |
|
Compute the range-based ROC VUS score. |
Anomaly detection thresholding¶
|
Calculate a threshold based on a percentile of the anomaly scores. |
|
Calculate a threshold based on the standard deviation of the anomaly scores. |
|
Calculate a threshold such that at least k anomalous points are found. |
|
Calculate a threshold such that at least k anomalies are found. |
Clustering¶
|
Calculate clustering accuracy. |
Segmentation¶
|
Error counting the difference in the number of change points. |
|
Compute the Hausdorff distance between two sets of change points. |
|
Prediction ratio is the ratio of number of predicted to true change points. |
Stats¶
|
Check whether Friedman test is significant. |
|
Find cliques using post hoc Nemenyi test. |
|
Perform Wilcoxon test. |