Assignment 2 Decision Tree

please can someone help me to fit the model to the training data

1 Like

The error is already mentioned, x_train is not defined. Probably you should use train_inputs and train_targets.

thanks@birajde i have used the above code train_inputs and train_targets its works

1 Like