Primary competition visual

Expresso Churn Prediction Challenge

Helping Senegal
$1 000 USD
Completed (over 4 years ago)
Classification
Prediction
1378 joined
437 active
Starti
Aug 27, 21
Closei
Nov 28, 21
Reveali
Nov 28, 21
User avatar
ff
University of Yaoundé I
AUC with cross validation
Help · 2 Nov 2021, 20:38 · 2

Hello zindians,

The metric for this competition is the AUC. The cross_val_score function provided by sklearn does not recognize 'auc' as a metric. I have done some research on Internet and the use of 'auc' in cross validation is mixed. Then

- Are you using 'auc' in sklearn's cross_val_score function? If so, how do you do it?

- Why is 'auc' not recommended in cross validation?

- Why use auc instead of F1?

PS: I have been using F1-score since the start of the competition.

Discussion 2 answers
User avatar
Freelance

Hi @ff,

For auc in cross_val_score, set the scoring parameter to 'roc_auc'. This represents auc.

2 Nov 2021, 21:31
Upvotes 0
User avatar
ff
University of Yaoundé I

okay thanks!