Probabilistic Neural Network all outputs the same
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Matt Maccarone
il 21 Ott 2013
Risposto: Greg Heath
il 23 Ott 2013
I have to create a PNN in matlab. To start, I am using a small dataset with only two classes. I am using the following code:
net = newpnn(train_data',train_class'); out = sim(net,test_data');
My ouput is array of all 1's.
Anyone have any suggestions?
0 Commenti
Risposta accettata
Greg Heath
il 23 Ott 2013
1.Normalize inputs to have zero mean and unit standard deviation via zscore or mapstd.
2. Train multiple designs in a loop over a spread value interval that includes the default value of 1. For example, spread = 0.1 : 0.1 : 2.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Define Shallow Neural Network Architectures in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!