Linear Regression in Python| Implementing Linear Regression| Python Machine Learning Tutorial Part 2

Published: 07 August 2018
on channel: ACADGILD
3,821
53

Linear Regression in Python| Implementing Linear Regression| Python Machine Learning Tutorial Part 2
https://acadgild.com/big-data/data-sc...
Hello and welcome back to Machine learning tutorial part 2 powered by Acadgild. In the previous session we learned, what is linear regression, what is simple linear regression, what is multiple linear regression, what is regression analysis, advantages and disadvantages of linear regression etc. In this tutorial you will be to learn, Implementation of simple linear regression on a sample problem using Python. Before that, if you have missed the previous session, kindly click the following for the better understanding.

Simple Linear Regression:    • Linear Regression Tutorial | Simple Linear...  

Steps to Implement Linear Regression in Python:
• Import the necessary libraries
• Load the data set
• Select predictor and target variables
• Split the data into train and test data
• Fit the model to the data
• Evaluate model

The important libraries to be imported:
• Sklearn: for scientific computing
• Pandas: for data managing and processing
• Matplotlib: for plotting
• Numpy: for the base in array calculation and data summarization

Loading Data set: Taxi Data Set
Link: http://www.nyc.gov/html/tlc/html/abou...

R-Squared:
• Also called as the coefficient of determination
• A statistical measure of how close the data is to the filter regression line.
• Between 0 and 100%
• 0% - Model explains none of the variability of the response data around its mean
• 100% - Model explains all of the variability of the response data around its mean

In the next video, we will look at the implementation of multiple linear regression in Python. Please subscribe and stay tuned for more such videos.
#linearRegression #MachineLearning, #Simplelinearregression, #linear, #regression, #Implementation

For more updates on courses and tips follow us on:
Facebook:   / acadgild  
Twitter:   / acadgild  
LinkedIn:   / acadgild  


On this page of the site you can watch the video online Linear Regression in Python| Implementing Linear Regression| Python Machine Learning Tutorial Part 2 with a duration of hours minute second in good quality, which was uploaded by the user ACADGILD 07 August 2018, share the link with friends and acquaintances, this video has already been watched 3,821 times on youtube and it was liked by 53 viewers. Enjoy your viewing!