cuvis_ai.node.base.Preprocessor

class cuvis_ai.node.base.Preprocessor[source]

Bases: ABC, CubeConsumer

Abstract class for data preprocessing.

__init__()

Methods

__init__()

fit(X)

Fit the preprocessor to the data.

forward(X)

abstract fit(X)[source]

Fit the preprocessor to the data.

Parameters:

X (array-like) – Input data.

Return type:

self

abstract forward(X)[source]