Linear Regression Algorithm In Python From Scratch [Machine Learning Tutorial]

Опубликовано: 22 Июль 2022
на канале: Dataquest
29,701
749

We'll build a linear regression model from scratch, including the theory and math. Linear regression is the most popular machine learning algorithm, and implementing it in python will help you understand how it works.

First, we'll cover the theory and the equation to calculate the coefficients. Then we'll implement the equation in python. We'll end by calculating the r squared value to figure out how well our regression fits the data.

We'll be using data from the Olympics to implement our algorithm. We'll try to predict how many medals a country will earn based on how many athletes it enters into the Olympics.

You can find the code and data at https://github.com/dataquestio/projec... .

Chapters

00:00 Intro
00:20 Theory and equation
14:25 Python implementation
20:02 r-squared calculation

---------------------------------
Join 1M+ Dataquest learners today!
Master data skills and change your life.
Sign up for free: https://bit.ly/3O8MDef


На этой странице сайта вы можете посмотреть видео онлайн Linear Regression Algorithm In Python From Scratch [Machine Learning Tutorial] длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Dataquest 22 Июль 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 29,701 раз и оно понравилось 749 зрителям. Приятного просмотра!