Maths for ML / Notation

(nk)\binom{n}{k}

binomial coefficient

Sums and productsIntermediate

Say it “n choose k”

Number of ways to pick k items from n when order doesn't matter.

Example

(52)=10\binom{5}{2} = 10

In code

math.comb(n, k)

Where you’ll see it in ML

Binomial distribution, counting feature combinations.

← All 94 symbols