API¶
This page contains the auto-generated API documentation for tsml-eval
package
functions and classes.
Estimators: tsml_eval.estimators¶
Wrappers and misc estimators for use with tsml-eval
.
Wrapper for sklearn estimators to use the tsml base class. |
|
Wrapper for sklearn estimators to use the tsml base class. |
|
Wrapper for sklearn estimators to use the tsml base class. |
|
HIVE-COTE from file. |
|
|
IVC (Iterative Voting Clustering) Consensus Clusterer. |
|
IVC (Iterative Voting Clustering) Consensus Clusterer. |
SimpleVote clustering ensemble. |
|
SimpleVote clustering ensemble. |
Evaluation: tsml_eval.evaluation¶
Functions for evaluating the performance of a model.
|
Evaluate multiple classifiers on multiple datasets. |
Evaluate multiple classifiers on multiple datasets from file. |
|
Evaluate multiple classifiers on multiple datasets from file using standard paths. |
|
|
Evaluate multiple clusterers on multiple datasets. |
Evaluate multiple clusterers on multiple datasets from file. |
|
Evaluate multiple clusterers on multiple datasets from file using standard paths. |
|
|
Evaluate multiple regressors on multiple datasets. |
Evaluate multiple regressors on multiple datasets from file. |
|
Evaluate multiple regressors on multiple datasets from file using standard paths. |
|
A class for storing and managing results from classification experiments. |
|
A class for storing and managing results from clustering experiments. |
|
A class for storing and managing results from regression experiments. |
|
Load and return classifier results from a specified file. |
|
Load and return clusterer results from a specified file. |
|
Load and return regressor results from a specified file. |
Experiments: tsml_eval.experiments¶
Functions for running experiments.
Run a classification experiment and save the results to file. |
|
Load a dataset and run a classification experiment. |
|
|
Run a clustering experiment and save the results to file. |
Load a dataset and run a clustering experiment. |
|
|
Run a regression experiment and save the results to file. |
Load a dataset and run a regression experiment. |
|
|
Return a classifier matching a given input name. |
|
Return a clusterer matching a given input name. |
|
Return a regressor matching a given input name. |
|
Return the time taken to run estimator functions for randomly generated data. |
Run a classification experiment using cross-validation. |
|
Get the folds for a classification cross-validation experiment. |
|
Run a regression experiment using cross-validation. |
|
Get the folds for a regression cross-validation experiment. |
Utilities: tsml_eval.utils¶
Public utility functions used elsewhere in the package.
Parse the command line arguments for tsml_eval. |
|
Load data for experiments. |
|
Copy the TRAIN and TEST .ts files of the datasets to the destination path. |
|
Merge the TRAIN and TEST .ts files of a dataset and save the merged file. |
|
Check if estimator is a scikit-learn estimator. |
|
Check if estimator is a scikit-learn classifier. |
|
Check if estimator is a scikit-learn regressor. |
|
Check if estimator is a scikit-learn clusterer. |
|
|
Assign a GPU to the current process. |
Measures the time taken to sort a given number of numpy arrays of a specified size. |
|
Write the attributes of an estimator to file(s). |
|
Find an item in a nested list. |
|
Convert a 2d list of pairs to a dict. |
|
Convert a time value from the given time unit to milliseconds. |
|
|
Assign a rank to each value in a 1D numpy array. |
|
Record the maximum memory usage of a function. |
|
Extract the CSV files from the evaluation directory to a new directory. |
|
Create a table of estimator names and their parameters. |
|
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. |
|
Load and return estimator results from a specified file. |
|
Convert a list of EstimatorResults objects to a dictionary of metrics. |
|
Load and convert EstimatorResults objects to a dictionary of metrics. |
|
Convert a list of EstimatorResults objects to an array of metrics. |
|
Load and convert EstimatorResults objects to an array of metrics. |
|
Fix a results while where the written second line has line breaks. |
|
Validate that a results file is in the correct format. |
|
Validate that two results files use the same data resample. |
|
Write the predictions for a classification experiment in the format used by tsml. |
|
Write the predictions for a regression experiment in the format used by tsml. |
|
Write the predictions for a clustering experiment in the format used by tsml. |
|
Write the predictions for an experiment in the standard format used by tsml. |