I have a bit of code that reports result of CV and hyperparameter optimization. I\'m trying to print out the results to file. The file gets created but doesn\'t print the result