How to set “ScoreTransform” of function “fitcensemble” with "AdaBoostM2" in order to output probability when making prediction ?
2 views (last 30 days)
Show older comments
I am doing Multicalssification with fitcensemble. I want to output probability as [pred, prob] = mdl.predict(X) with mdl trained by fitcensemble with "AdaBoostM2". I tried to set "Score Transform" with value "logit" and "doublelogit". However, the row sum of their outputs doesn't equal to 1. Could anyone please let me know how to probably set the ScoreTransform parameter to get probability ?
0 Comments
Answers (0)
See Also
Categories
Find more on Classification Ensembles in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!