From: Mongkut Piantanakulchai on
Hi,

I would like to know that can X matrix in classregtree be categorial variable(s)?

Thanks in advance,

Mongkut P.
From: Ilya Narsky on
Mongkut Piantanakulchai wrote:
> Hi,
>
> I would like to know that can X matrix in classregtree be categorial
> variable(s)?
>
> Thanks in advance,
>
> Mongkut P.

help classregtree
[snip]
For all trees:
'categorical' Vector of indices of the columns of X that are to
be treated as unordered categorical variables.
From: Mongkut Piantanakulchai on
Oh, thanks for pointing me out.


Ilya Narsky <inarsky(a)mathworks.com> wrote in message <4BFD21ED.3020105(a)mathworks.com>...
> Mongkut Piantanakulchai wrote:
> > Hi,
> >
> > I would like to know that can X matrix in classregtree be categorial
> > variable(s)?
> >
> > Thanks in advance,
> >
> > Mongkut P.
>
> help classregtree
> [snip]
> For all trees:
> 'categorical' Vector of indices of the columns of X that are to
> be treated as unordered categorical variables.