mokapot icon indicating copy to clipboard operation
mokapot copied to clipboard

Supervised learning step

Open surya-money opened this issue 2 years ago • 1 comments

Added supervised step in model.py in fit() method before direction is chosen and made corresponding init changes to Model and PercolatorModel class and brew() method in brew.py. Also made necessary changes in _find_hyperparameters() method to properly utilize the supervised step added in fit(). Other minor changes in model.py include: changing estimator's refit parameter to true, fixing logger info in _get_starting_labels(), etc...

surya-money avatar Jun 24 '22 17:06 surya-money

Codecov Report

Merging #57 (a564c67) into master (91e6f96) will increase coverage by 0.53%. The diff coverage is 95.45%.

@@            Coverage Diff             @@
##           master      #57      +/-   ##
==========================================
+ Coverage   83.09%   83.63%   +0.53%     
==========================================
  Files          18       18              
  Lines        1538     1570      +32     
==========================================
+ Hits         1278     1313      +35     
+ Misses        260      257       -3     
Impacted Files Coverage Δ
mokapot/model.py 86.57% <95.45%> (+2.73%) :arrow_up:
mokapot/config.py 91.30% <0.00%> (+0.19%) :arrow_up:
mokapot/mokapot.py 85.36% <0.00%> (+0.36%) :arrow_up:
mokapot/brew.py 89.42% <0.00%> (+1.25%) :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 91e6f96...a564c67. Read the comment docs.

codecov-commenter avatar Jun 24 '22 19:06 codecov-commenter