A professional, containerized Flask application for customer churn prediction using Scikit-Learn, Pandas, and Tailwind CSS.
Project URL: https://ai-intelligence-dashboard.onrender.com/
Before running the app locally, ensure your environment is ready:
- Environment Variables: Create a
.envfile in the root directory. - Add Credentials:
MYSQL_ROOT_PASSWORD=your_password MYSQL_PASSWORD=your_password - Data: Ensure
customer_data.csvis inside the/datafolder.
Use these commands to manage the application:
• Start the App: docker-compose up --build
• Stop Services: docker-compose down
• Train the AI Model: docker-compose run --rm web python model_trainer.py
This project is configured for easy deployment on Render:
- Push your latest changes to GitHub.
- Log in to Render.com and create a new Web Service.
- Connect your GitHub repository.
- Select Docker as the Runtime.
- Add your Environment Variables (MYSQL credentials) in the Render 'Environment' tab.
- Render will automatically build and deploy your container.
Always work on a feature branch to keep the main branch stable:
- Create branch:
git checkout -b feature/your-task-name - Save progress:
git add .thengit commit -m "Description of changes" - Push to GitHub:
git push origin feature/your-task-name
© 2026 Daniel Tzul