2 Simple Linear Regression Tutorial With Python Pandas, Sklearn, Seaborn, Matplolib




[ad_1]

This Tutorial 2 on Simple Linear regression and some practical in Python(step by step) using Jupyter notebook.

Link to data: http://www-bcf.usc.edu/~gareth/ISL/Advertising.csv
Find me on my website: www.kindsonthegenius.com
More Lessons on http://kindsonthegenius.blogspot.com

Linear Models for Regression: http://kindsonthegenius.blogspot.com/2018/01/linear-models-for-regressionlinear.html
Coefficient of Determination in Linear Regression: http://kindsonthegenius.blogspot.com/2018/06/what-is-coefficient-of-determination-in.html
Join my research group(International Computer Programmer) – https://www.facebook.com/groups/1447709731988533/
These are the Steps
1. Import the pandas library
2. Import your dataset
3. View your dataset
4. Import libraries for plotting(seaborn, matplotlib
5. Do a pairplot of the data
6. Extract the Features into X
7. Examine X
8. Extract the output variable into y
9. Examine y
10. Import library for spliting
11. Split data into training and test dataset
12. Perform Linear Regression
13. View the Regression Coefficients

Source


[ad_2]

Comment List

  • Kindson The Genius
    December 9, 2020

    Sorry for the music playing in the background! Never knew it was so bad.

  • Kindson The Genius
    December 9, 2020

    So great genius

  • Kindson The Genius
    December 9, 2020

    Thank you so much for your videos! I would advise to do more machine learning algorithm tutorials! You have a very good way of taking complex information and making it very simple to learn. I like how you are straight to the point, and include all necessary steps. I also like how you used a guide to get your through your linear regression approach. I have taken notes on that lol. I will search to see if you have more ML videos, but feel free to link any that you think would be good for a beginner ML student. Thank you very much, and you have indeed earned a SUB!

  • Kindson The Genius
    December 9, 2020

    in there a link to next video? good stuff thanks

  • Kindson The Genius
    December 9, 2020

    Great video and I just love the background music mainly because I know the organization that sang it

  • Kindson The Genius
    December 9, 2020

    Hi Kindson,

    Your tutorials are really very good, rigorous and deep. Want to have the link for ML with python with various algorithms. Also link for Deep Learning practice exercises / projects. Thanks a lot

  • Kindson The Genius
    December 9, 2020

    why the fuck you're listening to music , wtf

  • Kindson The Genius
    December 9, 2020

    When I am doing x= data[feature_cols]
    it is giving me the error that data is not defined.

    what should i do?

  • Kindson The Genius
    December 9, 2020

    great video
    can you share the datasets

  • Kindson The Genius
    December 9, 2020

    thank you share the code

  • Kindson The Genius
    December 9, 2020

    Please also give the links to the next part of the video

  • Kindson The Genius
    December 9, 2020

    Great video . Can you share the code

  • Kindson The Genius
    December 9, 2020

    Great tutorial , Keep great work up. Just one humble request, Please don't play music in the background. It make voice worse after YouTube's compression .

Write a comment