Machine Learning in Python: Building a Linear Regression Model




[ad_1]

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.

🌟 Buy me a coffee: https://www.buymeacoffee.com/dataprofessor

πŸ“ŽCODE: https://github.com/dataprofessor/code/blob/master/python/linear_regression.ipynb

β­• Playlist:
Check out our other videos in the following playlists.
βœ… Data Science 101: https://bit.ly/dataprofessor-ds101
βœ… Data Science YouTuber Podcast: https://bit.ly/datascience-youtuber-podcast
βœ… Data Science Virtual Internship: https://bit.ly/dataprofessor-internship
βœ… Bioinformatics: http://bit.ly/dataprofessor-bioinformatics
βœ… Data Science Toolbox: https://bit.ly/dataprofessor-datasciencetoolbox
βœ… Streamlit (Web App in Python): https://bit.ly/dataprofessor-streamlit
βœ… Shiny (Web App in R): https://bit.ly/dataprofessor-shiny
βœ… Google Colab Tips and Tricks: https://bit.ly/dataprofessor-google-colab
βœ… Pandas Tips and Tricks: https://bit.ly/dataprofessor-pandas
βœ… Python Data Science Project: https://bit.ly/dataprofessor-python-ds
βœ… R Data Science Project: https://bit.ly/dataprofessor-r-ds

β­• Subscribe:
If you’re new here, it would mean the world to me if you would consider subscribing to this channel.
βœ… Subscribe: https://www.youtube.com/dataprofessor?sub_confirmation=1

β­• 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!
βœ… Check out Kite: https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=dataprofessor&utm_content=description-only

β­• Recommended Books:
βœ… Hands-On Machine Learning with Scikit-Learn : https://amzn.to/3hTKuTt
βœ… Data Science from Scratch : https://amzn.to/3fO0JiZ
βœ… Python Data Science Handbook : https://amzn.to/37Tvf8n
βœ… R for Data Science : https://amzn.to/2YCPcgW
βœ… Artificial Intelligence: The Insights You Need from Harvard Business Review: https://amzn.to/33jTdcv
βœ… AI Superpowers: China, Silicon Valley, and the New World Order: https://amzn.to/3nghGrd

β­• Stock photos, graphics and videos used on this channel:
βœ… https://1.envato.market/c/2346717/628379/4662

β­• Follow us:
βœ… Medium: http://bit.ly/chanin-medium
βœ… FaceBook: http://facebook.com/dataprofessor/
βœ… Website: http://dataprofessor.org/ (Under construction)
βœ… Twitter: https://twitter.com/thedataprof/
βœ… Instagram: https://www.instagram.com/data.professor/
βœ… LinkedIn: https://www.linkedin.com/in/chanin-nantasenamat/
βœ… GitHub 1: https://github.com/dataprofessor/
βœ… GitHub 2: https://github.com/chaninlab/

β­• 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

Source


[ad_2]

Comment List

  • Data Professor
    December 8, 2020

    Hi Professor, I followed the exact same steps as you, but my coef and intercept are different, do you know why? By the way, great presentation.

  • Data Professor
    December 8, 2020

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

  • Data Professor
    December 8, 2020

    Fantastic video, thank you.

  • Data Professor
    December 8, 2020

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

  • Data Professor
    December 8, 2020

    8:29 is the coefficient the same as the weight?

  • Data Professor
    December 8, 2020

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

  • Data Professor
    December 8, 2020

    Wonderful presentation! Though Im struggling a bit with the loss function and the training/iteration principle. How does this work exactly?
    For your first example using the diabetes dataset, I would like to train the data/iterate the data 1000 times, and thereby plot the loss function over a 2-dimensional grid at every 100, 300, 700 and 1000 iteration. How exactly would you do this? Thank you!

  • Data Professor
    December 8, 2020

    hi prof, may I ask ,last stage of scatterplot for boston house model , so x axis is represent the y_test value and y_axis is represent the y_pred value? How do i evaluate from the scatterplot. Could you explain more on plt representation. thank u sir!

  • Data Professor
    December 8, 2020

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

  • Data Professor
    December 8, 2020

    Thank you, sir, for making this so easy πŸ™‚
    #HappyLearning

  • Data Professor
    December 8, 2020

    Beautiful presentation. Thank you sir.

  • Data Professor
    December 8, 2020

    Where is the line best fit? How to draw a line best fit on the scatter plot graph?

  • Data Professor
    December 8, 2020

    What is the purpose of the train test split function?

  • Data Professor
    December 8, 2020

    7:25 MAE and others

  • Data Professor
    December 8, 2020

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

  • Data Professor
    December 8, 2020

    Hello DataProfessor. I am a beginner in ML and have learned some basic concepts of linear/logistic regression, SVM, ANN, Recommendation systems, Anomaly Detection from ML course by Andrew NG on Coursera. I am looking for some good walkthrough videos like these for picking up libraries like sklearn, tensorflow, etc. Do you have a set of videos that could help me?

    P.S – The walkthrough was amazing. thanks for the content.

  • Data Professor
    December 8, 2020

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

  • Data Professor
    December 8, 2020

    So excellent. Thank you so much

  • Data Professor
    December 8, 2020

    If you find value in this video, please give it a Like πŸ‘and Subscribe ❀️if you would like to see more Data Science videos.

  • Data Professor
    December 8, 2020

    nice!

Write a comment