Skip to content

ndarray-normalize with sample statistics #30

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

Open
bldrvnlw opened this issue Nov 8, 2018 · 0 comments
Open

ndarray-normalize with sample statistics #30

bldrvnlw opened this issue Nov 8, 2018 · 0 comments

Comments

@bldrvnlw
Copy link

bldrvnlw commented Nov 8, 2018

Since I needed a different version of normalization I've copied, modified and renamed ndarray-normalize to ndarray-sample-normalize. This performs the normalization with the sample statistics, i.e. the n-1 calculation for the standard deviation.

See Wikipedia Standard Deviation. See also the matlab zscore function which has a flag 0 - for sample standard deviation and 1 - for population standard deviation.

The repository is at https://github.com/bldrvnlw/ndarray-sample-normalize including an operational test. Would people be intrested in having this in scijs?

An alternative might be to add a flag to the original ndarray-normalize instead.

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

1 participant