streamsight.registries.AlgorithmEntry

class streamsight.registries.AlgorithmEntry(name: str, params: Dict[str, Any] | None = None)

Bases: NamedTuple

Entry for the algorithm registry.

The intended use of this class is to store the name of the algorithm and the parameters that the algorithm should take. Mainly this will happen during the building phase of the evaluator pipeline in Builder.

Parameters:
  • name (str) – Name of the algorithm

  • params (Dict[str, Any], optional) – Parameters that do not require optimization as key-value pairs, where the key is the name of the hyperparameter and value is the value it should take.

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

name

Alias for field number 0

params

Alias for field number 1

_asdict()

Return a new dict which maps field names to their values.

_field_defaults = {'params': None}
_fields = ('name', 'params')
classmethod _make(iterable)

Make a new AlgorithmEntry object from a sequence or iterable

_replace(**kwds)

Return a new AlgorithmEntry object replacing specified fields with new values

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

name: str

Alias for field number 0

params: Dict[str, Any] | None

Alias for field number 1