Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Glossary › Neuron

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 ϕ(w⋅x+b)\phi(\mathbf{w} \cdot \mathbf{x} + b)ϕ(w⋅x+b): 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.
Open the lesson

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.

See it in 3D on the blog

  • What does an artificial neuron do?4 min

Related terms

  • Augmentation
  • Classifier
  • Dropout
  • Hyperparameter
  • Overfitting
  • Regularisation