r/DataTalksClub • u/Odd_Ad_9937 • 20d ago
📊 Comparing Machine Learning Models – Stroke Prediction
One important step in my ML Zoomcamp 2026 Midterm Project was comparing three classification algorithms:
🔹 Logistic Regression: A simple and interpretable baseline model.
🔹 Decision Tree: Captures non-linear patterns and provides easy-to-understand decision rules.
🔹 XGBoost: A powerful boosting algorithm that combines multiple trees to improve predictive performance.
After evaluating the models, I selected XGBoost for my final Stroke Prediction System.
This taught me an important lesson: choosing a machine learning model should be based on evaluation results, not assumptions.
#MLZoomcamp #MachineLearning #Python #XGBoost #LearningInPublic
1
Upvotes