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
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.