What is your plot_predictions
function definition? I’m not clear since you are passing in both the output from your selector (model_predict
) along with another hard-coded selection (one of the three choices in each of the three calls to your plot function).
Are you converting back to the pointer to your lists within the plot_predictions
function? If not, you would need to give it (for example) preds['SVM Predictions']
instead of the string 'SVM Predictions'
.