How to use neural network classifier in predict function?

1 次查看(过去 30 天)
I am using App designer in MATLAB R2018a. I am working on human idetification and I have trained networks with SVM and NN.
I'm using predict function for the testing. It's working with SVM but not with NN. Kindly help
This is the code. I have NN classifier in faceClassifier variable.
queryImage = imread('image.jpg');
queryFeatures = extractHOGFeatures(queryImage);
personLabel = predict(faceClassifier,queryFeatures);
It's give me error.
Error using predict (line 84)
No valid system or dataset was specified.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by