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

ROC-AUC calculation #425

Open
aybarsnazlica opened this issue Mar 28, 2023 · 1 comment
Open

ROC-AUC calculation #425

aybarsnazlica opened this issue Mar 28, 2023 · 1 comment

Comments

@aybarsnazlica
Copy link

aybarsnazlica commented Mar 28, 2023

According to scikit-learn documentation roc_auc_score function takes target probability scores from estimator.predict_proba(X, y)[:, 1]. However, in Supervised.py roc_auc_score takes binary predictions. This changes the output from roc_auc_score. Is there a specific reason for this, or is it a bug?

In Supervised.py
y_pred = pipe.predict(X_test)
...
roc_auc = roc_auc_score(y_test, y_pred)

https://scikit-learn.org/stable/modules/generated/sklearn.metrics.roc_auc_score.html#sklearn.metrics.roc_auc_score

@mohdelite
Copy link

image
I use the "0.2.12" version of lazy predict and for ROC AUC returned None!
Do you have any idea why this problem happened

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