Paddy (@paddy_eman) header
Paddy (@paddy_eman) profile picture

I am a fun of data science and anime

Accra, Ghana
Joined July 2024
Photo by Paddy (@paddy_eman)Photo by Paddy (@paddy_eman)
1/ I just finished my midterm for #MLZoomcamp: a model that predicts who will buy an electric car, deployed as a live API. What I built and learned 🧵 electric-car-purchase-predic…
6
25
7/ Next: deep learning, serverless and Kubernetes. Thanks @DataTalksClub and @Al_Grigor. Feedback welcome!
1
5/ Then the real work: Flask API, input validation, pytest, Docker + Gunicorn, deployed on Render. Endpoints: /ping, /about, /predict. 6/ Code and live API: github.com/ePaddyy/electric-…
9
4/ I went with LightGBM (val ROC-AUC ~0.934) and set the threshold at 0.27 to favour recall: 0.85 recall, 0.60 precision. Which metric to favour is a business decision, not a modelling one.
9
3/ I compared 7 models on ROC-AUC. XGBoost, LightGBM and CatBoost were within 0.001 of each other. Plain logistic regression was only ~0.002 behind. Simple baselines are worth running.
11
2/ Data: 13 features covering age, income, commute, charging stations near home and work, subsidies, environmental concern and range anxiety. Target: will_buy_ev.
8
Built CreditLens 🚀 — an end-to-end credit risk prediction project. Learning to take ML beyond notebooks and into working applications. GitHub: github.com/ePaddyy/credit-ri… #MachineLearning #Python
1
2
29
Built CreditLens 🚀 — an end-to-end credit risk prediction project. ✅ XGBoost model ✅ Validation-based threshold selection ✅ Flask API ✅ SHAP explainability ✅ Automated tests ✅ Docker
12
Packaged an ML model as an API in Module 5 of #mlzoomcamp. ✅ Checked the pinned model artifact ✅ Served predictions with FastAPI ✅ Built and tested the Docker image Repo: github.com/ePaddyy/machine_l… @DataTalksClub @Al_Grigor
2
58
Evaluated a classifier in Module 4 of #mlzoomcamp. ✅ Compared ROC AUC and threshold-based metrics ✅ Found a useful precision/recall trade-off ✅ Used 5-fold cross-validation for tuning My repo: github.com/ePaddyy/machine_l… @Al_Grigor
12
Just finished Module 3 of ML Zoomcamp 2026 📊 Classification: predicting customer churn with logistic regression 🧵 #mlzoomcamp @Al_Grigor
2
2
39
✨ Key takeaway: accuracy alone can mislead, so always compare against a baseline. On to Module 4 👉 Thanks @Al_Grigor and @DataTalksClub 🙏 #mlzoomcamp #MachineLearning
4
🔤 Encoded categorical features with DictVectorizer 📏 Evaluated with accuracy 🎚️ Regularization: a smaller C means stronger regularization, so it works the opposite way to what I expected. 🔍 Feature importance showed which customer features push churn up or down.
10
Just finished Module 2 of ML Zoomcamp 2026 🚗📈 Regression: predicting car prices with linear regression built from scratch 🧵 #mlzoomcamp @Al_Grigor
4
22
✨ Key takeaway: building it by hand beats just calling a library. On to Module 3 👉 Thanks @Al_Grigor and @DataTalksClub 🙏 #mlzoomcamp #MachineLearning
1
5
📏 Evaluated with RMSE, which shows how far off predictions are in the same units as the target (price).
2
🧮 Built linear regression with matrix operations Once you've written the normal equation yourself, the library stops feeling like magic.
10
🔍 EDA with Pandas, NumPy & Matplotlib 🔀 Manual train/val/test split and shuffle with NumPy, no sklearn shortcuts
8