Samy Baladram

AI

Decision Tree Classifier, Explained: A Visual Guide with Code Examples for Beginners

CLASSIFICATION ALGORITHM A fresh look on our favorite upside-down tree Samy Baladram · Follow Published in Towards Data Science · 10 min read · 21 hours ago — Decision Trees are everywhere in machine learning, beloved for their intuitive output. Who doesn’t love a simple “if-then” flowchart? Despite their popularity, it’s surprising how challenging it is to find a clear, step-by-step explanation of how Decision Trees work. (I’m actually embarrassed by how long it took

Read More »
AI

Bernoulli Naive Bayes, Explained: A Visual Guide with Code Examples for Beginners

Unlocking Predictive Power Through Binary Simplicity Samy Baladram · Follow Published in Towards Data Science · 8 min read · 2 hours ago — All illustrations in this article were created by author, incorporating licensed design elements from Canva Pro. Unlike the baseline approach of dummy classifiers or the similarity-based reasoning of KNN, Naive Bayes leverages probability theory. It combines the individual probabilities of each “clue” (or feature) to make a final prediction. This straightforward

Read More »
AI

K Nearest Neighbor Classifier, Explained: A Visual Guide with Code Examples for Beginners

The friendly neighbor approach to machine learning Samy Baladram · Follow Published in Towards Data Science · 8 min read · 2 hours ago — All illustrations in this article were created by author, incorporating licensed design elements from Canva Pro. Imagine a method that makes predictions by looking at the most similar examples it has seen before. This is the essence of the Nearest Neighbor Classifier — a simple yet intuitive algorithm that brings

Read More »
AI

Dummy Classifier Explained: A Visual Guide with Code Examples for Beginners

Setting the bar in machine learning with simple baseline models Samy Baladram · Follow Published in Towards Data Science · 7 min read · 8 hours ago — All illustrations in this article were created by author, incorporating licensed design elements from Canva Pro. Have you ever wondered how data scientists measure the performance of their machine learning models? Enter the dummy classifier — a simple yet powerful tool in the world of data science.

Read More »