What is function?
A rule that turns each input into exactly one output. Every model is a function whose behaviour is set by its parameters.
Where it is taught
Functions. A function is a machine that takes a number in and gives a number out. Every model in AI, however large, is one of these.
What the lesson leaves you with
- A function gives exactly one output for each input. means "the output for input ".
- A graph is a picture of a function: inputs across, outputs up.
- Parameters are the settings inside a function. Learning means adjusting them.
Questions
- What is function?
- A rule that turns each input into exactly one output. Every model is a function whose behaviour is set by its parameters.
- Where is function used in AI?
- A function is a machine that takes a number in and gives a number out. Every model in AI, however large, is one of these.
- What is the key idea to remember about function?
- A function gives exactly one output for each input. <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>f</mi><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo></mrow><annotation encoding="application/x-tex">f(x)</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" style="margin-right:0.1076em;">f</span><span class="mopen">(</span><span class="mord mathnormal">x</span><span class="mclose">)</span></span></span></span> means "the output for input <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>x</mi></mrow><annotation encoding="application/x-tex">x</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="katex-base"><span class="katex-strut" style="height:0.4306em;"></span><span class="mord mathnormal">x</span></span></span></span>".
- Where can I learn function step by step?
- In the lesson “Functions” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.