ROC Curve with Visualization API
Scikit-learn defines a simple API for creating visualizations for machine learning. The key features of this API is to allow for quick plotting and visual adjustments without recalculation. In this example, we will demonstrate how to use the visualization API by comparing ROC curves.
# Authors: The scikit-learn developers
# SPDX-License-Identifier: BSD-3-Clause
Load Data and Train an SVC
First, we load the wine dataset and convert it to a binary classification problem. Then, we train a support vector classifier on a training dataset.
import matplotlib.pyplot as plt

