8000 [MRG+1] Updated _std docstring in StandardScaler to make internal handling of zero values explicit. by joshloyal · Pull Request #4796 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

[MRG+1] Updated _std docstring in StandardScaler to make internal handling of zero values explicit. #4796

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 10, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
8000
Diff view
Diff view
3 changes: 2 additions & 1 deletion sklearn/preprocessing/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,8 @@ class StandardScaler(BaseEstimator, TransformerMixin):
The mean value for each feature in the training set.

std_ : array of floats with shape [n_features]
The standard deviation for each feature in the training set.
The standard deviation for each feature in the training set.
Set to one if the standard deviation is zero for a given feature.

See also
--------
Expand Down
0