2D Random Point Clouds
Ver. 1.0.1 (2023-05-02)
This module provides the native stream class StreamMLProStaticClouds2D. This stream provides 1000 instances with 2-dimensional random feature data placed around four fixed center points.
- class mlpro.bf.streams.streams.clouds2d_static.StreamMLProStaticClouds2D(p_logging=True, **p_kwargs)
Bases:
StreamMLProBase
This demo stream provides 1000 2-dimensional instances randomly positioned around four fixed centers.
- C_ID = 'StaticClouds2D'
- C_NAME = 'Static Clouds 2D'
- C_VERSION = '1.0.0'
- C_NUM_INSTANCES = 1000
- C_SCIREF_ABSTRACT = 'Demo stream provides 1000 2-dimensional instances randomly positioned around four fixed centers.'
- C_BOUNDARIES = [-10, 10]
- _setup_feature_space() MSpace
Custom method to set up the feature space of the stream. It is called by method get_feature_space().
- Returns:
feature_space – Feature space of the stream.
- Return type:
- _init_dataset()
Custom method to generate stream data as a numpy array named self._dataset.
- set_random_seed(p_seed=None)
Resets the internal random generator using the given seed.