Object and estimator tags#
Every first-class object in sktime
is tagged with a set of tags that describe its properties and capabilities,
or control its behavior.
Tags are key-value pairs, where the key is a string with the name of the tag. The value of the tag can have arbitrary type, and describes a property, capability, or controls behaviour of the object, depending on the value.
For instance, a forecaster may have the tag capability:pred_int: True
if it can
make probabilistic predictions.
Users can find all forecasters that can make probabilistic predictions by filtering
for this tag.
This API reference lists all tags available in sktime
, and key utilities
for their usage.
Inspecting tags, retrieving by tags#
to get the tags of an object, use the
get_tags
method. An object’s tags can depend on its hyper-parameters.to get the tags of a class, use the
get_tags
method of the class. A class’s tags are static and do not depend on its hyper-parameters. By default, class tags that may vary for instances take the most “capable” value, in the case of capabilities.to programmatically retrieve all tags available in
sktime
or for a particular type of object, at runtime, use theregistry.all_tags
utilityto programmatically retrieve all objects or estimators in
sktime
, filtered for values of tags, use theregistry.all_estimators
utility
|
List all tags in sktime, for objects of a certain type. |
|
List all estimators or objects in sktime, by scitype or tag. |
General tags, packaging#
This section lists tags that are general and apply to all objects in sktime
.
These tags are typically used for typing, packaging and documentation purposes.
Scientific type of the object. |
|
Current maintainers of the object, GitHub IDs. |
|
Authors of the object, GitHub IDs. |
|
Python version requirement specifier for the object (PEP 440). |
|
Python package dependency requirement specifiers for the object (PEP 440). |
|
Alias for Python package dependency names for the object. |
|
Environment marker requirement for the object (PEP 508). |
|
Whether the object requires a C compiler present, such as libomp, gcc. |
Forecaster tags#
This section lists tags applying to forecasters. These tags are used to describe capabilities, properties, and behavior of forecasters.
The list also includes some developer facing tags that are used to control internal behavior of the forecaster.
Capability: the forecaster can use exogeneous data. |
|
Capability: the forecaster can make in-sample predictions. |
|
Capability: the forecaster can make probabilistic or interval forecasts. |
|
Capability: the forecaster can make in-sample probabilistic forecasts. |
|
Capability: the estimator can handle missing data, e.g,, NaNs. |
Tags for classifiers, regressors, clustering#
Capability: the estimator can handle multivariate time series. |
|
Capability: the estimator can handle missing data, e.g,, NaNs. |
|
Capability: the estimator can handle unequal length time series. |
|
Capability: the estimator can provide feature importance. |
|
Capability: the estimator can be asked to satisfy a maximum time contract. |
|
Capability: the algorithm can estimate its performance on the training set. |