Predictive Calc is an open-source project that provides a flexible collection of machine learning models designed to predict a wide variety of outcomes. Built with Python and Streamlit, the project offers an intuitive web interface, enabling users to easily interact with the models. The primary goal of the project is to streamline the integration of machine learning models with custom forms, allowing users to build their own prediction calculators tailored to specific use cases.
The project is under active development with several machine learning models already implemented for various prediction tasks. The architecture is designed for dynamic configuration using JSON files, which map model parameters, inputs, and features. This design ensures new models can be seamlessly added or updated with minimal modification to the core codebase.
The project has been successfully tested in local environments, and current efforts are focused on enhancing integration, optimizing deployment, and improving scalability for production-ready applications.
Fork or clone the repository.
Create a virtual environment and install the necessary dependencies:
python -m venv .venv
.venv\Scripts\Activate
Install the necessary dependencies:
pip install -r requirements.txt
Run the Streamlit application using:
streamlit run app.py
Install Docker on your machine.
Windows user - Install WSL (Ubuntu-22.04).
Run the application using Docker Compose:
docker-compose up
To stop the application:
docker-compose down