answered 2016-12-18 20:00:10 -0600
confidence is a double, so use:
double
format("Label = %d / confidence = %f.", predictedLabel, confidence)
in your format string.