Classification tree view function - predictor categories are replaced by numbers?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello,
I created a classification ensemble tree using categorical predictors (typically 4 or 5 classes/labels for each predictor) and a categorical (-1 or +1) target variable.
However, when i view the tree using the view(trainedModel{1}.ClassificationEnsemble.Trained{1}, 'Mode', 'Graph') command, the labels of the PREDICTORS are now replaced by NUMBERS (see attached picture).
HOW CAN I SHOW THE ORIGINAL LABELS OR HOW CAN I FIGURE HOW WHICH NUMBER IS WHICH LABEL?
The target variable labels are still shown at the bottom of the tree, the problem is only with the predictors' labels.
Could anyone please help how to figure this one out?
To give you an idea how the original predictor categories looked like, see the training set snapshot:
many thanks,
Steven
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su Classification Ensembles in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!