drift#
Simulate concept drift in datastreams.
Classes#
An instantaneous change of concept at |
|
A concept and the number of instances it contributes to the stream. |
|
Represents a concept drift in a DriftStream. |
|
A stream composed of concepts separated by drifts. |
|
A drift where two concepts overlap over a window of instances. |
|
An iterator that cycles through an iterable, returning tuples of (index, item). |
|
Module Attributes#
- capymoa.stream.drift.TRANSITION_FUNCTIONS = {'linear': <function <lambda>>, 'sigmoid': <function <lambda>>}#
Named transition ramps. Each maps progress through the drift window,
0.0at the start and1.0at the end, to the probability that an instance is drawn from the new concept.