Uniform Distribution
The Uniform Distribution is the simplest probability distribution. It describes a scenario where every possible outcome is equally likely to occur. In Machine Learning, it is the bedrock of random number generation and the initial state of many neural networks.
1. Two Flavors of Uniformityβ
We distinguish between the Uniform distribution based on whether the data is countable (Discrete) or measurable (Continuous).
2. Discrete Uniform Distributionβ
A discrete random variable has a uniform distribution if each of the values in its range has the same probability.
The Mathβ
- Mean ():
- Variance (): (for consecutive integers)
3. Continuous Uniform Distributionβ
A continuous random variable X on the interval [a, b] has a uniform distribution if its probability density is constant across that interval.
The Mathβ
The Probability Density Function (PDF) is: