shohan6 / randomforest-matlab

Automatically exported from code.google.com/p/randomforest-matlab
0 stars 0 forks source link

score values from random forest #62

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
hello, is it possible to return the score for each predicted label from random 
forest? I need this to plot the ROC curve. It is urgent if you can. Thanks.

Original issue reported on code.google.com by cgen...@gmail.com on 3 Jun 2014 at 3:09

GoogleCodeExporter commented 8 years ago
you can get a prediction per tree (look at the output of classRF_predict). From 
those votes, you can get say how many trees in a RF are for a particular class 
compared to some other class(es). This can be used as a 
score/confidence/probability of the ensemble for an example being a member of a 
particular class vs some other class. 

Original comment by abhirana on 3 Jun 2014 at 4:26