R\mathbb{R}

ℝ — the real numbers

Read "R" or "the reals". It is the set of all ordinary numbers: whole, negative, fractions and decimals.

The double-struck R\mathbb{R} ("blackboard bold") is the set of real numbers, such as −3-3, 00, 17\tfrac{1}{7}, π\pi and 2.718…2.718\ldots. It does not include complex numbers. Every weight and activation in a model is a real number; a computer's floating-point numbers are a finite approximation of them.

Related sets you will meet: N\mathbb{N} (counting numbers 0,1,2,…0, 1, 2, \dots or 1,2,3,…1, 2, 3, \dots depending on the author), Z\mathbb{Z} (all integers, including negatives), and {0,1}\{0,1\} (only zero and one, as in a one-hot vector).

Example

w∈Rw \in \mathbb{R}

w is a single real number, such as 0.37 or -12.

Where the course uses it

Related terms