Scaling Data
Scaling Data
All features are scaled by MinMaxScaler(), documentation from the scikit-learn library can be found here
Bases: BaseEstimator, TransformerMixin
Parameters
None
Return
X: (np.array) MinMaxScaler() applied data for all columns
Source code in scripts/ml_preprocessing_steps.py
transform(X, y=None)
Scaling with MinMaxScaler to (-1,1) range
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
X
|
array
|
data array |
required |
y
|
None
|
Defaults to None |
None
|
Returns:
| Type | Description |
|---|---|
array
|
data with scaled training features |