help on treebagger scores
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
From the documentation for TreeBagger's predict method:
For classification, [Y,scores] = predict(B,X) returns
scores for all classes. scores is a matrix with
one row per observation and one column per class. For each observation
and each class, the score generated by each tree is the probability
of this observation originating from this class computed as the fraction
of observations of this class in a tree leaf. predict averages
these scores over all trees in the ensemble.
I cannot interpret "computed as the fraction of observations of this class in a tree leaf." The fraction of what observations? Can't be the rows of X because even with one observation I can get scores between 0 and 1 from a single tree. Also, every observation is in some tree leaf. Can anyone elaborate on what scores is?
0 Commenti
Risposte (1)
steven
il 8 Mag 2017
hello, I met the same question too. Have you solved it? I just want to know the number of trees pointed to each class. Best Wished
0 Commenti
Vedere anche
Categorie
Scopri di più su Classification Ensembles in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!