Error in using classify function.

net=patternnet(10);
[net,tr]=train(net,trainoflow,op);
[ypred,scores]=classify(net,testoflow);
The above code give me error at classify function that Requires atleast three arguments. trainoflow is training features,testoflow is testdata features and op is train data labels.

Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 19 Dec 2019

Commented:

on 29 Jul 2022

Community Treasure Hunt

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

Start Hunting!