Linear Regression in 2 Minutes using Python – Scikit Learn – Machine Learning Basics




[ad_1]

Linear Regression is one of the simplest machine learning methods. In this video I explain how you can implement this easily using the scikit-learn library in Python.

Written version of this tutorial:
https://towardsdatascience.com/linear-regression-in-6-lines-of-python-5e1d0cd05b8d

GitHub link for notebook and dataset:
https://github.com/chasinginfinity/ml-from-scratch

If you would like to learn more about Linear Regression check out these links:
https://www.youtube.com/watch?v=4PHI11lX11I&t
https://www.youtube.com/watch?v=kR6tBAq16ng&t
https://towardsdatascience.com/linear-regression-using-gradient-descent-97a6c8700931
https://towardsdatascience.com/linear-regression-using-least-squares-a4c3456e8570

Having trouble ? Need help ? Connect with me !
Email: adarsh1021@gmail.com
Instagram: https://www.instagram.com/adarsh_menon_/
Twitter : https://twitter.com/adarsh_menon_
Github : https://github.com/adarsh1021

#machinelearning #datascience #regression

Source


[ad_2]

Comment List

  • Adarsh Menon
    December 5, 2020

    data.iloc doesn't that give you rows?

  • Adarsh Menon
    December 5, 2020

    hi sir what to do when x and y size are not same while plotting the data..its showing a value error

  • Adarsh Menon
    December 5, 2020

    Your tutorials are really easy to understand. ..

  • Adarsh Menon
    December 5, 2020

    What more do I need to do if I have datetime objects on the X axis?

  • Adarsh Menon
    December 5, 2020

    mine doesn't work without a file path to the excel sheet

  • Adarsh Menon
    December 5, 2020

    no se entiende un pito!!! pinche acento de la viga

  • Adarsh Menon
    December 5, 2020

    Really Nice , Please Keep Making Them With Respect To Machine Learning

  • Adarsh Menon
    December 5, 2020

    pls make another analysis, with real life data to solve real life problems.

  • Adarsh Menon
    December 5, 2020

    how to set slop(m) and c value and make line bro

  • Adarsh Menon
    December 5, 2020

    Excellent video, thank you!

  • Adarsh Menon
    December 5, 2020

    I don't quite get what's the meaning of ".reshape[-1,1]"? Would you mind explaining for a bit more?
    And for "lr.fit", what does it do behind the scene? Thanks a lot

  • Adarsh Menon
    December 5, 2020

    Cool video

  • Adarsh Menon
    December 5, 2020

    Excellent demonstration, fast and direct. I subscribed and will wait videos like this

  • Adarsh Menon
    December 5, 2020

    Good one!

Write a comment