classify関数の使い方について
Mostrar comentarios más antiguos
プログラミング初心者です。
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 comentario
michio
el 6 de Feb. de 2019
質問の投稿、ありがとうございました。
回答の内容で課題や疑問が解決されましたら、
ぜひ「この回答を採用」ボタンのクリックをお願いいたします。
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre 分類 en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!