Crates.io | probability_cli |
lib.rs | probability_cli |
version | 0.0.2 |
source | src |
created_at | 2023-04-07 06:09:49.927357 |
updated_at | 2023-04-11 07:58:22.719375 |
description | A command line interface for probability calculations using Bayesian probability |
homepage | |
repository | https://github.com/bencgreenberg/probability-cli |
max_upload_size | |
id | 832776 |
size | 25,265 |
Welcome to the Bayesian Probability Calculator CLI! This command-line tool is designed to help you update your beliefs about the probability of an event based on new evidence. Using Bayesian probability, you can make better decisions under uncertainty.
Bayesian probability is a powerful approach to reasoning under uncertainty. It allows you to combine your prior beliefs with new evidence to form updated beliefs, represented as posterior probabilities. The Bayesian Probability Calculator makes this process simple and interactive by guiding you through the input of prior probability, likelihood, and evidence.
To run the Bayesian Probability Calculator, you need to have Rust installed on your machine. If you haven't already, you can install Rust by following the instructions on the official Rust website.
Clone the repository:
git clone https://github.com/bencgreenberg/probability-cli.git
Change to the project directory:
cd probability-cli
Build and run the project:
cargo run
Upon running the Bayesian Probability Calculator, you'll be guided through a series of prompts. Follow the instructions and provide the requested information:
The Bayesian Probability Calculator will then calculate the posterior probability, which is the updated probability of the event given the evidence. This result will be displayed as a percentage.
Contributions are welcome! If you'd like to improve the Bayesian Probability Calculator or suggest new features, please submit a pull request or create an issue. More information on contributing to the project can be found in the contributing guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.