How do I access the confidence for a specific createML model's label?

Hey everyone, I want to add an if statement that would do something along the lines of this:

if confidence = 100% {
     
}

How could I do this? I already have a createML model. Thank you, Oliver

How do I access the confidence for a specific createML model's label?
 
 
Q