The lunch time using the AWS EC2 instance was from: 2024/11/07 16:57 GMT-5 to 2024/11/15 GTM-5 8:48. Due to another current project being develop the app is not running
The current project is deployed using AWS and docker. This project provides a machine-learning model for predicting customer churn. It includes the necessary scripts and configurations to deploy the model as a web application, suitable for Docker-based or local deployment. The project leverages Python with dependencies managed through Poetry.
app.py
: Main application file to run the churn prediction model or API.Dockerfile
: Contains instructions for setting up a Docker container to run the application.requirements.txt
: Lists the Python dependencies.utils.py
: Contains utility functions supporting the main application.
- Python: Ensure Python is installed (recommended: Python 3.8 or above).
- Poetry: Used for dependency management. Install with
pip install poetry
. - Docker: Optional, for containerized deployment.
-
Clone the repository.
-
Install dependencies using Poetry:
poetry install
pip install -r requirements.txt
pip install -r requirements.txt
To start the application:
python app.py
Build the Docker image:
docker build -t churn-prediction .
docker run -p 8000:8000 churn-prediction
Once the application is running, access it locally or through the specified port if using Docker.
- .gitignore: Lists files to exclude from version control.
- .replit: Contains configuration for running the app on Replit.
- poetry.lock, pyproject.toml: Configuration files for Poetry.