Skip to content

Add R2 score function #253

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

Merged
merged 1 commit into from
Aug 22, 2018
Merged

Conversation

natsukium
Copy link
Collaborator

Implement R2 score function to evaluate PDBbind dataset

@codecov-io
Copy link

Codecov Report

Merging #253 into master will decrease coverage by 6.55%.
The diff coverage is 89.49%.

@@            Coverage Diff             @@
##           master     #253      +/-   ##
==========================================
- Coverage   88.77%   82.22%   -6.56%     
==========================================
  Files         108      112       +4     
  Lines        5246     5484     +238     
==========================================
- Hits         4657     4509     -148     
- Misses        589      975     +386

Copy link
Member

@mottodora mottodora left a comment

Choose a reason for hiding this comment

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

LGTM!

@mottodora mottodora merged commit 98e2089 into chainer:master Aug 22, 2018
class R2ScoreEvaluator(BatchEvaluator):

"""Evaluator with calculates R^2 (coefficient of determination)
regression score.
Copy link
Member

Choose a reason for hiding this comment

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

memo: apply pep8

ignore_labels (int or list or None): labels to be ignored.
`None` is used to not ignore all labels.
raise_value_error (bool): If `False`, `ValueError` caused by
`roc_auc_score` calculation is suppressed and ignored with a
Copy link
Member

Choose a reason for hiding this comment

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

memo: change this docstring

@natsukium natsukium deleted the add-r2-score-evaluator branch October 3, 2018 04:28
@corochann corochann added this to the 0.5.0 milestone Feb 7, 2019
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.

4 participants