I am working on an artificial neural network. I want to implement it in Matlab, but I am unable to find a proper activation function. I need a step function because my output is either 0 or 1. is there any function in Matlab that can be used for this kind of output. Also, I want the reverse function of the same activation function. logsig
and tansig
are not working for me.
Heaviside did not work for me.. i finally normalized my data between 1 and -1 and then applied tansig. Thanks