<p>The weights and bias for a given neuron depend on the task you are trying to solve.  Each computation will have a different set of weights that will implement it.</p>

CC BY-SA 3.0
2015-05-15T07:35:58.510Z
Does the method for finding those weights (which I think the question is asking for) also vary by task? Why?
Christian Hummeluhr
CC BY-SA 3.0
2015-05-15T07:08:25.053Z
2015-05-15T07:08:25.053Z
honi
<p>I am trying to learn how to manipulate McCulloch-Pitts neurons in order to determine their weights and bias based off of inputs. In this example I have inputs:</p>

<p>x, y, z ∈ {−1,1}</p>

<p>The neuron's output is z if x = -1 and y = 1, and is -1 otherwise. </p>

<p>How do I compute the weights and bias for the neuron? An example or link to an example would be greatly appreciated. (Having a hard time finding examples online). Thanks!</p>

<p>So far I have been using the equation out = sgn((w1)(in1) + (w2)(in2) + (w3)(in3) - theta), but I am unsure whether or not I am taking the correct initial steps to solving this problem. </p>

<theoretical-neuroscience>
How to compute weights and bias for a McCulloch-Pitts neuron?
Marcus Koz
# How to compute weights and bias for a McCulloch-Pitts neuron?

(Asked by: username_0 on 2014-09-16)

I am trying to learn how to manipulate McCulloch-Pitts neurons in order to determine their weights and bias based off of inputs. In this example I have inputs:

x, y, z ∈ {−1,1}

The neuron's output is z if x = -1 and y = 1, and is -1 otherwise.

How do I compute the weights and bias for the neuron? An example or link to an example would be greatly appreciated. (Having a hard time finding examples online). Thanks!

So far I have been using the equation out = sgn((w1)(in1) + (w2)(in2) + (w3)(in3) - theta), but I am unsure whether or not I am taking the correct initial steps to solving this problem.

**Tags:** theoretical-neuroscience


---

## 1 answers

### Answer by username_1 on 2015-05-15. Score: -1

The weights and bias for a given neuron depend on the task you are trying to solve. Each computation will have a different set of weights that will implement it.

> **Comments:**
> **username_2**: Does the method for finding those weights (which I think the question is asking for) also vary by task? Why?  

---

