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

1 次查看(过去 30 天)
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 个评论

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by