DatAnalyzer.pipeline.transformers module

class DatAnalyzer.pipeline.transformers.SmoothData(smooth_type)[source]

Bases: StandardScaler, MinMaxScaler, PolynomialFeatures

This class is used to smooth the data using different methods

fit(X, y=None)[source]

Fit the data

Parameters:
  • X (numpy.ndarray) – Data to fit

  • y (numpy.ndarray) – Target

Returns:

self

Return type:

SmoothData

transform(X)[source]

Transform the data

Parameters:

X (numpy.ndarray) – Data to transform

Returns:

Transformed data

Return type:

numpy.ndarray

type_of_preprocess()[source]

Return the type of preprocessing

Returns:

Type of preprocessing

Return type:

str