Scikit Learn Linear Regression




[ad_1]

Basic Linear models in sklearn, the machine learning library in python.

Code: https://github.com/sachinruk/deepschool.io/ Lesson 1

Source


[ad_2]

Comment List

  • The Math Student
    November 26, 2020

    PLEASE STOP ZOOMING all the time when recording we see all perfectly without it just keep screen as it is

  • The Math Student
    November 26, 2020

    all the time i get the same error, i copied exactly what you've done and i got this: "ValueError: Expected 2D array, got scalar array instead:

    array=20.

    Reshape your data either using array.reshape(-1, 1) if your data has a single feature or array.reshape(1, -1) if it contains a single sample." even if i use 'reshape()' function i still get the same problem, could you help me enlighting it?

  • The Math Student
    November 26, 2020

    What is the math or trick behind this "I expect the coefficient is around 2" ? i have been searching for what a coefficient is since yesterday and hope your reply would solve this thank you

  • The Math Student
    November 26, 2020

    I have watched your video about leaving Youtube . I just want to thank you for your precious tutorials and wish you all luck and happiness

  • The Math Student
    November 26, 2020

    Dude, your lectures are full of jumping. You would better start from above till you end each process.

  • The Math Student
    November 26, 2020

    NO zoom in or Zoom out just no zoom

  • The Math Student
    November 26, 2020

    zooming makes is not useful to type it in
    please stop it

  • The Math Student
    November 26, 2020

    What is the deal with the [:2] ?

  • The Math Student
    November 26, 2020

    sadly poor explanation

  • The Math Student
    November 26, 2020

    how to make it about quadratic function????

  • The Math Student
    November 26, 2020

    You're all over the place. We can't focus if you can't

  • The Math Student
    November 26, 2020

    Great video! Is there a way to see the expansion coefficients for x_new and x_new2? I tried x_new.coef_ but it didn't work.

  • The Math Student
    November 26, 2020

    nice content. Please try to make one zooming out a bit. Its a bit irritating and hard to follow with the content with the content moving around all the time.

  • The Math Student
    November 26, 2020

    Please how to get the dataset to train ?

  • The Math Student
    November 26, 2020

    Nice video, just zoom out next time. It's hard to follow with all the scrolling.

  • The Math Student
    November 26, 2020

    You say "model = LinearRegression() #fit_intercept = False".

    But when you don't specify the fit_intercept, isn't it assumed to be true? Also, would a true fit-intercept fit the data better in all cases? If not, why not? I am confused by how fit_intercept works.

    Thanks,
    Priya

  • The Math Student
    November 26, 2020

    Can you pleaseeee do another without numpy random but instead real data??

  • The Math Student
    November 26, 2020

    what is that [ : ,None]?

Write a comment