10D Random Instances

Ver. 1.0.0 (2022-12-13)

This module provides the native stream class StreamMLProRnd10D. This stream provides 1000 instances with 10-dimensional random feature data and 2-dimensional random label data.

class mlpro.bf.streams.streams.rnd10d.StreamMLProRnd10D(p_logging=True)

Bases: StreamMLProBase

Demo stream consisting of 1000 instances with 10-dimensional random feature data and 2-dimensional label data. All values are in range defined by attribute C_BOUNDARIES.

C_NUM_INSTANCES = 1000

Number of instances.

C_BOUNDARIES    = [-10,10]

Boundaries for all random values.

C_ID = 'Rnd10Dx1000'
C_NAME = 'Random 10D x 1000'
C_VERSION = '1.0.0'
C_NUM_INSTANCES = 1000
C_SCIREF_ABSTRACT = 'Demo stream of 1000 instances with 10-dimensional random feature data and 2-dimensional label data.'
C_BOUNDARIES = [-10, 10]
set_random_seed(p_seed=None)

Resets the internal random generator using the given seed.