Learn about Linear Regression in python in this short! #python #datascience #shorts
Пікірлер: 70
@jaehuilim74672 ай бұрын
An excellent illustration of Overfitting
@asdeEducation2 жыл бұрын
I hope I remember come back to this video in October
@robmulla2 жыл бұрын
Haha. Set a reminder! Hopefully we can beat the forecast!
@kartikgoswami Жыл бұрын
Its November
@nirjalkumarmahato330 Жыл бұрын
It's January
@nirjalkumarmahato330 Жыл бұрын
It's February 🙃
@alirezouali3119 Жыл бұрын
It’s march
@ferrychandra99347 ай бұрын
Now do this without libraries, except Matplotlib and Pandas 😂
@1_lloyd_146 Жыл бұрын
Btw, I rlly love this type of video, so make more videos of linear and nonlinear regression plsssss
@robmulla Жыл бұрын
Thanks for the feedback. Will do.
@bashar9200 Жыл бұрын
Thank you for such wonderful content!! I learn a lot from your codes
@robmulla Жыл бұрын
Thanks for watching
@David-hl9iv6 ай бұрын
With Linear regression you don't necessarily need to get a line. By choosing different functions as your basis elements for the regression, you can fit any curve to the data, be it exponential or a sine curve. Linear Regression looks to minimize the distance of expected outputs at x to outputs that can be represented by the linear combinations of the functions that you are given, at that point.
@paulantoni19342 ай бұрын
Yeah but then we could just go for polynomial regression.
@spazeasterix6723Ай бұрын
Although correct in concept, exponentials are rarely practically used. Probably because exponentials are much more sensitive than even polynomial functions and are therefore much more susceptible to overfitting. But as I said, technically, you're implication is correct.
@NicholasRenotte Жыл бұрын
Rob that keyboard cam is 🔥
@robmulla Жыл бұрын
Thanks Nick. This was my old setup where I had an old webcam precariously attached to a mic stand. It would fall over about once an hour 😂 I need to get your opinion on cameras. Recently invested in better lighting but feel like I’m doing something wrong. Your videos are top notch.
@NicholasRenotte Жыл бұрын
@@robmulla LOL i've been there, the ol' jerry rigged camera setup 😂. Elgato Multi-Mount arms are a lifesaver!!
@txsw2 жыл бұрын
Love these!! I’ve seen two and they are excellent ideas and useful
@robmulla2 жыл бұрын
Thanks for the feedback. My first attempts at making shorts. It’s really hard to keep it under a minute.
@broxxad Жыл бұрын
Ey, you should only expect logarithmic regression with your awesome contents.
@robmulla Жыл бұрын
Haha. Thanks!
@Ligress Жыл бұрын
Exponential
@h44r96 Жыл бұрын
Well said 👍
@broxxad Жыл бұрын
@@Ligress logarithmic sounds more realistic.
@Ligress Жыл бұрын
@@broxxad Fine, by the way Do you work in Data feild
@Kashi_Mochibean6 ай бұрын
I just found this randomly. But it's the most wonderfully-subtly-obvious and nerdiest way I've ever been asked for views and subscriptions. So I'm hitting the button
@boimchartis Жыл бұрын
Nice video bro👍👍
@robmulla Жыл бұрын
Glad you liked it
@thespicycabbage11 ай бұрын
you should be using time series
@yunuskaratepe5 ай бұрын
I don't understand the idea behind the keyboard cam but cool video :)
@CaribouDataScience2 жыл бұрын
You misspelled Ggplot2 😅
@robmulla2 жыл бұрын
No, I think I got it right. 😉
@halkkoi1538 Жыл бұрын
Wow you are so amazing bro
@robmulla Жыл бұрын
Thanks Halk!
@kadourkadouri3505 Жыл бұрын
don't you think a nonlinear least squares model would better fit this data ?
@robmulla Жыл бұрын
Great question. It may be!
@eron1633 Жыл бұрын
I'm kinda new in python and programming,and which interface did you use in this video?)
@robmulla Жыл бұрын
I'm using jupyter lab. I have an intro video that would be perfect for you here: kzbin.info/www/bejne/a6HJYZKYpbOVodk
@satyamARAS Жыл бұрын
Reading regression analysis books 😅 .
@1_lloyd_146 Жыл бұрын
Good work, but im curious what is day_count, is it the total of days or sth? Also, I rll want to have the dataset of this if it doesnt bother you
@robmulla Жыл бұрын
Thanks. I don’t have this dataset public but I do have another video on exploratory data analysis where I go over a similar dataset which I make public. Check that one out. I think day count is just a increasing number since the day the channel started.
@1_lloyd_146 Жыл бұрын
@@robmulla Tysm! That’s super helpful
@giraffa-analyticsКүн бұрын
Linear regression is a bad choice for this kind of data. This is a time series problem. cumulative sums introduce autocorrelation between datapoints, which violates the assumption of iid residuals of linear regression. Code ok, reasoning not.
@hasijasanskar2 жыл бұрын
October -> September :)
@viewsfromthechris7810 Жыл бұрын
Looks like you got way more than the prediction lol!
@robmulla Жыл бұрын
Yep :D
@gustavomaia22529 ай бұрын
Now you have learned that the skicit learn developers know how to do a linear regression 😊
@bhargavapothakamuri42184 ай бұрын
I am getting value error when I run on my 2D CSV, with 2 columns “date” and “value”, during model.fit(x,y)
@shivayshakti6575 Жыл бұрын
👍
@robmulla Жыл бұрын
🙌
@jensenholm23617 ай бұрын
Wow that’s the most linear dataset I’ve ever seen
@robmulla7 ай бұрын
Not any more :D
@Belawithnoalcohol8 ай бұрын
This is October, so how is it so far?
@SayoojGarrix6 ай бұрын
83k. So regression miserably failed 😂
@akankshashrivastava1009 ай бұрын
Do you teach the same?
@user-kp9si1km6g Жыл бұрын
How to write gta 6 on python, just import gta6 lib
@robmulla Жыл бұрын
Pretty much. Import and add 1.
@lukas8385 Жыл бұрын
How to linear regression: step 1 import linear regression -.-
@robmulla Жыл бұрын
Yep! You’ve got the hang of it!
@gokayfem Жыл бұрын
did you get 100k views?
@robmulla Жыл бұрын
Yes I did! As of today (Oct 20) I'm at 387k views. Thanks for watching.