tingliu / randomforest-matlab

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

variable importance #34

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

If you are trying to run via some custom arguments and parameters, i.e. for
your own datasets etc. Can you post in the argument size and type (you can
get that via whos('argumentname')?

Please provide any additional information below.
How did u calculate the variable importance? My data set is of binary form? I 
want to know which the score  of importance of variables .

Original issue reported on code.google.com by nira...@gmail.com on 29 Apr 2012 at 7:38

GoogleCodeExporter commented 8 years ago
does this help
http://www.stat.berkeley.edu/~breiman/RandomForests/cc_home.htm#varimp

overall importance of variable k over the entire forest = sum(tree_i accuracy 
on oob data - tree_i accuracy after permuting the values of variable k in the 
oob data)

Original comment by abhirana on 29 Apr 2012 at 7:40

GoogleCodeExporter commented 8 years ago
How to permute the values of variable k? i am not using categorical variable.

Original comment by nira...@gmail.com on 29 Apr 2012 at 8:00

GoogleCodeExporter commented 8 years ago
when you ask for variable importance it is done for all variables.

Original comment by abhirana on 29 Apr 2012 at 8:03