Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bug in StandardScaler #12901

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

Closed
atolpin opened this issue Jan 2, 2019 · 3 comments
Closed

Bug in StandardScaler #12901

atolpin opened this issue Jan 2, 2019 · 3 comments

Comments

@atolpin
Copy link

atolpin commented Jan 2, 2019

You guys seem to be using np.std(x) to scale each column instead of np.std(x, ddof=1). As a result your std estimate is biased. Note that similar function in R, base::scale uses unbiased std estimate.

@jnothman
Copy link
Member

jnothman commented Jan 2, 2019

Duplicate of #7757, FWIW.

@atolpin
Copy link
Author

atolpin commented Jan 2, 2019 via email

@qinhanmin2014
Copy link
Member

Let's discuss in #7757

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants