Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

whats is that error in matlab?

1 visualización (últimos 30 días)
Aya Ahmed
Aya Ahmed el 5 de Jun. de 2020
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
When I write this code, the matrix that is called (confusion matrix) does not appear to me .... But this shape appears and says these words and I do not understand the problem:
% load('P2.mat')
% load('P.mat')
% load('T.mat')
net=feedforwardnet(2);
net=train(net,P,T);
view(net)
P3=net(P2);
plotconfusion(T,P3)
  2 comentarios
Star Strider
Star Strider el 5 de Jun. de 2020
You may have too many classes for plotconfusion to produce the optimal result.
The warning is just that — a warning. The best option is to restart MATLAB. (This can occur after graphics hardware driver updates.)
Aya Ahmed
Aya Ahmed el 6 de Jun. de 2020
Thank you very mach Star Strider , iam restart the matlab but stel the same error .
plz tel me , how can i know the number of classes ?
i want to make classification with images into three type of images so what I did was.... I made two matrices to train the images: [ One is the input matrix, called P, consisting of 236 rows * 120 columns features of images .The other is the Target matrix, called T, consisting of 120 rows * 120 columns].And a matrix for the test called P2 consists of 236 rows * 120 columns.
Is there anything wrong with that ?? Where are these Classes here?

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by