use (as.factor(target) ~., data =your data, ...)
On Tue, May 4, 2010 at 12:07 PM, pdb wrote:
>
> Hi,
>
> I'm experimenting with random forests and want to perform a binary
> classification task.
> I've tried some of the sample codes in the help files and things run, but I
> get a message to
Hi,
I'm experimenting with random forests and want to perform a binary
classification task.
I've tried some of the sample codes in the help files and things run, but I
get a message to the effect 'you don't have very many unique values in the
target - are you sure you want to do regression?' (so
2 matches
Mail list logo