Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created special_distributions.cpp #2890

Closed
wants to merge 2 commits into from

Conversation

igmansvi
Copy link

@igmansvi igmansvi commented Oct 30, 2024

feat: add discrete distribution algorithm, class Bernoulli, Binomial, Negative, Geometric, Poisson
feat: add continuous distribution, class normal, gamma, exponential
test: add test for each probability distributions
docs: add comments and explanation to distributions algorithm

Description of Change

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Added documentation so that the program is self-explanatory and educational - Doxygen guidelines
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes:

Implementations for various discrete probability distributions.
Includes Bernoulli, Binomial, Negative(Binomial, Geometric), Geometric, and Poisson Distributions.
Accepts respective types as in { int, float };
feat: add continuous distribution
test: add testcases for evaluation
doc: brief explanation and includes normal, gamma and exponential distribution
@igmansvi igmansvi changed the title Created special_discrete_distributions.cpp Created special_distributions.cpp Oct 31, 2024
@igmansvi igmansvi closed this by deleting the head repository Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant