Machine Learning Tutorial Python - 2: Linear Regression Single Variable
In this tutorial we will predict home prices using linear regression. We use training data that has home areas in square feet and corresponding prices and train a linear regression model using sklearn linear regression class. Later on predict method is used on linear regression object to make actual forecast.
To download csv and code for all tutorials: go to https://github.com/codebasics/py, click on a green button to clone or download the entire repository and then go to relevant folder to get access to that specific file.
#MachineLearning #PythonMachineLearning #MachineLearningTutorial #Python #PythonTutorial #PythonTraining #MachineLearningCource #LinearRegression #sklearntutorials #scikitlearntutorials
Topics that are covered in this Machine Learning Video:
0:00 Simple linear regression
1:59 Linear equation
2:43 Import sklearn library
2:22 Import data in dataframe
3:52 Plot scatter plot
5:26 Create Linear Regression object
13:35 Exercise at the end to predict canada's per capita income
Topic Highlights:
1) What is linear regression
2) Mean squared error
3) Predict home prices by minimizing mean squared error (or MSE)
4) Exercise at the end to predict canada's per capita income
Next Video:
Machine Learning Tutorial Python - 3: Linear Regression Multiple Variables: https://www.youtube.com/watch?v=J_LnPL3Qg70&list=PLeo1K3hjS3uvCeTYTeyfe0-rN5r8zn9rw&index=3
Very Simple Explanation Of Neural Network: https://www.youtube.com/watch?v=ER2It2mIagI
Code: https://github.com/codebasics/py/tree/master/ML/1_linear_reg
Correction: at 6:53, use reg.predict([[3300]]) instead of reg.predict(3300) as api specification has changed.
Exercise solution: https://github.com/codebasics/py/blob/master/ML/1_linear_reg/1_linear_regression.ipynb
Populor Playlist:
Data Science Full Course: https://www.youtube.com/playlist?list=PLeo1K3hjS3us_ELKYSj_Fth2tIEkdKXvV
Data Science Project: https://www.youtube.com/watch?v=rdfbcdP75KI&list=PLeo1K3hjS3uu7clOTtwsp94PcHbzqpAdg
Machine learning tutorials: https://www.youtube.com/watch?v=gmvvaobm7eQ&list=PLeo1K3hjS3uvCeTYTeyfe0-rN5r8zn9rw
Pandas: https://www.youtube.com/watch?v=CmorAWRsCAw&list=PLeo1K3hjS3uuASpe-1LjfG5f14Bnozjwy
matplotlib: https://www.youtube.com/watch?v=qqwf4Vuj8oM&list=PLeo1K3hjS3uu4Lr8_kro2AqaO6CFYgKOl
Python: https://www.youtube.com/watch?v=eykoKxsYtow&list=PLeo1K3hjS3uv5U-Lmlnucd7gqF-3ehIh0&index=1
Jupyter Notebook: https://www.youtube.com/watch?v=q_BzsPxwLOE&list=PLeo1K3hjS3uuZPwzACannnFSn9qHn8to8
Tools and Libraries:
Scikit learn tutorials
Sklearn tutorials
Machine learning with scikit learn tutorials
Machine learning with sklearn tutorials
Website: http://codebasicshub.com/
Facebook: https://www.facebook.com/codebasicshub
Twitter: https://twitter.com/codebasicshub
Видео Machine Learning Tutorial Python - 2: Linear Regression Single Variable канала codebasics
To download csv and code for all tutorials: go to https://github.com/codebasics/py, click on a green button to clone or download the entire repository and then go to relevant folder to get access to that specific file.
#MachineLearning #PythonMachineLearning #MachineLearningTutorial #Python #PythonTutorial #PythonTraining #MachineLearningCource #LinearRegression #sklearntutorials #scikitlearntutorials
Topics that are covered in this Machine Learning Video:
0:00 Simple linear regression
1:59 Linear equation
2:43 Import sklearn library
2:22 Import data in dataframe
3:52 Plot scatter plot
5:26 Create Linear Regression object
13:35 Exercise at the end to predict canada's per capita income
Topic Highlights:
1) What is linear regression
2) Mean squared error
3) Predict home prices by minimizing mean squared error (or MSE)
4) Exercise at the end to predict canada's per capita income
Next Video:
Machine Learning Tutorial Python - 3: Linear Regression Multiple Variables: https://www.youtube.com/watch?v=J_LnPL3Qg70&list=PLeo1K3hjS3uvCeTYTeyfe0-rN5r8zn9rw&index=3
Very Simple Explanation Of Neural Network: https://www.youtube.com/watch?v=ER2It2mIagI
Code: https://github.com/codebasics/py/tree/master/ML/1_linear_reg
Correction: at 6:53, use reg.predict([[3300]]) instead of reg.predict(3300) as api specification has changed.
Exercise solution: https://github.com/codebasics/py/blob/master/ML/1_linear_reg/1_linear_regression.ipynb
Populor Playlist:
Data Science Full Course: https://www.youtube.com/playlist?list=PLeo1K3hjS3us_ELKYSj_Fth2tIEkdKXvV
Data Science Project: https://www.youtube.com/watch?v=rdfbcdP75KI&list=PLeo1K3hjS3uu7clOTtwsp94PcHbzqpAdg
Machine learning tutorials: https://www.youtube.com/watch?v=gmvvaobm7eQ&list=PLeo1K3hjS3uvCeTYTeyfe0-rN5r8zn9rw
Pandas: https://www.youtube.com/watch?v=CmorAWRsCAw&list=PLeo1K3hjS3uuASpe-1LjfG5f14Bnozjwy
matplotlib: https://www.youtube.com/watch?v=qqwf4Vuj8oM&list=PLeo1K3hjS3uu4Lr8_kro2AqaO6CFYgKOl
Python: https://www.youtube.com/watch?v=eykoKxsYtow&list=PLeo1K3hjS3uv5U-Lmlnucd7gqF-3ehIh0&index=1
Jupyter Notebook: https://www.youtube.com/watch?v=q_BzsPxwLOE&list=PLeo1K3hjS3uuZPwzACannnFSn9qHn8to8
Tools and Libraries:
Scikit learn tutorials
Sklearn tutorials
Machine learning with scikit learn tutorials
Machine learning with sklearn tutorials
Website: http://codebasicshub.com/
Facebook: https://www.facebook.com/codebasicshub
Twitter: https://twitter.com/codebasicshub
Видео Machine Learning Tutorial Python - 2: Linear Regression Single Variable канала codebasics
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Machine Learning Tutorial Python - 3: Linear Regression Multiple Variables](https://i.ytimg.com/vi/J_LnPL3Qg70/default.jpg)
![How to calculate linear regression using least square method](https://i.ytimg.com/vi/JvS2triCgOY/default.jpg)
![](https://i.ytimg.com/vi/eztj_ItxDA8/default.jpg)
![Statistics 101: Linear Regression, The Very Basics 📈](https://i.ytimg.com/vi/ZkjP5RJLQF4/default.jpg)
![Python Machine Learning Tutorial (Data Science)](https://i.ytimg.com/vi/7eh4d6sabA0/default.jpg)
![Video 1: Introduction to Simple Linear Regression](https://i.ytimg.com/vi/owI7zxCqNY0/default.jpg)
![Interpreting Linear Regression Results](https://i.ytimg.com/vi/rLkysIyO7-U/default.jpg)
![Self Taught Programmers... Listen Up.](https://i.ytimg.com/vi/FrFY6Y1MJBQ/default.jpg)
![Stochastic Gradient Descent vs Batch Gradient Descent vs Mini Batch Gradient Descent |DL Tutorial 14](https://i.ytimg.com/vi/IU5fuoYBTAM/default.jpg)
![Machine Learning Tutorial Python - 8: Logistic Regression (Binary Classification)](https://i.ytimg.com/vi/zM4VZR0px8E/default.jpg)
![Linear Regression, Clearly Explained!!!](https://i.ytimg.com/vi/nk2CQITm_eo/default.jpg)
![Python Pandas Tutorial 1. What is Pandas python? Introduction and Installation](https://i.ytimg.com/vi/CmorAWRsCAw/default.jpg)
![Linear Regression Analysis | Linear Regression in Python | Machine Learning Algorithms | Simplilearn](https://i.ytimg.com/vi/NUXdtN1W1FE/default.jpg)
![Data Analysis with Python - Full Course for Beginners (Numpy, Pandas, Matplotlib, Seaborn)](https://i.ytimg.com/vi/r-uOLxNrNk8/default.jpg)
![Machine Learning Tutorial Python - 4: Gradient Descent and Cost Function](https://i.ytimg.com/vi/vsWrXfO3wWw/default.jpg)
![Forecasting in Excel using Linear Regression](https://i.ytimg.com/vi/8iqzFQ_nZI8/default.jpg)
![Interview Prep Day 2- Linear Regression Interview Question-The Most Important Algorithm In ML & DS🔥🔥](https://i.ytimg.com/vi/eh-muwX6qbQ/default.jpg)
![Learn Python - Full Course for Beginners [Tutorial]](https://i.ytimg.com/vi/rfscVS0vtbw/default.jpg)
![Linear Regression Algorithm | Linear Regression Machine Learning | Linear Regression Full Course](https://i.ytimg.com/vi/tFi4Y_y-GNM/default.jpg)
![Machine Learning Tutorial Python - 11 Random Forest](https://i.ytimg.com/vi/ok2s1vV9XW0/default.jpg)