Random forest prediction probabilities
Mostra commenti meno recenti
Hi,
I trained a random forest model using MATLAB's "TreeBagger" function. However, when I use the "predict" function, my probabilities are all 0 or 1 except for a few predictions. Despite having 4000 observations, my roc curve has also only three data point. Can you suggest any solution for this problem?
Thanks in advance.
4 Commenti
Memo Remo
il 13 Apr 2021
the cyclist
il 13 Apr 2021
I don't think it is possible to help much here without seeing the data and code.
Are you separating your data into training, testing, and validation sets? As you suggest, it is possible you are overfitting. But if you perform well outside of the training set, maybe you really do have a perfect classifier.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Classification Ensembles in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
