Activation function tanh (machine learning) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Activation function tanh (machine learning)

Can i use the tanh function the same way as the sigmoid function from the lesson on machine learning? I want the output either to be 0, 1 or -1. the training data will also be made for the same.

25th Aug 2019, 12:01 AM
Divij Manik
Divij Manik - avatar
1 Answer
+ 5
Alpha5and5 #SCREW YOU CHEMISTRY yes it seems to be working now i was using sigmoid derivative while calculating the adjustment. works fine with tanh derivative thank you.
25th Aug 2019, 5:21 PM
Divij Manik
Divij Manik - avatar