What is neuron?
A unit that takes a dot product of its inputs with its weights, adds a bias, and applies an activation function.
Where it is taught
The neuron. A neuron is a dot product, a bias and an activation. On its own it can do exactly one thing, which is to draw a straight boundary.
What the lesson leaves you with
- A neuron computes : weighted sum, bias, activation.
- With a sigmoid, its output can be read as a probability, and its boundary is a straight line.
- One neuron cannot solve problems, such as XOR, that are not linearly separable.
Questions
- What is neuron?
- A unit that takes a dot product of its inputs with its weights, adds a bias, and applies an activation function.
- Where is neuron used in AI?
- A neuron is a dot product, a bias and an activation. On its own it can do exactly one thing, which is to draw a straight boundary.
- What is the key idea to remember about neuron?
- A neuron computes <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>ϕ</mi><mo stretchy="false">(</mo><mi mathvariant="bold">w</mi><mo>⋅</mo><mi mathvariant="bold">x</mi><mo>+</mo><mi>b</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">phi(mathbf{w} cdot mathbf{x} + b)</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="katex-base"><span class="katex-strut" style="height:1em;vertical-align:-0.25em;"></span><span class="mord mathnormal">ϕ</span><span class="mopen">(</span><span class="mord mathbf" style="margin-right:0.016em;">w</span><span class="mspace" style="margin-right:0.2222em;"></span><span class="mbin">⋅</span><span class="mspace" style="margin-right:0.2222em;"></span></span><span class="katex-base"><span class="katex-strut" style="height:0.6667em;vertical-align:-0.0833em;"></span><span class="mord mathbf">x</span><span class="mspace" style="margin-right:0.2222em;"></span><span class="mbin">+</span><span class="mspace" style="margin-right:0.2222em;"></span></span><span class="katex-base"><span class="katex-strut" style="height:1em;vertical-align:-0.25em;"></span><span class="mord mathnormal">b</span><span class="mclose">)</span></span></span></span>: weighted sum, bias, activation.
- Where can I learn neuron step by step?
- In the lesson “The neuron” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.