1
1
1010101010102014-05-04 22:22:52
Neural networks
101010101010, 2014-05-04 22:22:52

Activation function for multilayer neural network?

I solve the xor problem for a multilayer neural network with back propagation of an error. The output is two numbers a and b [equal to 0 or 1 ] and the input should get xor ( a , b ) I
use the sigmoid function. 1 / ( 1 + exp ( - x ) ) of
course I can't get an exact answer, only some kind of approximation.
Are there any functions that can exactly solve this problem?
If there is, then you can have an example of a function.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
cthulhudx, 2015-03-09
@cthulhudx

In your case, I think it would make sense to round to the nearest integer. But if you want to get a more accurate result, then there are a huge number of functions that you can try as an activation function for your neurons. In particular:
Linear transfer function
Threshold transfer function
Sigmoid transfer function
Logistic function (which you are currently using)
Hyperbolic tangent
Modified hyperbolic tangent
Radial basis transfer function
And many, many more functions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question