streamsight.registries
Registry
Registry for algorithms, metrics and datasets. These registries are used to store the algorithms, metrics and datasets that are used in the experiments. The registries aid the programmer to keep track of valid classes and to easily instantiate them.
Contains the streamsight algorithms by default, and allows registration of new algorithms via the register function.
Example:
from streamsight.pipelines import ALGORITHM_REGISTRY
from streamsight.algorithms import ItemKNNStatic
algo = ALGORITHM_REGISTRY.get('ItemKNNStatic')(K=10)
ALGORITHM_REGISTRY.register('algo_1', ItemKNNStatic)
Registry for easy retrieval of algorithm types by name. |
|
Registry for easy retrieval of dataset types by name. |
|
Registry for easy retrieval of metric types by name. |
|
Registry for easy retrieval of algorithm types by name. |
|
Registry for easy retrieval of dataset types by name. |
|
Registry for easy retrieval of metric types by name. |
Entries
Entries for algorithms and metrics. These entries are used to store the algorithms
and metrics in the registries. The entries are used to store the class and the
parameters that are used to instantiate the class. These entires will be used
in EvaluatorPipeline
to instantiate the algorithms and metrics.
|
Entry for the algorithm registry. |
|
Entry for the metric registry. |
Status Registry
Registry for algorithm status. This registry is used to store the status of the algorithms. The status of the algorithms are stored in the registry and can be accessed by the user. The status of the algorithms are used to keep track of the state of the algorithms.
|
Enum for the state of the algorithm |
|
Entry for the algorithm status registry |
Registry for algorithm status. |