Machine Learning

Support Vector Machines SVM in Python with Scikit Learn sklearn Cover Image.png

Support Vector Machines (SVM) in Python with Sklearn

In this tutorial, you’ll learn about Support Vector Machines (or SVM) and how they are implemented in Python using Sklearn. The support vector machine algorithm is a supervised machine learning algorithm that is often used for classification problems, though it can also be applied to regression problems. This tutorial assumes no prior knowledge of the

Support Vector Machines (SVM) in Python with Sklearn Read More »

Sklearn Scikit-Learn One Hot Endoding Cover Image

One-Hot Encoding in Scikit-Learn with OneHotEncoder

In this tutorial, you’ll learn how to use the OneHotEncoder class in Scikit-Learn to one hot encode your categorical data in sklearn. One-hot encoding is a process by which categorical data (such as nominal data) are converted into numerical features of a dataset. This is often a required preprocessing step since machine learning models require

One-Hot Encoding in Scikit-Learn with OneHotEncoder Read More »

Hyper-Parameter Tuning in Scikit-Learn Sklearn GridSearchCV Cover Image

Hyper-parameter Tuning with GridSearchCV in Sklearn

In this tutorial, you’ll learn how to use GridSearchCV for hyper-parameter tuning in machine learning. In machine learning, you train models on a dataset and select the best performing model. One of the tools available to you in your search for the best model is Scikit-Learn’s GridSearchCV class. By the end of this tutorial, you’ll

Hyper-parameter Tuning with GridSearchCV in Sklearn Read More »

Manhattan Distance Python City Block Cover Image

Calculate Manhattan Distance in Python (City Block Distance)

In this tutorial, you’ll learn how to use Python to calculate the Manhattan distance. The Manhattan distance is often referred to as the city block distance or the taxi cab distance. The Manhattan distance can be a helpful measure when working with high dimensional datasets. By the end of this tutorial, you’ll have learned: What

Calculate Manhattan Distance in Python (City Block Distance) Read More »

Hamming Distance in Python SciPy Cover Image

Calculate Hamming Distance in Python (with Examples)

In this tutorial, you’ll learn how to calculate the hamming distance in Python, using step-by-step examples. In machine learning, the Hamming distance represents the sum of corresponding elements that differ between vectors. By the end of this tutorial, you’ll have learned: Common applications of the Hamming Distance in machine learning, How to calculate the Hamming

Calculate Hamming Distance in Python (with Examples) Read More »