Matrix error in 2015b

1 Ansicht (letzte 30 Tage)
ahmad karim
ahmad karim am 11 Okt. 2016
Beantwortet: Walter Roberson am 11 Okt. 2016
Dears, i have problem as below this is the error msj please can any one help me ? Regards,
>> y = finalNetwork(z);
>> plotconfusion(tTest,y);
Index exceeds matrix dimensions.
Error in plotconfusion>update_plot (line 402)
y = y(:,known);
Error in plotconfusion (line 112)
plotData = update_plot(param,fig,plotData,update_args{:});
  1 Kommentar
Steven Lord
Steven Lord am 11 Okt. 2016
What are the sizes of tTest and y?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 11 Okt. 2016
A quick glance at the code suggests to me that your training set has more columns than your outputs, or something similar to that.

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by