Beta
Explore
Marketplace
Neural Labs
Chat
Wallet
Docs
Logistic_Regression – AI Model by sidon1 | AlphaNeural AI
You can deploy this model and start earning money today!
sidon1
/
Logistic_Regression
like
0
mit
us
Views
No views yet
Model card
Files and Versions
Community
API
Deploy
🔍 Logistic Regression Diabetes Predictor
This project uses
Logistic Regression
, a supervised classification algorithm, to predict whether a patient has diabetes based on medical attributes.
🧪 Is it a Diabetes Tester?
✅ Yes! This model acts like a diabetes test predictor. It takes in features like glucose level, insulin, BMI, age, and more, and outputs:
0
= No diabetes
1
= Has diabetes
The model is trained on the
Pima Indians Diabetes Dataset
, which is a real-world dataset often used for medical ML tasks.
⚙️ What Happens in the Code?
📥 Loads dataset from a public CSV
🧹 Splits it into features (
X
) and labels (
y
)
🧪 Trains the Logistic Regression model
🔮 Predicts whether the test data has diabetes
📈 Evaluates model using accuracy, confusion matrix, and classification report
🎨 Visualizes confusion matrix with Seaborn heatmap
Built using Python, Pandas, scikit-learn, and Matplotlib.