Re: [R] randomForest - classifier switch

2006-01-03 Thread Liaw, Andy
From: Stephen Choularton > > Hi > > I am trying to use randomForest for classification. I am using this > code: > > > set.seed(71) > > rf.model <- randomForest(similarity ~ ., data=set1[1:100,], > importance=TRUE, proximity=TRUE) > Warning message: > The response has five or fewer unique valu

[R] randomForest - classifier switch

2006-01-03 Thread Stephen Choularton
Hi I am trying to use randomForest for classification. I am using this code: > set.seed(71) > rf.model <- randomForest(similarity ~ ., data=set1[1:100,], importance=TRUE, proximity=TRUE) Warning message: The response has five or fewer unique values. Are you sure you want to do regression? in: