How to create an output layer consisting of a single output neuron using patternnet?
2 views (last 30 days)
Show older comments
Hi!
I have a 2-class classification problem, for which I want to use an output vector that consists of only two values, 1 and 0. When I use patternnet for creating the network and then train it using train function, all the patterns are classified to only one class, giving me only 50% accuracy (I have equal patterns from both classes). Is there any solution? Thanks.
3 Comments
Greg Heath
on 28 Mar 2015
Edited: Greg Heath
on 28 Mar 2015
Write MATHWORKS directly via mathworks.com.
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!