Django web application designed to predict whether a person having diabetes or havn't based on certain input features.By using pandas, numpy, and scikit-learn libraries for data manipulation, analysis, and machine learning.
- User-friendly web interface for inputting data.
- Utilizes a pre-trained machine learning model to predict diabetes probability.
- Displays the prediction result along with relevant information.
-
Clone the repository:
git clone https://github.com/riz4d/DiabeticAnalyzer cd DiabeticAnalyzer
-
Create a virtual environment (recommended) and activate it:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install the required packages:
pip install -r requirements.txt
-
Start the development server:
python manage.py runserver
-
Access the application in your browser at
http://127.0.0.1:8000/
.
- Fill out the input form with relevant data such as age, BMI, glucose levels, etc.
- Click the "Check" button to see the predicted probability of having diabetes.
- The application will display the prediction result along with additional insights.
The Dataset for predicting diabetes is stored in the /static/diabetes.csv
file. It is trained using the scikit-learn library and takes input features to make predictions.
The accuracy and reliability of the predictions made by the machine learning model are subject to various factors,
including the quality of the dataset, the features used for prediction, and the limitations of the model itself.
The model's predictions should not be considered as a definitive diagnosis, and users are strongly advised to consult
with qualified medical professionals for accurate medical guidance.
limitation
It's important to note that the machine learning model is built on historical data and patterns and may not encompass
all potential variables that can impact an individual's health status. The model's predictions are based on statistical
correlations and probabilities and should not be interpreted as a definitive diagnosis
This project is licensed under the MIT License - see the LICENSE file for details.