how to test a trained network with new data?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
i have created a network for classification by using of paternnet and have trained it with input and target data. now I want to chek this network with a new data and find the classes that this data is related to. what should i do now?
0 commentaires
Réponse acceptée
Greg Heath
le 14 Sep 2013
trueclass = vec2ind(target) % Unit vector target columns --> class indices
[net tr output ] = train(net,input,target);
assignedclass = vec2ind(output)
err = assignedclas~=trueclass
Nerr = sum(err)
newoutput = net(newinput)
newassignedclass = vec2ind(newoutput)
Thank you for formally accepting my answer
Greg
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Deep Learning Toolbox dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!