pa-m / sklearn

bits of sklearn ported to Go #golang
MIT License
345 stars 38 forks source link

Robustscaler #1

Closed gcla closed 6 years ago

gcla commented 6 years ago

Hi - this is an attempt at a port of the python sklearn's RobustScaler class:

http://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.RobustScaler.html

I added some test cases too, though I would not call them comprehensive, by any means. Would you be interested in adding this to golang sklearn?

I am relatively new to golang and will humbly accept your critique :-)

Graham

codecov-io commented 6 years ago

Codecov Report

Merging #1 into master will increase coverage by 0.83%. The diff coverage is 93.84%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #1      +/-   ##
==========================================
+ Coverage   61.28%   62.12%   +0.83%     
==========================================
  Files          23       23              
  Lines        2472     2537      +65     
==========================================
+ Hits         1515     1576      +61     
- Misses        872      874       +2     
- Partials       85       87       +2
Impacted Files Coverage Δ
preprocessing/data.go 73.52% <93.84%> (+4.07%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4751ce7...3b731d5. Read the comment docs.