Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

What does the Warning :The response has five or fewer unique values while building random forest mean

$
0
0

@harry wrote:

I am currently solving one classification problem using random forest algorithm in R .I am able to create the model, but it giving me warning I want to the reason.

randomtree=randomForest(Reverse ~ Circuit+Issue+Petitioner+Respondent+LowerCourt+Unconst,data=train,nodesize=25,ntree=200)

Warning message:
In randomForest.default(m, y, ...) :
  The response has five or fewer unique values.  Are you sure you want to do regression?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles