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

Pubblicato il: 19 gennaio 2024
sul canale di: 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


In questa pagina del sito puoi guardare il video online Support Vector Machine (SVM) from Scratch - Machine Learning Math & Python [Code Fix in Description] della durata di ore minuti seconda in buona qualità , che l'utente ha caricato kai 19 gennaio 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 2,705 volte e gli è piaciuto 95 spettatori. Buona visione!