Challenge: Classification Metrics
Swipe to start coding
You are given a simple binary classification dataset. Your task is to:
-
Train a Logistic Regression model using scikit-learn.
-
Evaluate it with the following metrics:
- Accuracy.
- Precision.
- Recall.
- F1 Score.
- ROC–AUC Score.
- Confusion Matrix.
-
Perform 5-fold cross-validation and report the mean accuracy.
Finally, print all results clearly formatted, as shown below.
Рішення
Дякуємо за ваш відгук!
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Awesome!
Completion rate improved to 6.25
Challenge: Classification Metrics
Свайпніть щоб показати меню
Swipe to start coding
You are given a simple binary classification dataset. Your task is to:
-
Train a Logistic Regression model using scikit-learn.
-
Evaluate it with the following metrics:
- Accuracy.
- Precision.
- Recall.
- F1 Score.
- ROC–AUC Score.
- Confusion Matrix.
-
Perform 5-fold cross-validation and report the mean accuracy.
Finally, print all results clearly formatted, as shown below.
Рішення
Дякуємо за ваш відгук!
single