I need to write model_predictions into a csv file.
print(model_predictions)
> ['Negative', 'Positive', 'Positive', 'Positive', 'Positive', 'Positive', 'Negative', 'Positive', 'Positive', 'Positive']
I'd like a way to display each result in a single line and also save it in a csv file to compare the column with the data file which the model predicted.
Appreciate your help. Thanks!