Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

How much value predict function returns ?

1 view (last 30 days)
sufian ahmed
sufian ahmed on 13 Aug 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
I trained a set of image and then pass only one image in a test and then pass it in predict function like:
predictedLabels1 = predict(classifier, test_feature);
But when i call it first time, predict returns only one level e.g: 0 or 1. but when i call it for 2nd image it returns two values: one is first one and another one is 2nd image level. when i call it for 3rd image it returns 3 value by including all the previous value. Now my question is that predict works as like my output or i did some wrong ? If wrong how can i solve it ?
  1 Comment
Image Analyst
Image Analyst on 14 Aug 2017
You've provided nothing for me to go on - no code at all.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!