What does the network compute?

Output of network can be written as follows, with k indexing the two output units:
o_k(x) = g(w_{k0} + ∑_{j=1}^J h_j(x) w_{kj})
h_j(x) = f(w_{j0} + ∑_{i=1}^D x_i v_{ji})
Network with non-linear activation function f() is a universal approximator (esp. with increasing J)
Standard choice of activation function: sigmoid/logistic, or tanh, or rectified linear (relu)
tanh(z) = (exp(z) - exp(-z))/(exp(z) + exp(-z))
relu(z) = max(0,z)
output units hidden units input units