classify関数の使い方について
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
プログラミング初心者です。
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 Commento
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su 分類 in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!