Linear Regression in 2 minutes

Поділитися
Вставка
  • Опубліковано 8 вер 2024
  • Linear Regression in 2 minutes.
    ---------------
    Credit:
    🐍 Manim and Python : github.com/3b1...
    🐵 Blender3D: www.blender.org/
    🗒️ Emacs: www.gnu.org/so...
    Music/Sound: www.bensound.com
    This video would not have been possible without the help of Gökçe Dayanıklı.

КОМЕНТАРІ • 71

  • @ionut.666
    @ionut.666 2 роки тому +137

    This is a very good exercise for people who already know the topic, but want to learn new ways of explaining it to others in a very short time.

  • @TheKrasTel
    @TheKrasTel 2 роки тому +10

    Your videos are absolutely stunning, only matter of time when the serious views will come in. Please keep doing these! :)

  • @nancylopez5476
    @nancylopez5476 Рік тому +8

    Wow, you saved my life ! This is the most clear explanation about this topic. Loved it ! Love you !

  • @IncredibleSkillz-df4xk
    @IncredibleSkillz-df4xk 9 місяців тому +7

    Thank you SOOO much for this video.. My intergated 1 teacher was absent today and I didn't understand the topic. I then stumbled upon this video and it helped alot. THANKS!

  • @RohitKumar-dg2qt
    @RohitKumar-dg2qt 2 роки тому +6

    Most awesome videos that explains things how they are suppose to be. Love it

  • @mamidalamani9636
    @mamidalamani9636 Місяць тому +2

    00:01 Linear regression predicts the value of a dependent variable based on an independent variable.
    00:20 Linear regression helps predict new values based on existing data
    00:38 Linear regression is useful for prediction problems.
    00:55 Quantifying the fit of a line to data points
    01:10 Solving a prediction machine learning problem using linear regression from scratch.
    01:29 Linear regression is simple and extensible
    01:49 Linear regression allows interpretation of coefficients
    02:08 Linear regression involves finding the relationship between two variables.

  • @chahinezmazouzi2526
    @chahinezmazouzi2526 2 роки тому +9

    Great content! it's so helpful to see mathematical concept visually explained! Thank you for making it so easy and available.

  • @tanishqawasthi5664
    @tanishqawasthi5664 2 роки тому +3

    This Channel is Really Creating some masterpieces in Visually Explaining Some Really deep Concepts in Optimization, A.I & Machine Learning....The Art with which you Visually Explain Things is Truly Phenomenal,
    I've Been a Huge Fan of this Channel since DAY 1 ,Please Never Stop Creating this type of content ….. !!!
    As an Optimization Student ,Is There Any Way I can connect with you and help this channel create more good Content..??

    • @VisuallyExplained
      @VisuallyExplained  2 роки тому +2

      Hey there, thanks a lot for watching! I am glad you enjoyed my channel. Feel free to DM me on twitter.

  • @Ken08Odida
    @Ken08Odida 2 місяці тому

    Thank you. Perfectly simplified in 2 minutes. Now I can build on this basic understanding

  • @santhoshvavilala5397
    @santhoshvavilala5397 4 місяці тому

    Very well explained.. it helps to understand how the function does the job.. ignore negative comments..😅

  • @duaaali3790
    @duaaali3790 12 днів тому

    Thank you so much for this amazing effort

  • @sophiafunworldatthepark6740
    @sophiafunworldatthepark6740 7 місяців тому +1

    simple and easy to understand.

  • @stefanrusu9895
    @stefanrusu9895 2 роки тому +7

    Awesome video! I love how you explain every concept visually and easy to understand. Any chance on making a video on logistic regression as well?

  • @amirabenkaidali2941
    @amirabenkaidali2941 Рік тому +1

    Thank you sm for this simple explanation it helps a lotttt

  • @vinayakmarv6873
    @vinayakmarv6873 2 роки тому

    This is the best way for video lectures

  • @PritishMishra
    @PritishMishra 2 роки тому +2

    Amazing explanation and animations!

  • @RadicalRed0
    @RadicalRed0 10 місяців тому +1

    This was very helpful. Thank You

  • @ranjanpal7217
    @ranjanpal7217 9 місяців тому +1

    Amazing explnanation

  • @tohigherhighs
    @tohigherhighs Місяць тому

    What an actual boss of a video

  • @yashtibrewal4259
    @yashtibrewal4259 2 роки тому +1

    Perfect video, thanks

  • @samuraipiyush
    @samuraipiyush 7 місяців тому +1

    beautiful

  • @huntergarrigus368
    @huntergarrigus368 Рік тому +2

    Can someone please explain how the gradient is applied to the summation over the square error term to produce the result shown at the bottom at 1:13

  • @bheemeshd3101
    @bheemeshd3101 2 роки тому

    this is masterpiece of information you deserve more views

  • @ahlamouldkhesal5562
    @ahlamouldkhesal5562 8 місяців тому

    that was life saving TSM!!!

  • @learnwitharbia3477
    @learnwitharbia3477 Рік тому +1

    Just Amazing!

  • @christinakujak5275
    @christinakujak5275 11 місяців тому +1

    Best explanation of linear regression that I've heard.

  • @sohrabhashed1488
    @sohrabhashed1488 6 місяців тому

    Simple and nice thanks

  • @user-up1xc6ds4j
    @user-up1xc6ds4j Рік тому +1

    Wooow great video!

  • @eudaimonia2120
    @eudaimonia2120 4 місяці тому +1

    What happened after 1:10, what was that gradient thing?

  • @user-dg8cc4bn3u
    @user-dg8cc4bn3u 6 місяців тому

    Thank you sir this one saves me

  • @reinhardsilaen9594
    @reinhardsilaen9594 2 роки тому +1

    Please do Random Forest Regression and Knn Regression.

  • @Fakipo
    @Fakipo 7 місяців тому +1

    How did we get those equations to solve for alpha and beta?

  • @janpoonthong
    @janpoonthong Рік тому +1

    Good video

  • @lammaituyen15
    @lammaituyen15 Рік тому +1

    Nice ! Amazing enough for a beginner like me!! @@

  • @aerbon
    @aerbon Рік тому +2

    What is 'n' in the formula for beta at 1:18?
    I assume it is the number of points but I can't get my code to work so I'd like to be sure.
    Thanks
    Update: after some testing it is clear that the issue is either with the formula for alpha or my implementation of it.
    Everything works when beta is 0, but as i change my sample to have a value of beta further and further from 0 alpha gets offset more and more for some reason.
    i am about to go through my third re-write of the thing and i don't know what to change.
    if anyone wants to try and figure out what is wrong then here's some results:
    Sample: alpha = 0.5, beta = 0 Result: alpha = ~0.5
    Sample: alpha = 0.5, beta = 50 Result: alpha = ~0.25
    Sample: alpha = 0.5, beta = 100 Result: alpha = ~0
    yes the error does grow linearly with beta.
    Update 2: re-wrote it for the third time. still wrong in the exact same way. send help.

    • @noname-anonymous-v7c
      @noname-anonymous-v7c 7 місяців тому

      The formula is wrong. the formula for alpha is wrong. dem = sum(x_i^2) - n*sum(x_i)^2, nom = n*sum(x_i * y_i) - sum(x_i)*sum(y_9)

  • @developer_novice4237
    @developer_novice4237 Рік тому

    thank you for the python code!

  • @larissacury7714
    @larissacury7714 3 місяці тому

    That's great!

  • @noname-anonymous-v7c
    @noname-anonymous-v7c 7 місяців тому

    1:20 the formula for alpha is wrong. dem = sum(x_i^2) - n*sum(x_i)^2, nom = n*sum(x_i * y_i) - sum(x_i)*sum(y_9)

  • @user-xe5ev3xv3b
    @user-xe5ev3xv3b 4 місяці тому

    loved it

  • @EmiliaKaida
    @EmiliaKaida 2 роки тому +1

    Are you using manim for these presentations or something else ?

    • @VisuallyExplained
      @VisuallyExplained  2 роки тому +2

      I am using a combination of manim, blender, and after effects.

    • @EmiliaKaida
      @EmiliaKaida 2 роки тому

      @@VisuallyExplained Thanks

  • @Bedivine777angelprayer
    @Bedivine777angelprayer Рік тому

    wow very nice can you explain pandas and dataframe with all methods I am Ai student

  • @alimortadahoumani1134
    @alimortadahoumani1134 9 місяців тому

    great video
    only for those who already know it

  • @norivall7111
    @norivall7111 8 місяців тому

    I think I have a problem with the formula because when i try it to an example, it completely wrong.

  • @nextexpertadvisors
    @nextexpertadvisors 27 днів тому

    I used linear regression in my forex bot!

  • @kunalsoni7681
    @kunalsoni7681 10 місяців тому

    wow 😊✨

  • @aimiuwugodstand4210
    @aimiuwugodstand4210 Рік тому

    Mehn, great content

  • @dy5topian
    @dy5topian 8 місяців тому

    am i stupid or maybe with the double equations your gave you can't find values of alpha and beta because one equation is just multple of the other

  • @omartakruri
    @omartakruri Рік тому

    HOLY $H!T

  • @will201084
    @will201084 9 місяців тому +1

    I went from a 1 minute explanation video to a 2 minute one :/

  • @madaweehathloul2045
    @madaweehathloul2045 Рік тому

    ابوس راسك ياشيخ

  • @calculate.
    @calculate. 10 місяців тому +1

    It's not lazy it's time wasting, why would anyone waste their time doing something that a program can give answers to we just need to understand it.

  • @user-jd1cy9gp3q
    @user-jd1cy9gp3q 2 роки тому

  • @idgaf0099
    @idgaf0099 11 місяців тому +61

    This is not a good video who wants to learn all of this stuff from scratch!

    • @AbdullaHernandez
      @AbdullaHernandez 8 місяців тому +55

      It's 2 minutes long, I'm sorry but what did you expect?

    • @Justinjaro
      @Justinjaro 6 місяців тому +21

      I learned what I needed form this. Did you think you're gonna learn everything from scratch from a 2 minute vid?

    • @papang1749
      @papang1749 6 місяців тому +2

      I do! I needed this video!!!

    • @vishalvarakhedkar8816
      @vishalvarakhedkar8816 5 місяців тому

      I’d suggest- Statquest Josh Starmer. For anyone zero-hero

    • @idgaf0099
      @idgaf0099 5 місяців тому

      @@vishalvarakhedkar8816 I love his ukulele videos, lol

  • @KyloRen-o5g
    @KyloRen-o5g 2 місяці тому

    The formula is wrong.. he conveniently moved on...Read below many have commented on this....

  • @shubhampathak991
    @shubhampathak991 5 місяців тому +1

    please make your speech little slower so you can be heard without giving stress

  • @naveedanwer8262
    @naveedanwer8262 3 місяці тому +1

    Just learn how to speak slwoly and you will have more views

  • @adamlabus9979
    @adamlabus9979 8 місяців тому

    That "gradient" wasn't explained. And your a definition is missing two n*.

  • @primate745
    @primate745 4 місяці тому

    This is very poorly explained.