フィルターのクリア

Error in testing neural

3 ビュー (過去 30 日間)
Manolis Michailidis
Manolis Michailidis 2016 年 6 月 7 日
編集済み: Manolis Michailidis 2016 年 6 月 7 日
Hello, i have trained my neural with matrix X [40 30] the Target is [3 30]. Now i have Test matrix [4 10] and every time i try to test my network i get the following message:
Error using bsxfun
Non-singleton dimensions of the two input arrays must match each other.
Error in nnMATLAB.pc (line 24)
pi = bsxfun(@minus,pi,settings.xoffset);
Error in nncalc.preCalcData (line 20)
data.Pc = calcMode.pc(net,data.X,data.Xi,data.Q,data.TS,calcHints);
Error in nncalc.setup1>setupImpl (line 170)
calcData =
nncalc.preCalcData(matlabMode,matlabHints,net,data,doPc,doPd,calcHints.doFlattenTime);
Error in nncalc.setup1 (line 17)
[calcMode,calcNet,calcData,calcHints,net,resourceText] = setupImpl(calcMode,net,data);
Error in network/sim>nncalc_setup (line 728)
[calcMode,calcNet,calcData,calcHints,net,resourceText] = nncalc.setup1(calcMode,net,data);
Error in network/sim (line 275)
[calcLib,calcNet,net,resourceText] = nncalc_setup(calcMode,net,data);
Error in network/subsref (line 16)
otherwise, v = sim(vin,subs{:});
So this means that my test matrix should have the same dimensions as the Target? because the Target matrix has binary classified 3 classes and the test matrix is from one class so what should i do? Any advice appreciated thanks.

回答 (1 件)

Manolis Michailidis
Manolis Michailidis 2016 年 6 月 7 日
編集済み: Manolis Michailidis 2016 年 6 月 7 日
i just found my error, the test matrix should have the same dimensions as the train

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by