Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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 ???

Antworten (2)

Greg Heath
Greg Heath am 10 Jan. 2018
Bearbeitet: Greg Heath am 10 Jan. 2018
Use
[ 1 0 0
0 1 0
0 0 1 ]
Hope this helps.
Thank you for formally accepting my answer
Greg
  3 Kommentare
Samisam
Samisam am 11 Jan. 2018
Bearbeitet: per isakson am 12 Jan. 2018
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

Melden Sie sich an, um zu kommentieren.


Greg Heath
Greg Heath am 11 Jan. 2018
Bearbeitet: Greg Heath am 11 Jan. 2018
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 Kommentare
Salma Hassan
Salma Hassan am 14 Jan. 2018
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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by