Maths for ML / Notation

⊆\subseteq

subset

SetsBeginner

Say it “is a subset of”

Every element of the left set is also in the right set (they may be equal).

Example

{2,4}⊆{1,2,3,4}\{2,4\} \subseteq \{1,2,3,4\}

In code

A <= B  # Python sets

Where you’ll see it in ML

A mini-batch is a subset of the training set.

Don’t confuse it with

Lessons that use it

← All 94 symbols