-
Notifications
You must be signed in to change notification settings - Fork 204
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
Implement Statistics.varm/stdm instead of Statistics._var #583
Conversation
Thanks!
Maybe add a test for those functions? |
Manifest.toml
Outdated
@@ -111,7 +111,7 @@ deps = ["Libdl"] | |||
uuid = "deac9b47-8bc7-5906-a0fe-35ac56dc84c0" | |||
|
|||
[[LibGit2]] | |||
deps = ["NetworkOptions", "Printf"] | |||
deps = ["Base64", "NetworkOptions", "Printf", "SHA"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I take it this change is not required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. I'll change it back.
Thanks for your review! I am currently testing the StatsBase GPU functionalty in the StatsBase test suite. In fact I had tests for these functions in a previous commit for this PR. I removed them to reduce the number of test dependencies for CUDA.jl, and also because That said, I am happy to reintroduce them if you think it is better! |
Ah OK, I misread |
Codecov Report
@@ Coverage Diff @@
## master #583 +/- ##
=======================================
Coverage 79.94% 79.94%
=======================================
Files 116 116
Lines 6870 6870
=======================================
Hits 5492 5492
Misses 1378 1378
Continue to review full report at Codecov.
|
This enables using
StatsBase.mean_and_std
/StatsBase.mean_and_std
and consequently alsoZScoreTransform
.See also JuliaStats/StatsBase.jl#622