I designed a neural network classifier yielding 0 or 1. can i design with target value 1 alone.
2 次查看(过去 30 天)
显示 更早的评论
neural network was designed with 6 features each dataset. first 3 dataset have target value as 1. the last three datasets have target value 0. so if i give a sample after training, the output may be 1 or 0. now i do not have the features for last three sets. so that i may have only the first 3 sets , which has the target value 1. while running this tranined network, it always gives value 1 as output for all type of sets. is NN a binary classifier?
0 个评论
采纳的回答
John D'Errico
2017-1-2
编辑:John D'Errico
2017-1-2
So, none of the data you have to train with has a target value of 0? How would you expect any modeling tool to recognize when the alternative applies?
If you have severely incomplete data, nothing will improve it, except for getting more useful data.
Think of it like this: a neural net (like any other modeling tool) needs to learn from data. If all the data you give it only EVER has the value 1, then it will learn that the prediction is ALWAYS 1. ALWAYS, for any set of inputs.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File 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!