dssg / tyra

Prediction model evaluation
Other
4 stars 1 forks source link

Auto bins #67

Closed tweddielin closed 7 years ago

tweddielin commented 7 years ago

Use numpy.histogram()'s functionality in get_feature_dist_test, get_feature_dist_train and get_response_dist that can auto determine the number of bins by considering maximum of the ‘sturges’ and Freedman Diaconis estimators.

codecov-io commented 7 years ago

Codecov Report

Merging #67 into master will decrease coverage by 0.07%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #67      +/-   ##
==========================================
- Coverage   71.77%   71.69%   -0.08%     
==========================================
  Files           4        4              
  Lines         372      371       -1     
==========================================
- Hits          267      266       -1     
  Misses        105      105
Impacted Files Coverage Δ
webapp/controller.py 64.1% <100%> (-0.16%) :arrow_down:

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 55ce6a4...a6826ae. Read the comment docs.