...

/

Introduction: scikit-learn and Model Evaluation

Introduction: scikit-learn and Model Evaluation

Get introduced to our topics for this chapter: scikit-learn, a popular Python library for machine learning, and model evaluation.

Overview

This chapter introduces the core functionality of scikit-learn for training models and making predictions, through simple use cases of logistic and linear regression. Evaluation metrics for binary classification models, including true and false positive rates, the confusion matrix, the receiver operating characteristic (ROC) curve, and the precision-recall curve, are ...