Skip to content
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

validator accepts predict_oof as argument #49

Merged
merged 7 commits into from
Apr 30, 2019

Conversation

pvcrossi
Copy link
Contributor

Status

READY

Background context

validator was the only function in validator.py to not get predict_oof as an argument, even though it was already listed as an argument in the function's docstring.

Description of the changes proposed in the pull request

This PR adds predict_oof as an optional arg to the function header and passes it as an argument to validator_iterator inside the function body.

`validator` was the only function in `validator.py` to not get `predict_oof` as an argument, even though it was already listed as an argument in the function's docstring.

This PR adds `predict_oof` as an optional arg to the function header and passes it as an argument to `validator_iterator` inside the function body.
@pvcrossi pvcrossi added the enhancement New feature or request label Apr 25, 2019
@codecov-io
Copy link

codecov-io commented Apr 25, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@29c0af5). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #49   +/-   ##
=========================================
  Coverage          ?   94.49%           
=========================================
  Files             ?       25           
  Lines             ?     1434           
  Branches          ?      192           
=========================================
  Hits              ?     1355           
  Misses            ?       48           
  Partials          ?       31
Impacted Files Coverage Δ
src/fklearn/validation/validator.py 94.28% <100%> (ø)

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 29c0af5...e5bcce5. Read the comment docs.

hf-lopes
hf-lopes previously approved these changes Apr 25, 2019
Copy link
Contributor

@hf-lopes hf-lopes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, bump version and update changelog

@pvcrossi
Copy link
Contributor Author

LGTM, bump version and update changelog

Done

@caique-lima caique-lima added this to the 1.14.x milestone Apr 25, 2019
caique-lima
caique-lima previously approved these changes Apr 30, 2019
@caique-lima caique-lima added the ready-to-merge Code already pass all tests and have 2 reviews label Apr 30, 2019
@caique-lima caique-lima dismissed stale reviews from hf-lopes and themself via 78f2cbc April 30, 2019 20:05
@caique-lima caique-lima removed the ready-to-merge Code already pass all tests and have 2 reviews label Apr 30, 2019
@caique-lima caique-lima added the ready-to-merge Code already pass all tests and have 2 reviews label Apr 30, 2019
@caique-lima caique-lima merged commit 150bcac into master Apr 30, 2019
@caique-lima caique-lima deleted the fix-validator-arguments branch April 30, 2019 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ready-to-merge Code already pass all tests and have 2 reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants