Description
Hello - I have successfully trained my model using my training dataset. Now, when I go to predict, using this command:
python model.py -d ../testing_imputed.csv -m predict
I get this error:
ValueError: Usecols do not match columns, columns expected but not found: ['accepted']
but this is the column I'm trying to predict! Am I supposed to create the target/prediction column in the test data and it will be populated with the predictions? This is a logistic regression problem, where I am trying to predict whether or not a loan will be approved. If I need to add a column, is it:
test_data'['accepted'] = ""
Or do I zero it out and the prediction will update the value with what the model should predict?
Thanks in advance to all who respond.