La traduction de cette page n'est pas à jour. Cliquez ici pour voir la dernière version en anglais.
Arbres de régression
R2026aPour construire un arbre de régression de manière interactive, utilisez l’application Regression Learner. Pour plus de flexibilité, construisez-le en utilisant fitrtree en ligne de commande. Une fois l’arbre construit, prédisez les réponses en passant l’arbre et les nouvelles données prédictives à predict.
Applications
| Regression Learner | Train regression models to predict data using supervised machine learning |
Blocs
![]() | RegressionTree Predict | Predict responses using regression tree model |
Fonctions
Objets
RegressionTree | Binary decision tree for regression |
CompactRegressionTree | Compact regression tree |
RegressionPartitionedModel | Cross-validated regression model |
RegressionChainEnsemble | Multiresponse regression model (depuis R2024b) |
CompactRegressionChainEnsemble | Compact multiresponse regression model (depuis R2024b) |
Rubriques
- Train Regression Trees Using Regression Learner App
Create and compare regression trees, and export trained models to make predictions for new data.
- Supervised Learning Workflow and Algorithms
Understand the steps for supervised learning and the characteristics of nonparametric classification and regression functions.
- Decision Trees
Understand decision trees and how to fit them to data.
- Growing Decision Trees
To grow decision trees,
fitctreeandfitrtreeapply the standard CART algorithm by default to the training data. - View Decision Tree
Create and view a text or graphic description of a trained decision tree.
- Improving Classification Trees and Regression Trees
Tune trees by setting name-value pair arguments in
fitctreeandfitrtree. - Prediction Using Classification and Regression Trees
Predict class labels or responses using trained classification and regression trees.
- Predict Out-of-Sample Responses of Subtrees
Predict responses for new data using a trained regression tree, and then plot the results.
- Optimize Regression Tree on Tall Array
Optimize hyperparameters of a regression tree automatically using a tall array.
- Predict Responses Using RegressionTree Predict Block
This example shows how to use the RegressionTree Predict block for response prediction in Simulink®.
