classify関数の使い方について

プログラミング初心者です。
YPred = classify(net,imdsValidation);
YValidation = imdsValidation.Labels;
accuracy = sum(YPred == YValidation)/numel(YValidation)
上記コードにおいて、classify関数の引数は2つですが、helpを確認したところ、CLASS = classify(SAMPLE,TRAINING,GROUP) classifies each row of the data
in SAMPLE into one of the groups in TRAINING. とあり、classify関数の引数は3つでした。なぜこういった記述が可能かご教示いただけますと幸いです。
あわせて、このclassify関数が指し示す意味についてもご教示頂けますと幸いです。どうぞよろしくお願いいたします。

1 Comment

michio
michio on 6 Feb 2019
質問の投稿、ありがとうございました。
回答の内容で課題や疑問が解決されましたら、
ぜひ「この回答を採用」ボタンのクリックをお願いいたします。

Sign in to comment.

 Accepted Answer

Satoshi Kobayashi
Satoshi Kobayashi on 6 Feb 2019

1 vote

1 Comment

ssk
ssk on 6 Feb 2019
Kobayashiさま
ご回答ありがとうございます。
該当リンクを拝見したところ、よく理解することができました。
本当にありがとうございました。

Sign in to comment.

More Answers (0)

Asked:

ssk
on 5 Feb 2019

Commented:

ssk
on 6 Feb 2019

Community Treasure Hunt

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

Start Hunting!