Utility functions
Utility functions
sktime has a number of modules dedicated to utilities:
sktime.datatypes, which contains utilities for data format checks and conversion.sktime.pipeline, which contains generics for pipeline construction.sktime.registry, which contains utilities for estimator and tag search, as well as serialization of estimator blueprints as strings.sktime.utils, which contains generic utility functions.
Data Format Checking and Conversion
Module exports: data type definitions, checks, validation, fixtures, converters.
|
Convert object to a different machine representation, subject to scitype. |
|
Convert objects between different machine representations, subject to scitype. |
|
Check object for compliance with mtype specification, raise errors. |
|
Check object for compliance with mtype specification, return metadata. |
|
Check object for compliance with scitype specification, return metadata. |
|
Infer the mtype of an object considered as a specific scitype. |
|
Infer the scitype of an object. |
|
Infer scitype belonging to mtype. |
|
Return list of all mtypes belonging to scitype. |
Pipeline construction generics
Pipeline maker utility.
|
Create a pipeline from estimators of any type. |
|
Coerces an sklearn estimator to the sktime pipeline interface. |
Estimator Search and Retrieval, Estimator Tags
Registry for sktime estimator base classes, tags, global aliases.
|
List all estimators or objects in sktime, by scitype or tag. |
|
List all tags in sktime, for objects of a certain type. |
|
Check validity of a tag value. |
Estimator Blueprint Serialization
Registry for sktime estimator base classes, tags, global aliases.
|
Instantiate an object from the specification string. |
|
Get PEP 440 dependency requirements for a craft spec. |
|
Get import code block for a craft spec. |
Plotting
Common timeseries plotting functionality.
|
Plot one or more time series. |
|
Plot one or more lagged versions of a time series. |
|
Plot series and its ACF and PACF values. |
|
Plot training and test windows. |
|
Plot prediction intervals on an existing matplotlib axes. |
|
Plot the calibration curve for a sample of quantile predictions. |
Estimator Validity Checking
Estimator checker for extension.
|
Run all tests on one single estimator. |

