True Positive, Explained

An image that shows True Positives among other classified examples that include TN, FP, and FN.

When you begin immersing yourself in the world of classification systems, you’ll encounter a large number of different classification metrics: precision; recall; accuracy; sensitivity and specificity; F1-score; and many more. But as you begin digging into these metrics you’ll find another quantity that underpins them all: true positives. To understand classification generally as well as … Read more

The ROC Curve, Explained

An image that shows an ROC curve, with the title "ROC Curves, Explained."

In machine learning, evaluating the performance of a model is as important as its creation. We need tools and techniques to help guarantee that the model performs well and meets the standards of our task. Enter the ROC curve – a powerful visualization designed for evaluating the performance of a machine learning classification system. This … Read more

Confusion Matrix, Explained

A Confusion Matrix, Explained, which shows a 2x2 grid of correct and incorrect classification predictions.

The confusion matrix is an important and commonly used tool in machine learning. This is particularly true of classification problems, where we build systems that predict categorical values. Because they’re used so frequently for classification problems, you need to know them, and you need to know them well. So in this blog post, I’m going … Read more

Sklearn make_classification, Explained

An image of code that uses Scikit-learn make_classification to create a binary classification dataset, and an image of a scatterplot that plots the resulting binary data.

With the rise of AI, machine learning has suddenly become very popular. Machine learning has been around for decades, but machine learning systems are becoming increasingly important in a range of fields, from healthcare, to finance, to marketing. Python, with a range of libraries for data science and ML, has arguably become the top language … Read more

How to Use the Sklearn Predict Method

In this tutorial, I’ll show you how to use the Sklearn predict method to predict outputs using a machine learning model in Python. So I’ll quickly review what the method does, I’ll explain the syntax, and I’ll show a example of how to use the technique. If you need something specific, just click on the … Read more

Regression vs Classification, Explained

An image that visually shows the difference between regression vs classification.

This tutorial will quickly explain the difference between regression vs classification in machine learning. I’ll explain what regression is, what classification is, and then compare them so you can understand the difference. If you want to understand something specific, you can click on any of these links. They’ll take you to the proper section in … Read more