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

Catalina Bustamante
Catalina Bustamante 2021년 11월 10일
Hi
I'm having the same problem, did you find a solution?
Thank you

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

질문:

2018년 3월 9일

댓글:

2021년 11월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by