format_sample_predictions function

Format sample predictions