<<<<<<< HEAD
In this code I have taken this from a random source and tried to improve the accuracy of the model in order to practice Machine learning
A Python implementation of Naive Bayes classifier for predicting diabetes using the Pima Indians Diabetes Dataset.
- 🩺 Medical prediction model
- 📊 Handles CSV datasets
- 🧮 Implements Gaussian Naive Bayes
- 📈 67/33 train-test split
- 🎯 73.6% accuracy
- Clone repository:
git clone https://github.com/yourusername/diabetes-prediction.git
cd diabetes-prediction- Install requirements:
pip install -r requirements.txt- Place
diabetes.csvin project root - Run the classifier:
python MLML.pyDownload from Kaggle:
- 768 patient records
- 8 medical features
- 1 binary outcome (0 = no diabetes, 1 = diabetes)
CSV Columns:
- Pregnancies
- Glucose
- BloodPressure
- SkinThickness
- Insulin
- BMI
- DiabetesPedigreeFunction
- Age
- Outcome
$ python MLML.py
Accuracy: 73.62%Pull requests welcome! For major changes, please open an issue first.
32c2c40 (improved the accuracy)