Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

score values from random forest #62

Open
GoogleCodeExporter opened this issue Mar 7, 2016 · 1 comment
Open

score values from random forest #62

GoogleCodeExporter opened this issue Mar 7, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant