Linear Regression Machine Learning | Linear Regression in R | Linear Regression in Python

preview_player
Показать описание


This “Linear Regression” Tutorial by Great Learning would help you to comprehensively learn all the underlying concepts of Linear Regression. You will also learn how to implement linear regression in both R language and Python language

1. 1:00 - Case Study to understand Need of Regression Analysis
2. 4:08 - Intro to Linear Regression
3. 9:39 - Multiple Linear Regression
4. 10:50 – Linear Regression in R
5. 29:39 – Linear Regression in python

Read more on Linear Regression:

Do subscribe to our channel and click on the bell icon, to get a notification of our upcoming high quality tutorials.

If you are looking forward to pursue a post-graduation course in data analytics, then great learning offers the Business Analytics and Business Intelligence post-graduation program in collaboration with the McCombs School of Business, at the University of Texas, Austin and Great Lakes, India. The faculty pool comprises of leading academicians and industry practitioners in the field of data analytics.

PGP-Business Analytics and Business Intelligence has been ranked No.1 in India by AIM. UT Austin McCombs School of Business’ MS in Business Analytics in ranked No.2 in the world by QS World University Rankings.

Know more about Linear Regression

- Great Learning has collaborated with the University of Texas at Austin for the PG Program in Artificial Intelligence and Machine Learning and with UT Austin McCombs School of Business for the PG Program in Analytics and Business Intelligence.
🔥Check Our Free Courses with free certificate:

⚡ About Great Learning Academy:
Visit Great Learning Academy to get access to 1000+ free courses with free certificate on Data Science, Data Analytics, Digital Marketing, Artificial Intelligence, Big Data, Cloud, Management, Cybersecurity, Software Development, and many more. These are supplemented with free projects, assignments, datasets, quizzes. You can earn a certificate of completion at the end of the course for free.

⚡ About Great Learning:
With more than 5.4 Million+ learners in 170+ countries, Great Learning, a part of the BYJU'S group, is a leading global edtech company for professional and higher education offering industry-relevant programs in the blended, classroom, and purely online modes across technology, data and business domains. These programs are developed in collaboration with the top institutions like Stanford Executive Education, MIT Professional Education, The University of Texas at Austin, NUS, IIT Madras, IIT Bombay & more.

SOCIAL MEDIA LINKS:

🔹 For more updates on courses and tips follow us on:
Рекомендации по теме
Комментарии
Автор

This is my 1st month of R programming (not from computer background). you made this all stuff easy., playing with data is actually a fun.... Thank you Sir.

library(dplyr)
data("diamonds")


2/3
caTools::sample.split(diamonds, SplitRatio = .75)-> split_tag
subset(diamonds, split_tag==T)->train
subset(diamonds, split_tag==T)
table(split_tag)
caTools::sample.split(diamonds, SplitRatio = .75)->split_tag
table(split_tag)
caTools::sample.split(diamonds$price, SplitRatio = .75)->split_tag
subset(diamonds, split_tag==T)->train
subset(diamonds, split_tag==F)->test
rm(diamonds)
model1 <- lm(price~carat)
model1 <- lm(price~carat, data= train)
summarise(model1)
summary(model1)
model1$residuals
predict(model1, train)->result1
as_tibble(cbind(actual= train$price, predict= result1))
as_tibble(cbind(actual= train$price, predict= result1)) %>% mutate(error= actual- predict, error2= error^2)
as_tibble(cbind(actual= train$price, predict= result1)) %>% mutate(error= actual- predict, error2= error^2)->datatrain
datatrain
sqrt(mean(datatrain$error2))
rmse1
ls()
as.data.frame(ls())
predict(model1, test)-> result2
as_tibble(cbind(actual= test$price, predict= result2))
as_tibble(cbind(actual= test$price, predict= result2)) %>% mutate(error= actual- predict, error2= error^2)
as_tibble(cbind(actual= test$price, predict= result2)) %>% mutate(error= actual- predict, error2= error^2)-> datatest
datatest
rmse2 <- sqrt(mean(datatest$error2))
rmse2
rmse1
as.data.frame(ls())
model1
model2 <- lm(price~ x+y+z, data= train)
model2
predict(model2, test)-> myresult
cbind(actual= test$price, predict= myresult)-> finaldata

finaldata
finaldata %>% mutate(error= actual- predict, error2= error^2)
finaldata %>% mutate(error= actual- predict, error2= error^2)->finaldata
rmse2
rmse3 <- sqrt(mean(finaldata$error2))
rmse2;rmse3

AlokPratapSingh
Автор

god bless you sir. kindly prepare full tutorial of word2vec algorithim given by google. Grateful to you

mridhusharma
Автор

00:09:28 How you got slope and intercept as 6.8 and 261..

algorithmsguide
Автор

In Multiple linear regression, how the equation is created. you have shown the equation and haven't explained how the weights or coefficients would be created.

algorithmsguide
Автор

You can also enroll for any of our 80+ courses offering 1000+ hours of content for free.

greatlearning