A comprehensive web application that integrates multiple health and fitness tools into a single platform.
- Modern, responsive design with glass morphism effects
- Interactive cards for each integrated application
- Smooth animations and transitions
- Diabetes Prediction: Assess diabetes risk based on glucose levels, BMI, age, and other factors
- Heart Disease Prediction: Evaluate cardiovascular risk using chest pain, cholesterol, and blood pressure data
- Lung Cancer Prediction: Analyze respiratory health and lung cancer risk factors
- Stroke Prediction: Assess cerebrovascular risk and stroke prevention
- Predict calories burned during exercise
- Input parameters: gender, age, height, weight, duration, heart rate, body temperature
- Uses machine learning model for accurate predictions
- Personalized workout plans based on individual goals
- Customizable parameters: fitness level, goals, frequency, duration
- Comprehensive exercise and nutrition recommendations
- Downloadable fitness plans
-
Clone the repository
git clone <repository-url> cd model_god
-
Install dependencies
pip install -r requirements.txt
-
Run the application
python app.py
-
Access the application
- Open your browser and go to
http://localhost:5000 - The landing page will display all available tools
- Open your browser and go to
model_god/
├── app.py # Main Flask application
├── requirements.txt # Python dependencies
├── README.md # This file
├── static/
│ ├── styles.css # Landing page styles
│ └── page-styles.css # Integrated app styles
├── templates/
│ ├── index.html # Landing page
│ ├── pulseguard.html # Disease prediction hub
│ ├── diabetes.html # Diabetes prediction form
│ ├── heart.html # Heart disease prediction form
│ ├── lung.html # Lung cancer prediction form
│ ├── stroke.html # Stroke prediction form
│ ├── calories_burnt.html # Calories prediction form
│ └── fitness_plan.html # Fitness plan generator
└── uploads/ # File upload directory
GET /pulseguard- Disease prediction hubGET /diabetes- Diabetes prediction formGET /heart- Heart disease prediction formGET /lung- Lung cancer prediction formGET /stroke- Stroke prediction formPOST /predict/diabetes- Diabetes prediction APIPOST /predict/heart- Heart disease prediction APIPOST /predict/lung- Lung cancer prediction APIPOST /predict/stroke- Stroke prediction API
GET /calories-burnt- Calories prediction formPOST /predict_calories- Calories prediction API
GET /fitness-plan- Fitness plan generator
- Backend: Flask (Python)
- Frontend: HTML5, CSS3, JavaScript
- Machine Learning: scikit-learn, numpy, pandas
- Styling: Glass morphism, gradient backgrounds, animations
- Icons: Font Awesome
The application uses pre-trained machine learning models for predictions:
- Diabetes Model: Trained on Pima Indians Diabetes Database
- Heart Disease Model: Trained on Heart Disease UCI dataset
- Lung Cancer Model: Trained on lung cancer prediction dataset
- Stroke Model: Trained on stroke prediction dataset
- Calories Model: Trained on exercise calories dataset
- Works seamlessly on desktop, tablet, and mobile devices
- Adaptive layouts and touch-friendly interfaces
- Intuitive navigation with back buttons
- Real-time form validation
- Loading states and error handling
- Smooth animations and transitions
- Input validation and sanitization
- Error handling for malformed requests
- Secure file handling
-
Start with the Landing Page
- Visit the main page to see all available tools
- Click on any card to access the specific application
-
Disease Prediction
- Navigate to PulseGuard
- Choose the specific disease you want to predict
- Fill in the required health parameters
- Get instant predictions with detailed explanations
-
Calories Prediction
- Enter your exercise parameters
- Get accurate calorie burn predictions
- View results with confidence levels
-
Fitness Plan Generation
- Input your personal information and goals
- Generate customized workout plans
- Download your personalized fitness plan
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
For support or questions, please open an issue in the repository or contact the development team.
Developed by Quad.Coders 🚀 # WELL-WISE