Data class

class Data(self, algorithm: str, transformer: <built-in function any>)

Data preprocessing parent class {abstract} - parent class object

Parameters

algorithmstr

name of the used algorithm

transformertransformer instance

transformer instance (e.g. StandardScaler)

Attributes

algorithmstr

name of the used algorithm

transformertransformer instance

transformer instance (e.g. StandardScaler)

Methods

Method

Description

_changed_parameters

Returns

get_params

Function to get the parameter from the transformer instance

params

Function to get the possible/recommended parameter values for the class

set_params

Function to set the parameter of the transformer instance

Data._changed_parameters()

Returns

dictionary of model parameter that are different from default values

Data.get_params(deep: bool = True) dict

Function to get the parameter from the transformer instance

Parameters

deepbool, default=True

If True, will return the parameters for this estimator and contained sub-objects that are estimators

Returns

params: dict

parameter names mapped to their values

abstract static Data.params() dict

Function to get the possible/recommended parameter values for the class

Returns

paramdict

possible/recommended values for the parameters

Data.set_params(**params)

Function to set the parameter of the transformer instance

Parameters

**paramsdict

Estimator parameters

Returns

selfestimator instance

Estimator instance