LoslegenKostenlos loslegen

Training a model

In the video, you learned how to train a model using scikit learn. In this exercise, you will demonstrate your new skills by training a support vector classifier (SVC) model on the heart disease dataset. Your job is to split the data into training and testing portions, define the necessary model with the correct parameters, and train it on the split data. The heart disease data features and target have been imported as heart_disease_X and heart_disease_y, respectively.

Diese Übung ist Teil des Kurses

End-to-End Machine Learning

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Import required modules
from ____.____ import ____
from ____.____ import ____
Code bearbeiten und ausführen