Transfer functions for MLP

Hi. I am totally new in this area. I want to classify a dataset to 2 classes {0,1} with a simple Mlp. These are my codes: net = newff(train_input',train_output',6,{'?','?'}); net = train(net,train_input',train_output'); y = sim(net,test_input');
which functions should I put instead of ''? '' .How can I make my last result of y including just 2 values 0 or 1.
THANK YOU
Thank you.

Réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by