- If you already have a trained model in your workspace, simply load it via the 'Select trained machine learning model' option in the block parameters.
- If you don't have a trained model yet, you can refer to the follwowing example: https://www.mathworks.com/help/stats/predict-class-labels-using-classification-ensemble-predict-block.html
random forest block in simulink
3 views (last 30 days)
Show older comments
I need guidance how to create random forest block in simulink My coding use tree bagger for classification
0 Comments
Accepted Answer
aditi bagora
on 6 Mar 2025
I understand that you want to use a trained Random Forest model for prediction in Simulink, utilize the ClassificationEnsemble Predict block.
For further details, explore these MathWorks documentation links on the ClassificationEnsemble Predict block and ClassificationBaggedEnsemble:
More Answers (0)
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!