Machine learning with caret
Before we can train machine learning models and tune hyperparameters, we need to prepare the data. The data is again available as breast_cancer_data
. The library caret
has already been loaded.
Cet exercice fait partie du cours
Hyperparameter Tuning in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Create partition index
index <- ___(___, ___ = 0.7, list = FALSE)