混同行列(Confusion Matrix)

MATLAB2022aで作っています。
今あるサンプルプログラムに混同行列を追加する方法が分かりません。
下のファイル名がそのプログラムになります。
もし、説明できるようでしたら説明してくれたら幸いです。
解読のほどよろしくお願いいたします。

Answers (1)

Hernia Baby
Hernia Baby on 18 Feb 2023
confusionchartを参考にしてください
@Atsushi Uenoさんのものが例だと思いますが、最後に以下の文をいれればOKです
figure
cm = confusionchart(YValidation,YPred);

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 14 Feb 2023

Answered:

on 18 Feb 2023

Community Treasure Hunt

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

Start Hunting!