Support Vector Machine (SVM) from Scratch - Machine Learning Math & Python [Code Fix in Description]

Опубликовано: 19 January 2024
на канале: kai
2,705
95

IMPORTANT: As @ruima3847 pointed out, I made a mistake with the `calc_gradient` function after the 46:00 mark. Be sure to check their pinned comment or the updated GitHub repository for the correct code changes!

This video covers Support Vector Machine (SVM) classification from scratch. This will include the math, intuition, and implementation of the SVM model with Python in a Jupyter Notebook.

We will open with the Hard Margin to build intuition on SVMs before moving into the Soft Margin model. At the Soft Margin stage, we will cover the math and implementation of the decision boundary, margin, hinge loss, cost function, and finally gradient descent to achieve a minimum cost.

View Notebook on GitHub: https://github.com/kailau02/machine-l...

Portfolio: https://kailauapps.com/

LinkedIn:   / dylan-kai-lau  

0:00 Overview
1:04 Hard Margin SVM
13:20 Soft Margin SVM Setup
15:18 Slack Variable
19:04 Derive Cost Function
21:33 Hinge Loss Intuition
25:47 Python Decision Boundary & Cost Function
36:25 Gradient Descent Intuition
40:50 Gradient Descent Math
45:40 Python Gradient Descent


На этой странице сайта вы можете посмотреть видео онлайн Support Vector Machine (SVM) from Scratch - Machine Learning Math & Python [Code Fix in Description] длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь kai 19 January 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 2,705 раз и оно понравилось 95 зрителям. Приятного просмотра!