Radial Basis Function help
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Seemab Janjua
am 21 Jun. 2015
Kommentiert: Seemab Janjua
am 22 Jun. 2015
i have dataset of Earthquake , which has 295 rows and 9 columns.i have made input as DataSetIn which has 295 rows and 8 columns whie Output as DataSetOut 295 rows and 1 columns .Code gives error on newrb.Code is as follow
inputs = DataSetIn'; % 8x295
outputs = DataSetOut; % 295x1
newrb(inputs,outputs);
error "internal dimentions must agree".
0 Kommentare
Akzeptierte Antwort
Geoff Hayes
am 22 Jun. 2015
Seemab - according to the documentation for newrb, the input matrices P and T (your inputs and outputs) must be a R-by-Q matrix of Q input vectors and a S-by-Q matrix of Q target class vectors respectively. You may want to transpose the outputs array so that it has the same number of columns as inputs
inputs = DataSetIn'; % 8x295
outputs = DataSetOut'; % 1x295
newrb(inputs,outputs);
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Seismology finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!