How can I see the predicted labels for all my validation set images in app designer?

1 view (last 30 days)
My problem is to deployment of the results after training and the code that I used give me error like below:
This is my code:

Answers (1)

Abhishek Chakram
Abhishek Chakram on 26 Sep 2023
Hi Fatin Nasuha Bt Asrol,
It is my understanding that you are facing difficulty in assigning the predicted label to the uilabel of the app. Here is a sample code for the same:
app.Label.Text = string(label) + ,+ num2str(100*max(probs),3) + %”);
You can refer to the following documentation to know more about the functions used:
Best Regards,
Abhishek Chakram

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!