How to create an output layer consisting of a single output neuron using patternnet?

1 view (last 30 days)
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

Sign in to comment.

Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!