Uncomment logging for writing the predictions.