How to Use the Sklearn Linear Regression Function

A visual example of simple linear regression, where we fit a line to the training data, and then use that line as a model to predict new values.

In this tutorial, I’ll show you how to use the Sklearn Linear Regression function to create linear regression models in Python. I’ll quickly review what linear regression is, explain the syntax of Sklearn LinearRegression, and I’ll show you step-by-step examples of how to use the technique. If you need something specific, just click on any … 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

How to Make a Numpy Softmax Function

In this tutorial, I’ll show you how to define a Numpy softmax function in Python. I’ll explain what the softmax function is. And I’ll show you the syntax for how to define the softmax function using the Numpy package. Additionally, I’ll show you a few examples of how it works. If you need something specific, … Read more

How to Implement Numpy Relu in Python

An image showing a plot of the ReLU function, and a simple function definition of ReLU in Python.

This blog post will show you how to implement Numpy relu. We’ll define a new function in Python that implements a rectifier activation function. So I’ll quickly explain what the ReLU function is. We’ll define the syntax for a Numpy relu function. And I’ll show you how it works in the examples section. If you … Read more

The 5 Python Skills You Need Before You Study Machine Learning

And image showing the 5 Python skills you need before you study machine learning.

Machine learning is a very powerful skill. And machine learning is a valuable skill. According to Glassdoor, the average salary for a machine learning engineer is about $127,000 in early 2021. If you already know some Python, then upskilling to add machine learning to your skill set could increase your earning power a lot. 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

Supervised vs Unsupervised Learning, Explained

An image that shows the difference between supervised and unsupervised learning.

In this article, I’ll explain supervised vs unsupervised learning. The tutorial will start by discussing some foundational concepts and then it will explain supervised and unsupervised learning separately, in more detail. If you need something specific, just click on the link. The following links will take you to specific sections of the article. Table of … Read more