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

Use keyword arguments for calls to sklearn.metrics functions #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeremycz
Copy link

Use keyword arguments for the following function calls/arguments:

  • metrics.fbeta_score - beta
  • metrics.classification_report - labels

Passing these as positional arguments will cause an error from sklearn 0.25.

Scikit-learn enhancement proposal SLEP009

…ication_report as these will be deprecated from sklearn 0.25
@codecov-commenter
Copy link

codecov-commenter commented May 20, 2020

Codecov Report

Merging #51 into master will not change coverage.
The diff coverage is 50.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #51   +/-   ##
=======================================
  Coverage   92.60%   92.60%           
=======================================
  Files           8        8           
  Lines         257      257           
  Branches       37       37           
=======================================
  Hits          238      238           
  Misses         15       15           
  Partials        4        4           
Impacted Files Coverage Δ
sklearn_crfsuite/metrics.py 94.11% <50.00%> (ø)

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 293a2d0...8027bf3. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants