Predict a data using Matlab 2017a

1 vue (au cours des 30 derniers jours)
mahmud alatawi
mahmud alatawi le 9 Mar 2018
I trained my classifier using classification learner apps Matlab version 2015a. then I used the same code and same data( images) to train the classifier using classification learner apps Matlab version 2017a. But in when I tried to predict a data using Matlab 2017a I got the following error: Undefined function 'predict' for input arguments of type 'struct'. the cod is >>imagefeatures = double(encode(bag, img)); >> [labelIdx, score] = predict(trainedclassifier,imagefeatures); Can you help, please?
  1 commentaire
Catalina Bustamante
Catalina Bustamante le 10 Nov 2021
Hi
I'm having the same problem, did you find a solution?
Thank you

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Get Started with Statistics and Machine Learning Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by