Why Python is the Best Data Science Language (in 2023)

An image suggesting that Python is the best data science language.

The first question that aspiring data scientists ask me is “what is the best data science language … which should I learn.” And almost always, this is framed as a decision between R and Python. If you’re wondering which language you should learn first … And especially if you’re interested in artificial intelligence. Then keep … Read more

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

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