Finish up ROCAUC
See original GitHub issueROCAUC needs a few things to be finalized:
- decision function bug (binary classifier)
- documentation
- add to gallery
- simplify example in docstring and switch to YB data instead of
sklearn.datasets
- add
multiclass
andbinary
fixtures from conftest.py (see ClassificationReport - remove
X
,yb
, andym
prefering to use above fixtures - remove
load_binary_data
andload_multiclass_data
to use above fixtures
Note the bug is as follows:
======================================================================
ERROR: Test ROCAUC with a binary classifier
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/benjamin/Repos/ddl/yellowbrick/tests/test_classifier/test_rocauc.py", line 110, in test_binary_rocauc
s = visualizer.score(X_test, y_test)
File "/Users/benjamin/Repos/ddl/yellowbrick/yellowbrick/classifier/rocauc.py", line 171, in score
self.fpr[i], self.tpr[i], _ = roc_curve(y, y_pred[:,i], pos_label=c)
IndexError: too many indices for array
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
ROC and AUC, Clearly Explained! - YouTube
ROC (Receiver Operator Characteristic) graphs and AUC (the area under the curve ), are useful for consolidating the information from a ton of ......
Read more >Understanding the ROC curve in three visual steps
In this blog, I want to explain how the ROC curve is constructed from scratch in three visual steps. Step 1: Getting classification...
Read more >A Layman's guide to ROC Curves And AUC - MLWhiz
Unfortunately, many data scientists often just end up seeing the ROC curves and then quoting an AUC (short for the area under the...
Read more >AUC-ROC Curve in Machine Learning Clearly Explained
Learn about the AUC-ROC curve evaluation metric for binary and multi-class classification problems with practical examples!
Read more >AUC ROC Curve in Practice with Model Problem Example
AUC ROC stands for the area under a receiver operating characteristic. The area under the ROC curve is one of the most popular...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looks like setting the
random_state
forLinearSVC
andRandomForestClassifier
did the trick!Closed with #540