Error coming while using Random Forest using R

后端 未结 4 1495
自闭症患者
自闭症患者 2020-12-20 21:17

I am using a dataset containing mvar_1 as column, having names of one of 5 parties that citizen voted for last year. Other variables are just demographic variab

4条回答
  •  抹茶落季
    2020-12-20 21:50

    This error occurs when you train your model with the entire dataset and not with the train data. Try implementing the model with train data and work out with test adm to perform prediction.

提交回复
热议问题