How to get the classification rules of an ensemble?
2 次查看(过去 30 天)
显示 更早的评论
Hi.
I'm using fitensemble to train an AdaBoostM2 classifier. My question is - how can I see what each weak classifier actually does?
Vadim.
0 个评论
采纳的回答
Shashank Prasanna
2013-7-18
Here is an example:
load fisheriris
ens = fitensemble(meas,species,'AdaBoostM2',100,'Tree');
You can find all the trained classification tree models here:
ens.Trained
Access them individually as follows:
ens.Trained{1}
Take a look at their properties and methods for more information.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classification Ensembles 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!