Which activation or transfer function is suitable to classify 3 type of data?

1 次查看(过去 30 天)
I have Iris dataset I changed the classes from flower name to 0 , 1, -1 which transfer function is suitable to use when doing manual training does logsig make the work ???

回答(2 个)

Greg Heath
Greg Heath 2018-1-10
编辑:Greg Heath 2018-1-10
Use
[ 1 0 0
0 1 0
0 0 1 ]
Hope this helps.
Thank you for formally accepting my answer
Greg
  3 个评论
Samisam
Samisam 2018-1-11
编辑:per isakson 2018-1-12
I mean I'm trying to get the output like
y = logsig(logsig(trin*iw'+repmat(b1',size(trin,1),1))*lw'+repmat(b2',size(trin,1),1));
logsig as I know gives 0 or 1 out put I want an activation function gives me 0 or 1 or -1 thanks

请先登录,再进行评论。


Greg Heath
Greg Heath 2018-1-11
编辑:Greg Heath 2018-1-11
My computer does not allow me to use the comment box. I can't even use the full ANSWER box!
Use tansig/tansig
Thank you for formally accepting my answer
Greg
P.S. tansig == tanh !!!
  5 个评论
Salma Hassan
Salma Hassan 2018-1-14
dr Greg Heath can you check my question plz how does it possible in convnet, High accuracy in both of validation and test the same has 97% with error loss function 0.01

请先登录,再进行评论。

类别

Help CenterFile 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