Linalg-y stuff:

A note on notation

… scalars (single numbers); normal/italic font
vector, by default a column vector; bold font
matrix, by default capital bold font
… arbitrary unit vector
… basis vector (1 at position , 0 elsewhere)
TODO: move the below to where they actually fit better
random variables
… random vectors
… realization of random variable
… realization of random vector
… estimates or predictions
set / space

function mapping from set to set
… function with argument and parameters

Link to original

Probability stuff:

A note on notation

… the sample space, the set of all possible outcomes of a random experiment.
events.
… probability measure aka , aka .

random variables; … a vector of random variables.
… realized values;

… the probability distribution “law” of a random variable .
… shorthand notation for probabilities of random variables taking on specific values.

… the probability of a random variable taking on value , general notation; specific:
PMF (discrete; is a probability)
PDF (continuous; not a probability, probabilities come from integrals )
conditional probability, discrete and continuous, respectively.

… a family of distributions indexed by .
Its use can depend on context:
… the probability of data given fixed parameters . (PMF/PDF of )
… the likelihood of fixed data given parameters . (not a density in !)

… a distribution without explicit parameters, e.g. the true data distribution, or a marginal distribution.
… a distribution over parameters, e.g. a prior.
or … the posterior distribution over parameters given data .

Link to original

1

Sets:

A note on terminology

https://mathworld.wolfram.com/Collection.html says that a collection refers to a multiset.
But gpt5 says that’s almost certainly not the case in most contexts, a collection just a set.
But collection is so generic and context dependent, I only use it as “a bunch of things” and then define if necessary, else use a more specific term.

Link to original

Algebra, functions

Category theory:

Transclude of category-theorey#^04cef3

Footnotes

  1. I haven’t been consistent with notation for vectors, nor consistent with whether I treat them as column or row vectors so far. Trying to more consistently use them as described in notation. Standard notation treats vectors as column vectors, which makes sense for having the same order as function composition in matmuls , which would otherwise be 2, but in ML practice at least, data is usually represented as row vectors, soooo I vary the notation case by case but make it explicit ¯\(ツ)

  2. Which seems more intuitive, but function composition is defined to mirror substitution / nesting , so matmuls should follow that order too etc. pp whatever