I want to obtain the class with the highest confidence. Heres the code that performs classification task:
names = [\'class A\', \'class B\', \'class C\'] def