0

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!

Arturo Sbr
  • 4,419
  • 2
  • 23
  • 51
K A
  • 1
  • 2

0 Answers0