Skip to content

Python · Machine Learning

From the kitchen

Quality, author-led articles on Python & machine learning. Learn how to eat through topics, calmly, deeply, and without the noise.

145 articles Community authors Always free

More from the kitchen

Fresh articles, served often.

machine learning

Machine Learning Part 5: Decision Trees and Mixed Methods

Some machine learning methods are versatile enough to be used for both Classification and Regression. These are often called “Mixed Methods.” In this post, …

Abdur-Rahmaan Janhangeer

Chef

machine learning

Machine Learning Part 4: Gradient Descent and Cost Function

In this part, we explore the engine under the hood of most machine learning algorithms: Optimization. Specifically, we will look at the Cost Function and G…

Abdur-Rahmaan Janhangeer

Chef

data visualization

Plotting Hotspots in Mauritius with Python and Folium

geo plotting has never been so easy. thanks dhrumil patel! download the data file here …

Abdur-Rahmaan Janhangeer

Chef

machine learning

Machine Learning Part 3: Understanding Regression

In the previous parts, we introduced machine learning and supervised learning. Today, we focus on one of the two main pillars of supervised learning: Regression. What is Re…

Abdur-Rahmaan Janhangeer

Chef

machine learning

Machine Learning part 2: supervised learning

Machine Learning ♡ supervised learning ♡ unsupervised learning ♡ reinforcement learning #2 supervised learning in supervised learnin…

Abdur-Rahmaan Janhangeer

Chef

education

Machine Learning Part 2: Supervised Learning Explained

Supervised learning is a fundamental concept in machine learning where we have labelled data available. The machine “learns” from this data, much like a student learning from a tea…

Abdur-Rahmaan Janhangeer

Chef

gui development

PyQt5 / PySide2: How to Get Values from a Selected QTableView Row

When building desktop applications with PyQt5 or PySide2, the QTableView is the go-to widget for displaying spreadsheet-like data. A common requirement is to retrieve the data from a r…

Abdur-Rahmaan Janhangeer

Chef

machine learning

Machine Learning Part 2: Supervised Learning Explained

Supervised learning is a fundamental concept in machine learning where we have labelled data available. The machine “learns” from this data, much like a student learning from a tea…

Abdur-Rahmaan Janhangeer

Chef

machine learning

Machine Learning Part 1: An Introduction for Beginners

Machine Learning (ML) is one of the most exciting fields in technology today. But what exactly is it? In this introductory series, we will break down the core concepts of ML, starting from the very…

Abdur-Rahmaan Janhangeer

Chef

algorithms

Checking for Prime Numbers in Python

Checking if a number is prime is a fundamental programming task. A prime number is a natural number greater than 1 that has no positive divisors other than 1 and itself. In this tutorial, we…

Abdur-Rahmaan Janhangeer

Chef

programming languages

Markov Chains in Python: Reviving Bertrand Russell's Prose

Have you ever finished a book by a brilliant author and wished there was just one more chapter? While we can’t bring back the great thinkers of the past, we can use Markov Chains t…

Abdur-Rahmaan Janhangeer

Chef

algorithms

Understanding Armstrong Numbers in Python

In this post, we’ll explore a classic beginner programming problem: Armstrong Numbers. What is an Armstrong Number? An Armstrong number (also known as a Narcissisti…

Abdur-Rahmaan Janhangeer

Chef