How to get the classification rules of an ensemble?

2 vues (au cours des 30 derniers jours)
Vadim
Vadim le 18 Juil 2013
Hi.
I'm using fitensemble to train an AdaBoostM2 classifier. My question is - how can I see what each weak classifier actually does?
Vadim.

Réponse acceptée

Shashank Prasanna
Shashank Prasanna le 18 Juil 2013
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.
  1 commentaire
Vadim
Vadim le 20 Juil 2013
Thanks. Don't know how I missed it.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by