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, …
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…
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…
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…
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…
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…
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…
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…
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…
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…