I designed a neural network classifier yielding 0 or 1. can i design with target value 1 alone.

1 vue (au cours des 30 derniers jours)
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?

Réponse acceptée

John D'Errico
John D'Errico le 2 Jan 2017
Modifié(e) : John D'Errico le 2 Jan 2017
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.
  2 commentaires
Dhandapani.S
Dhandapani.S le 2 Jan 2017
thank you. will not the NN say that the input dataset is not with the target 1? other than 1 can i consider it as 0?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by