Teachable Machine (probability sorting) problem

This might help.

Using Personal Image Classifier Personal image classifier display - #2 by SteveJG the list is automatic.

When using TM you may be able to sort the entire List of images from highest probability to lowest using code similar to


Then item #1 in sortedImageList will be the highest probability.

Whether this will work or not depends on whether result is a number; if it is not you will need a different sorting algorithm. You might post what values result provides to help the community to see what might be required to order the list

1 Like