A Streamlit-powered web application for performing complex probability calculations with an interactive and user-friendly interface.
- Interactive Variable Input: Dynamic input fields tailored to the specific calculation type.
- Comprehensive Probability Calculations:
- Joint Probability (AND)
- Union Probability (OR)
- Conditional Probability
- Bayesian Inference
- Expected Value
- Statistical Distributions:
- Binomial Distribution
- Poisson Distribution
- Normal Distribution
- Visualizations: Interactive charts for probability distributions using Plotly.
- History & Sharing: Track past calculations and share results via URL.
- Educational Tools: View formulas and explanations for each calculation.
- Python 3.11
- Streamlit
- NumPy
- Pandas
- Plotly
- Clone the repository:
git clone <your-repository-url>- Install dependencies:
pip install -r requirements.txt
# OR if using uv
uv sync- Run the application:
streamlit run main.pyThe application will be available at http://localhost:5000
- Select Calculation Type: Choose from the dropdown menu (e.g., Conditional Probability, Normal Distribution).
- Enter Parameters: Input the required probabilities or values. The interface adapts to your selection.
- Calculate: Click the "Calculate" button to view results.
- Visualize: See interactive plots for distributions.
- History: Access previous calculations in the sidebar.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.