Support Vector Machines: A Visual Explanation with Sample Python Code

Python

Video is ready, Click Here to View ×


SVMs are a popular classification technique used in data science and machine learning.

In this video, I walk through how support vector machines work in a visual way, and then go step by step through how to write a Python script to use SVMs to classify muffin and cupcake recipes.

In Part 1a, I visually define the following terms:
– Margin
– Support vectors
– Hyperplane

In Part 1b, I go through the following steps in a Jupyter Notebook:
– Import libraries (pandas, numpy, sklearn,…

25 thoughts on “Support Vector Machines: A Visual Explanation with Sample Python Code

Leave a Reply

Your email address will not be published. Required fields are marked *