Accéder au contenu principal
AccueilR

Cours

Optimisation des hyperparamètres en R

AvancéNiveau de compétence
Actualisé 03/2026
Découvrez comment ajuster les hyperparamètres de votre modèle afin d'obtenir les meilleurs résultats prédictifs.
Commencer Le Cours Gratuitement
RMachine Learning4 h14 vidéos47 Exercices3,500 XP7,703Certificat de réussite.

Créez votre compte gratuit

ou

En continuant, vous acceptez nos Conditions d'utilisation, notre Politique de confidentialité et le fait que vos données seront hébergées aux États-Unis.

Apprécié par des utilisateurs provenant de milliers d'entreprises

Group

Former 2 personnes ou plus ?

Essayez DataCamp for Business

Description du cours

Pour de nombreux problèmes de Machine Learning, exécuter un modèle tel quel pour obtenir une prédiction ne suffit pas ; vous voulez le meilleur modèle avec la prédiction la plus précise. Une façon d’y parvenir est d’optimiser les hyperparamètres, c’est-à-dire ajuster les réglages propres à ce modèle. Dans ce cours, vous utiliserez les packages caret, mlr et h2o pour trouver la combinaison optimale d’hyperparamètres de manière efficace grâce à la recherche par grille, la recherche aléatoire, le rééchantillonnage adaptatif et l’Automatic Machine Learning (AutoML). Vous travaillerez également sur différents jeux de données et optimiserez divers modèles supervisés, comme les forêts aléatoires, les gradient boosting machines, les machines à vecteurs de support et même les réseaux de neurones. Prêt à affiner vos modèles ?

Prérequis

Machine Learning with caret in R
1

Introduction to hyperparameters

Why do we use the strange word "hyperparameter"? What makes it hyper? Here, you will understand what model parameters are, and why they are different from hyperparameters in machine learning. You will then see why we would want to tune them and how the default setting of caret automatically includes hyperparameter tuning.
Commencer Le Chapitre
2

Hyperparameter tuning with caret

In this chapter, you will learn how to tune hyperparameters with a Cartesian grid. Then, you will implement faster and more efficient approaches. You will use Random Search and adaptive resampling to tune the parameter grid, in a way that concentrates on values in the neighborhood of the optimal settings.
Commencer Le Chapitre
3

Hyperparameter tuning with mlr

Here, you will use another package for machine learning that has very convenient hyperparameter tuning functions. You will define a Cartesian grid or perform Random Search, as well as advanced techniques. You will also learn different ways to plot and evaluate models with different hyperparameters.
Commencer Le Chapitre
4

Hyperparameter tuning with h2o

In this final chapter, you will use h2o, another package for machine learning with very convenient hyperparameter tuning functions. You will use it to train different models and define a Cartesian grid. Then, You will implement a Random Search use stopping criteria. Finally, you will learn AutoML, an h2o interface which allows for very fast and convenient model and hyperparameter tuning with just one function.
Commencer Le Chapitre
Optimisation des hyperparamètres en R
Cours
terminé

Obtenez un certificat de réussite

Ajoutez cette certification à votre profil LinkedIn, à votre CV ou à votre portfolio
Partagez-la sur les réseaux sociaux et dans votre évaluation de performance
S'inscrire Maintenant

Rejoignez plus de 19 millions d'utilisateurs et commencez Optimisation des hyperparamètres en R dès aujourd'hui !

Créez votre compte gratuit

ou

En continuant, vous acceptez nos Conditions d'utilisation, notre Politique de confidentialité et le fait que vos données seront hébergées aux États-Unis.

Apprenez où que vous soyez avec l'application DataCamp

Progressez où que vous soyez grâce à nos cours conçus pour mobile et à nos défis quotidiens de 5 minutes.