StandardScalerWithDOF
sknnr.transformers.StandardScalerWithDOF ¶
Bases: StandardScaler
Subclass of StandardScaler that allows specification of degrees of freedom
used when calculating standard deviation for scaling.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ddof
|
int
|
Degrees of freedom used when calculating standard deviation.
The divisor used in calculations is |
0
|
Attributes:
| Name | Type | Description |
|---|---|---|
scale_ |
ndarray of shape (n_features,)
|
Per feature relative scaling of the data to achieve zero mean and unit variance with the specified degrees of freedom. |
mean_ |
ndarray of shape (n_features,)
|
The mean value for each feature in the training set. |
var_ |
ndarray of shape (n_features,)
|
The variance for each feature in the training set. |
n_features_in_ |
int
|
Number of features seen during |
n_samples_seen_ |
int
|
The number of samples processed by the estimator for each feature. |