PipelineElement#
- class capymoa.stream.preprocessing.PipelineElement[source]#
Bases:
ProtocolThe basic pipeline building block
- get_input_schema() Schema | None[source]#
Return the schema of instances this element expects to receive.
Defaults to
get_schema(), which is correct for every element that does not alter the attribute set.
- get_schema() Schema | None[source]#
Return the schema of instances leaving this element.
Returns
Nonewhen the element neither knows nor alters the schema – a drift detector, for instance. The default isNoneso that existingPipelineElementimplementations keep working unchanged.