Chapter 02 · overview · 1 min read
Algebra and Functions
Algebra is arithmetic with unknowns, and a function is a rule that turns inputs into outputs. Together they are the grammar of every model: a model is just a function with adjustable numbers, written in algebra. This section builds from variables and equations through sequences and sums to the specific functions that machine learning uses.
Topics in this section:
- Variables and Expressions: letters standing for numbers, and formulas built from them.
- Equations and Solving: finding the number that makes a statement true.
- Inequalities: describing a whole range of answers.
- Sequences and Series: ordered lists of numbers and their totals.
- Sums and Products: the Σ and Π shorthand for long calculations.
- Functions: rules from inputs to outputs, and how to read them.
- Graphs and Transformations: drawing a function and shifting, stretching and flipping it.
- Linear Functions: straight lines, slope and intercept.
- Polynomials and Quadratics: curves built from powers, and their roots.
- Exponential and Logarithmic Functions: growth, decay and their inverses.
- Composition and Inverses: chaining functions and undoing them.
- Functions AI Loves: sigmoid, tanh, ReLU and softplus.