How much value predict function returns ?

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 commentaire

Image Analyst
Image Analyst le 14 Août 2017
You've provided nothing for me to go on - no code at all.

Réponses (0)

Cette question est clôturée.

Question posée :

le 13 Août 2017

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by