Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to determine for which value artificial neuron will fire?

I'm trying to determine for the articial neuron shown below the values (0 or 1) for the inputs i1, i2, and i3 for which it will fire (i0 is the input for the bias weight and will always be -1).

The weights are

W0 = 1.5

W1 = -1

W2 = 1, and W3 = 2.

Assume the activation function depicted in image below.

Please clarify your answer as I have done few examples and still I'm not able to fully understand the theory :(

Many thanks,

Mary J.

PS. Image below:

image

like image 553
mary.ja45 Avatar asked Dec 09 '09 23:12

mary.ja45


People also ask

How is threshold value calculated in neural networks?

$w_1$ is the weight of connection between 1 and 3. $w_2$ is the weight of connection between 2 and 3. So the input to neuron 3 is $i =o_1w_1 +o_2w_2$ Let the activation function of neuron 3 be sigmoid function. $f(x) = \dfrac{1}{1+e^{-x}}$ and the threshold value of neuron 3 be $\theta$.

What is threshold in artificial neural network?

These certain conditions which differ neuron to neuron are called Threshold. For example, if the input X1 into the first neuron is 30 and X2 is 0: This neuron will not fire, since the sum 30+0 = 30 is not greater than the threshold i.e 100.

How do you read neural network output?

Neural networks can usually be read from left to right. Here, the first layer is the layer in which inputs are entered. There are 2 internals layers (called hidden layers) that do some math, and one last layer that contains all the possible outputs. Don't bother with the “+1”s at the bottom of every columns.

How do artificial neurons work?

An artificial neuron simulates how a biological neuron behaves by adding together the values of the inputs it receives. If this is above some threshold, it sends its own signal to its output, which is then received by other neurons. However, a neuron doesn't have to treat each of its inputs with equal weight.


Video Answer


1 Answers

You basically have the following equation for the neuron output, where i1, i2, and i3 can each have the value 0 or 1:

2*i3 + i2 - i1 - 1.5 >= 0

First, let's look at the highest positively-weighted value. If i3 is 0, the most you can get for the left side is -0.5, so i3 has to be 1 to get a non-zero output. The equation then becomes:

i2 - i1 + 0.5 >= 0

Now look at the negatively-weighted value. If i1 is 0, the output will always be greater than zero no matter what i2 is. If i1 is 1, i2 has to be 1 as well for there to be a non-zero output.

You therefore have these combinations which create a non-zero output:

i1    i2    i3

0     0     1
0     1     1
1     1     1
like image 85
gnovice Avatar answered Nov 15 '22 10:11

gnovice