From: Miroslav Pavelka on
Is there any possibility how to add (or delete) custom trees to (or from) TreeBagger?
How I can do that?
From: Ilya Narsky on
Miroslav Pavelka wrote:
> Is there any possibility how to add (or delete) custom trees to (or from) TreeBagger?
> How I can do that?

Miroslav,

You can't add custom trees without modifying TreeBagger code. I could
give you instructions on how to accomplish that, in some limited way.
But messing with the code at this level is not recommended and we would
not provide technical support if something goes wrong.

But before it comes to that - why do you need to add custom trees? What
is so special about these trees that they need to be grown outside the
bagger?

You cannot delete trees but you can exclude their predictions from the
full ensemble using 'trees' option. Do 'help TreeBagger/predict', for
example.

-Ilya