dafriedman97 / mlbook

Repository for the free online book Machine Learning from Scratch (link below!)
https://dafriedman97.github.io/mlbook/content/introduction.html
MIT License
1.08k stars 206 forks source link

Binomial PMF function fix #25

Open Deepak-Rai-1027 opened 11 months ago

Deepak-Rai-1027 commented 11 months ago

This PR was open to suggest a change in the Binomial PMF function.

I believe that the PMF formula for Bernoulli Distribution also has a combination term so that we can find the number of combinations for the given success in the entire trial. e.g. 3 heads in 10 coin toss.