classify関数の使い方について
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
ssk
am 5 Feb. 2019
Kommentiert: ssk
am 6 Feb. 2019
プログラミング初心者です。
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 Kommentar
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 分類 finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!