Skip to content

How to get individual tree predictions for regression #65

@GoogleCodeExporter

Description

@GoogleCodeExporter
Is it possible to get the prediction per tree using regression, just as it is 
with classification?

This is possible:
[Y_hat, votes, prediction_pre_tree] = classRF_predict(X_tst,model,test_options);

But how can I make this work too?
[Y_hat, prediction_pre_tree] = regRF_predict(X_tst,model,test_options);

This would allow me to estimate the variance.

I know that it is possible in the c++ code, just not in the Matlab interface. I 
am not very skilled with c++ and compiling the mex codes; maybe someone has a 
compiled Mexfile with this feature?

Many thanks!

Original issue reported on code.google.com by woutervo...@gmail.com on 9 Sep 2014 at 8:14

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions