Samuel Oyerinde (@Sam_Oyerinde) header
Samuel Oyerinde (@Sam_Oyerinde) profile picture

ML Engineer from Nigeria 🇳🇬 | I train models, build AI backends, ship things | building in public

Lagos, Nigeria
Joined April 2026
just built a fake news detector in 2 days and i'm not okay 😭 started from scratch. 40,000+ news articles from Kaggle, trained a model to tell real from fake.
1
8
but the real lesson? when I tested it on newer articles it started struggling. turns out the model learned patterns from that specific time period not actual fake news signals. that's distribution shift and catching that yourself is a different feeling fr
1
2
but the real lesson? when I tested it on newer articles it started struggling. turns out the model learned patterns from that specific time period not actual fake news signals. that's distribution shift and catching that yourself is a different feeling fr
1
funny thing is I used the exact same steps from my first ever model (a tiny greeting classifier trained on 200 samples). just a bigger dataset, bigger problem. what I did: → merged title + text into one content
1
funny thing is I used the exact same steps from my first ever model (a tiny greeting classifier trained on 200 samples). just a bigger dataset, bigger problem. what I did: → merged title + text into one content column
1
1
→ held out 4000 articles the model never touches during training → TF-IDF to vectorize the text → tested Naive Bayes vs Logistic Regression → Logistic Regression won final results: ✅ 99.17% train ✅ 98.84% test ✅ 99.50% holdout
1