Machine Learning in Python: Building a Linear Regression Model

preview_player
Показать описание
In this video, I will be showing you how to build a linear regression model in Python using the scikit-learn package. We will be using the Diabetes dataset (built-in data from scikit-learn) and the Boston Housing (download from GitHub) dataset.

⭕ Playlist:
Check out our other videos in the following playlists.

⭕ Subscribe:
If you're new here, it would mean the world to me if you would consider subscribing to this channel.

⭕ Recommended Tools:
Kite is a FREE AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite and I love it!

⭕ Recommended Books:

⭕ Stock photos, graphics and videos used on this channel:

⭕ Follow us:

⭕ Disclaimer:
Recommended books and tools are affiliate links that gives me a portion of sales at no cost to you, which will contribute to the improvement of this channel's contents.

#dataprofessor #regression #linearregression #scikit #scikitlearn #sklearn #prediction #jupyternotebook #jupyter #googlecolab #colaboratory #notebook #machinelearning #datascienceproject #randomforest #decisiontree #svm #neuralnet #neuralnetwork #supportvectormachine #python #learnpython #pythonprogramming #datascience #datamining #bigdata #datascienceworkshop #dataminingworkshop #dataminingtutorial #datasciencetutorial #ai #artificialintelligence #tutorial #dataanalytics #dataanalysis #machinelearningmodel
Рекомендации по теме
Комментарии
Автор

Hello Prof, I want to thank you for putting together training videos like this one. I have learned more than i have in the last 2 months of my data science MSc programme. You explained every line of code, every symbol and the reason behind every style of coding, that is what is called knowledge impartation. Thank you very much.

adir
Автор

Thanks so much, this is what a Linear Regression actually is and how we apply it into our dataset.
Pls also make videos about how applying Logistic Regression, KNN, Random Forest, SVM, Naïve Bias, Decision Trees using Python into our dataset.
Very interesting and clear

akbaraliotakhanov
Автор

every video you have posted provides value to the audience. Outstanding job. I hope your channel could grow exponentially, as it is deserved.

edpalen
Автор

Nice video, but how do we interpret the results? IOW, what would be the deliverable to our stakeholders? What are the actual predictions?

CapitanJusticia
Автор

This was great thank you so much! Really useful and looking forward to using it in my research.

dca
Автор

You are the best professor for explaining, thanks for your content!

ramblingman
Автор

this was realy helpful and wonderful of all other

thank you so much sir

srinivasmalvadkar
Автор

Can we call it a multiple regression model?
As we're predicting a value considering multiple parameters

_GayatriShetkar
Автор

Just found your channel. Thank you from a fellow 🇹🇭

Data_Man
Автор

Perfectly well put together videos. Just a little request about the linear regression model performance part can you elaborate a little bit what those numbers really mean. is this model good or bad?

ShoaibKhan-okiu
Автор

Glad to have more of your video to watch than usual 😍

marcofestu
Автор

This is exactly what I was looking for, thank you so much this was such a big help!!!

HealthOnMyMind
Автор

hi @Data Professor, I can i ask for minutes (9.50 - 10.00) when you explain about modulo operator. So i confused with the 0.523810833536016 where is that number come from? i keep repeating and repeating your video but still don't get where that float number comes up. at moment i do some assignments/ project and use your YT tutorial as guidance for me grasp this linear regression. thank you

titiQd
Автор

your way of describing is really helpful to me. Thanks a lot for your videos.

zoro
Автор

Beautiful presentation. Thank you sir.

michaeloladunjoye
Автор

I am lazy to comment usally, but this video is very delicious . Keep up with the good work, just subscribed.

tommytan
Автор

Thank you for making this video. It is very helpful. 👍

ektasingh
Автор

Great video, looking forward to more such videos like these. Also, can you tell me what R2 score tells us about the model?

RM-lbxw
Автор

Hello. I am confused about what data is being held in X_train and Y_train. I have only done linear regression with 2 variables before and I am confused about why a 353x10 matrix is being held in X_train and why a 353x1(?) matrix is being held in Y_train. Is Y_train a placeholder for 353 regression line y values that get produced after the 10 variable coefficients are calculated and made into a function? Or is the algorithm solving an overdetermined system of 353 equations with 10 unknowns using linear algebra: (y1=b0 + b1x1...) . . . (yn=b0 + bnxn...)?

matthewjaworski
Автор

If one trains on 100% of the data (skipping split/train/test), does the sklearns lin/logreg-implementaiton basically become the same 'classic' implementation as statsmodels or glm (in R)?

dr.navidsoltani