What type of imput argument are valid in Plotconfusion?

1 view (last 30 days)
Dear all,
I try to create my confusion matrix with the following formula:
plotconfusion(A,B)
I tried it out with categorical and double inputs and outputs but it still give me the following message:
Undefined function 'plotconfusion' for input arguments of type 'categorical'. or Undefined function 'plotconfusion' for input arguments of type 'double'.
What should I do then ?
Thank you very much in advance for your answer.
Pierre
  1 Comment
Pierre Lonfat
Pierre Lonfat on 26 May 2018
Edited: Pierre Lonfat on 26 May 2018
NB: the other similar function
confusionmat(A,B)
with exactly the same inputs and outputs works perfectly well !

Sign in to comment.

Answers (0)

Categories

Find more on Categorical Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!