product
Say it “product from i equals 1 to n of x i”
Multiply the expression together for every value of the index.
Example
In code
np.prod(x)torch.prod(x)Where you’ll see it in ML
Likelihood of i.i.d. data is a product of probabilities — which is why we take logs to turn it into a sum.