I need to write in a csv file these three variables in three different columns which are Category id, Predicted label and Accuracy for all values in the original dataset.