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

Error calculating roc_auc #227

Closed
nanounanue opened this issue Sep 20, 2017 · 2 comments
Closed

Error calculating roc_auc #227

nanounanue opened this issue Sep 20, 2017 · 2 comments
Assignees

Comments

@nanounanue
Copy link
Contributor


15:50:12
WARNING:root:1year

15:50:15
ERROR:root:Child error: Traceback (most recent call last):

15:50:15
File "/usr/local/lib/python3.6/site-packages/triage/experiments/multicore.py", line 276, in test_and_evaluate

15:50:15
example_frequency=split_def['example_frequency']

15:50:15
File "/usr/local/lib/python3.6/site-packages/catwalk/evaluation.py", line 225, in evaluate

15:50:15
labels_sorted.tolist(),

15:50:15
File "/usr/local/lib/python3.6/site-packages/catwalk/evaluation.py", line 145, in _generate_evaluations

15:50:15
parameter_combination

15:50:15
File "/usr/local/lib/python3.6/site-packages/catwalk/metrics.py", line 46, in __call__

15:50:15
return self.function(*params, **kwparams)

15:50:15
File "/usr/local/lib/python3.6/site-packages/catwalk/metrics.py", line 79, in roc_auc

15:50:15
return metrics.roc_auc_score(labels, predictions_proba)

15:50:15
File "/usr/local/lib/python3.6/site-packages/sklearn/metrics/ranking.py", line 260, in roc_auc_score

15:50:15
sample_weight=sample_weight)

15:50:15
File "/usr/local/lib/python3.6/site-packages/sklearn/metrics/base.py", line 81, in _average_binary_score

15:50:15
raise ValueError("{0} format is not supported".format(y_type))

15:50:15
ValueError: continuous format is not supported
@nanounanue nanounanue added the bug label Sep 20, 2017
@thcrock
Copy link
Contributor

thcrock commented Jan 19, 2018

I believe this is also covered by dssg/catwalk#30 which has to be reopened in this repo.

@thcrock thcrock removed the bug label Feb 1, 2018
@thcrock thcrock self-assigned this Dec 6, 2018
@thcrock
Copy link
Contributor

thcrock commented Dec 7, 2018

Fixed in #373

@thcrock thcrock closed this as completed Dec 7, 2018
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

No branches or pull requests

2 participants