高斯分布和二项式分布
distributions-by-rrod的Python项目详细描述
高斯分布
This package contains 3 main python files. GeneralDistribution,Gaussiandistribution and BinomialDistribution
- General Distribution:
The Generic distribution class is for calculating and visualizing a probability distribution.
Also there is a function called read_data_file that reads in data from a txt file. The txt file should have
one number (float) per line. The numbers are stored in the data attribute. Currently using numbers.txt as an example
- Gaussian Distribution:
The Gaussian distribution class for calculating and visualizing a Gaussian distribution.
- Binomial Distribution:
The Binomial distribution class for calculating and visualizing a Binomial distribution.
## Getting Started
pip install distributions_by_rr
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Prerequisites
please see requirements.txt
## Running the tests
tests.py is located in the tests folder. To run it:
cd topackage
python -m unittest test
##Contributing
Please submit pull requests
##Authors
RabiaR
## License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
§ Hat tip to anyone whose code was used
§ Inspiration
§ etc
- 项目
标签: