Assignment 10 1b)

Assignment 10 1b)

par Farbod Khorrami,
Nombre de réponses : 1

Hello! I have encountered an issue with making my decision tree. When I write the code according to the lecture slide, i encounter the following error: Error in eval(predvars, data, env) : object 'label' not found. I have this even though I have included the header in my dataframe and indicate the data to be training data set in the rpart() function. Could anyone give any input on why this happens? Thank you!