Answer the question
In order to leave comments, you need to log in
Neural network. How to translate activation function formulas into python code?
The maximum number of activation functions is needed, in these searches I wandered onto Wikipedia https://ru.wikipedia.org/wiki/Activation_function , when I saw the graphs and formulas, I was delighted, here they are, what I was looking for. Then I realized that I can’t translate them into Python code, because I don’t understand at all what goes where and how.
The only thing I have is the sigmoid:
def sigmoid(x):
return math.exp(-np.logaddexp(0, -x))
Answer the question
In order to leave comments, you need to log in
learn Python
modules Numpy and Math, or better immediately scikit-learn
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question