Functions of several variables

Level UniversityDifficulty ★★★★★Concept⌖ Open in the map

What is it?

f:ℝn→ℝf : \R^n \to \R (or ℝm\R^m): many inputs, one (or many) outputs. With two inputs the graph is a surface over the plane; with a million inputs — the weights of a model — we reason with its level sets and its gradient.

Formulas

f:ℝn→ℝ,(x1,…,xn)↦f(x1,…,xn)f : \R^n \to \R, \qquad (x_1, \dots, x_n) \mapsto f(x_1, \dots, x_n)
L(θ)=1N∑i=1Nℓ(fθ(xi),yi),θ∈ℝd, d∼109L(\theta) = \frac1N\sum_{i=1}^{N}\ell\big(f_\theta(x_i), y_i\big), \qquad \theta \in \R^{d},\ d \sim 10^{9}
a training loss: a function of dd variables

Where it shows up in computing

  • Image processing and computer vision★★★★★frequentSignals, media and vision

    A grayscale image is a function I(x,y)I(x, y) sampled on a grid; a colour image is ℝ2→ℝ3\R^2 \to \R^3.

Where it shows up in AI

  • Loss function★★★★★fundamentalAI and machine learning

    A loss is a scalar function of all the model's parameters.

Where is it used?

Computing topics reachable from here, through the chain of ideas that leads to them:

What depends on it

This page has the essentials. A fuller treatment (intuition, formal definition, worked example) is on the way.

↑ ↓ to navigate · ↵ · Esc