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.

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Deep Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by