Upload 2 files
Browse files- README.md +38 -1
- diabetic_models/logistic_reg_diabetic.pkl +3 -0
README.md
CHANGED
|
@@ -1,3 +1,40 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Diabetes Prediction
|
| 3 |
+
emoji: 📦
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: blue
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: "6.0.2"
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: false
|
| 10 |
---
|
| 11 |
+
|
| 12 |
+
# Diabetes Prediction App
|
| 13 |
+
|
| 14 |
+
Predicts diabetes risk based on clinical parameters using machine learning.
|
| 15 |
+
|
| 16 |
+
## Features
|
| 17 |
+
- Real-time diabetes risk prediction
|
| 18 |
+
- Probability score display
|
| 19 |
+
- Clean, intuitive interface
|
| 20 |
+
- Models hosted separately on [KKT-ML-Models](https://huggingface.co/spaces/kkthyagharajan/KKT-ML-Models)
|
| 21 |
+
|
| 22 |
+
## How to Use
|
| 23 |
+
1. Enter patient clinical parameters
|
| 24 |
+
2. Click "Predict"
|
| 25 |
+
3. View prediction and probability
|
| 26 |
+
|
| 27 |
+
## Model Information
|
| 28 |
+
- **Algorithm**: Logistic Regression
|
| 29 |
+
- **Accuracy**: ~77.6%
|
| 30 |
+
- **Hosted at**: [KKT-ML-Models Space](https://huggingface.co/spaces/kkthyagharajan/KKT-ML-Models)
|
| 31 |
+
|
| 32 |
+
## Parameters
|
| 33 |
+
- **Pregnancies**: Number of pregnancies
|
| 34 |
+
- **Glucose**: Plasma glucose concentration
|
| 35 |
+
- **Blood Pressure**: Diastolic blood pressure
|
| 36 |
+
- **Skin Thickness**: Triceps skin fold thickness
|
| 37 |
+
- **Insulin**: 2-Hour serum insulin
|
| 38 |
+
- **BMI**: Body mass index
|
| 39 |
+
- **Diabetes Pedigree Function**: Genetic risk score
|
| 40 |
+
- **Age**: Age in years
|
diabetic_models/logistic_reg_diabetic.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64498d1b673606b9c27c6f8384efa8de22fdb461587d4f13988ee922a2336e2f
|
| 3 |
+
size 1307
|