Classification tree view function - predictor categories are replaced by numbers?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Classification Ensembles finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!