Confusion Matrix for ECOC model classification Example
古いコメントを表示
Running this example in the Command Window:
openExample('textanalytics/CreateSimpleTextModelForClassificationExample')
Is there any way of creating a Confusion Matrix for a cross validated version of the above ECOC model? Similar to this example:
openExample('stats/TrainECOCClassifiersUsingEnsemblesAndParallelComputingExample')
Is the problem with the type of Learner during the fitECOC step? or is it because the class labels are contained in a cell array of strings, and are non-numeric like in the second example?
the error I get when using crossval is that the first input argument must be 'mse', 'mcr', or a function handle. I am trying to do a simple classification of only 2 classes, so I'd expect a 2x2 confusion matrix. I don't think I need start a parallel pool or use a very complicated learner for my NLP text classification.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Classification Trees についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!