Pinned Tweet
I'm learning data science from scratch and building in public.
If you're on the same journey, please let’s connect.
#DataAnalytics #Python #BuildInPublic #DataScience
with the way NYSC de move with this whole call-up thing. Once I just grow impatient I go just pack my bag report to camp willingly.
Building a stroke prediction model on a heavily imbalanced dataset
Default threshold: Recall 0.80 | Precision 0.14 (40/50 stroke patients detected)
Threshold (0.30): Recall 0.84 | Precision 0.09 (42/50 detected)
Catching 2 more stroke patients came with many more false alarms
3
3
70
In a healthcare setting, would you lower the threshold? Why or why not?
I think personally I will work with the default thresholds, it might cost me. But i need to know what y’all think.
#machinelearning #stroke #healthcaretech
34
Not every week is a productive one and that’s part of the journey.
Last week I stepped away for a function.
This week I’m back, building and cleaning up what’s already there.
New week, fresh start!
1
31
Taking time away from screens this week, my eyes literally forced me to.
But the thing is I'm not stopping. I'm studying. Going deeper on the concepts that make the building better.
Sometimes your body slows you down so your mind can catch up.
I'll be back stronger
1
6
118
People ask why I spend so much time on EDA, data cleaning, and research before touching a model.
My answer is simple. A well-fed model beats a fancy model every time.
Dirty data doesn't care how good your architecture is.
#datacleaning #EDA #modelling
Based on the feedback I received, I’ll be making some modifications to the data cleaning toolkit I built and already pushed to GitHub. I’ll share the changes once I’m done.
New week, a lot of modifications on what’s been built already!
This reinforces the idea that the best model isnt always the most complex one. What matters more is how well it generalizes to unseen data and how effectively it solves the actual problem at hand
Next, I’ll train an XGBoost model to compare performance and select the final model
Random Forest is not always the best model
I trained 2 models on a stroke prediction dataset with severe imbalance 95:5
Logistic Regression - Recall: 0.88 | AUC-ROC: 0.81
Random Forest - Recall: 0.33 | AUC-ROC: 0.64
the simpler model generalized better on the imbalanced data
7
76

















