River

Ver. 1.4.1 (2022-12-09)

This module provides wrapper functionalities to incorporate public data sets of the River ecosystem.

Learn more: https://www.riverml.xyz/

class mlpro.wrappers.river.WrStreamProviderRiver(p_logging=True)

Bases: Wrapper, StreamProvider

Wrapper class for River as StreamProvider.

Parameters:

p_logging – Log level of stream objects (see constants of class Log). Default: Log.C_LOG_ALL.

C_NAME = 'River'
C_WRAPPED_PACKAGE = 'river'
C_SCIREF_TYPE = 'Online'
C_SCIREF_AUTHOR = 'River'
C_SCIREF_URL = 'riverml.xyz'
class mlpro.wrappers.river.WrStreamRiver(p_id=0, p_name: str = '', p_num_instances: int = 0, p_version: str = '', p_feature_space: MSpace | None = None, p_label_space: MSpace | None = None, p_mode=0, p_logging=True, **p_kwargs)

Bases: Stream

Wrapper class for Streams from River.

Parameters:
  • p_id – Optional id of the stream. Default = 0.

  • p_name (str) – Optional name of the stream. Default = ‘’.

  • p_num_instances (int) – Optional number of instances in the stream. Default = 0.

  • p_version (str) – Optional version of the stream. Default = ‘’.

  • p_feature_space (MSpace) – Optional feature space. Default = None.

  • p_label_space (MSpace) – Optional label space. Default = None.

  • p_mode – Operation mode. Default: Mode.C_MODE_SIM.

  • p_logging – Log level (see constants of class Log). Default: Log.C_LOG_ALL.

  • p_kwargs (dict) – Further stream specific parameters.

C_NAME = 'River stream'
C_SCIREF_TYPE = 'Online'

Cross References