Skip to content

StandardScaler documentation details missing #12438

Closed

Description

@robert-dodier

Hi, I'm reading: http://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.StandardScaler.html

(1) It says "Standardize features by removing the mean and scaling to unit variance" but a formula should be stated to make it explicit. Not everyone will understand what it means to say "removing the mean and scaling to unit variance".

(2) The documentation for scale_ doesn't say how it is defined. The documentation should say how it is defined.

The documentation for the var_ says "Used to compute scale_" but it doesn't say how.

I gather from looking at examples that scale_ = sqrt(var_) but the documentation should say that explicitly, preferably under the heading for scale_.

Activity

  1. qinhanmin2014 commented on Oct 23, 2018

    @qinhanmin2014
    Member

    PRs to improve the doc are always welcomed.

  2. added
    Easy
    good first issue
    on Oct 23, 2018
  3. added a commit that references this issue on Oct 23, 2018
    4bbbc72
  4. tuliocasagrande commented on Oct 23, 2018

    @tuliocasagrande
    Contributor

    Hello @qinhanmin2014, I've created #12446 addressing these issues.
    Please let me know if I can help with something else.
    Thanks!

  5. added a commit that references this issue on Oct 25, 2018
    5c1e357
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationEasygood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions