#include <Scaler.h>
◆ MinMaxScaler()
MinMaxScaler::MinMaxScaler |
( |
double |
range_min_val = 0. , |
|
|
double |
range_max_val = 1.0 |
|
) |
| |
|
inline |
◆ fit()
void MinMaxScaler::fit |
( |
const Matrix< double > & |
X, |
|
|
const Matrix< double > & |
y |
|
) |
| |
|
inlineoverridevirtual |
Implements training algorithm
- Parameters
-
X | array-like with the shape: [n_samples, n_features] |
y | array-like with shape: [n_samples, 1] |
- Returns
- this
Implements Predictor.
◆ transform()
Matrix< double > MinMaxScaler::transform |
( |
const Matrix< double > & |
in | ) |
|
|
inlineoverridevirtual |
◆ max_val
double MinMaxScaler::max_val |
|
private |
◆ min_val
double MinMaxScaler::min_val |
|
private |
The documentation for this class was generated from the following file: