Least Square Method (Curve Fitting)

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024
  • Least square method or Least square regression is an approach followed in curve fitting, where we obtain the best-fit curve/line corresponding to a set of data points. This approach tries to minimize the sum of the square of the errors (or residuals) in the set of data points.
    In this video, I try to obtain the slope and intercept of a best fit straight line passing through a set of data points using the Least square method.
    ▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱
    Support💖 / dibyajyotidas
    Donate🤝🏻paypal.me/Fort...
    Telegram - t.me/FortheLov...
    ▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱▱

Комментарии • 101

  • @shashik8541
    @shashik8541 3 года назад +12

    Key takeaway: To get the ideal/desired/expected straight line through the scattered dots (x-y plot), minimize the error values and keep the line as close to the dots as possible. Error values can be negative, so minimize the square of error values. Hence, the concept "Least Square Method".
    Wow! This indeed is among the best explanations on LS method. Kudos to the teacher. Thanks.

  • @tehnoplus1
    @tehnoplus1 4 года назад +19

    You are the best at explaining the linear regression on youtube! Kudos!

  • @whovikrantsingh
    @whovikrantsingh 2 года назад +4

    Wow! Outstanding explanation. "For The Love Of Physics" is one of my most favorite RUclips channel for a reason, and that reason flashes in front of my eyes everytime.

  • @sauravkumar9454
    @sauravkumar9454 3 года назад +2

    Great Explanation. Cleared all the doubts in one go. Loved it.

  • @gopalpandit6835
    @gopalpandit6835 Год назад +1

    I am a pharmacy student, tried hard to find and learn this curve fitting but this video just solved all my hustle over browsing and understand little by little. Would say you explained it in the best possible way it could have been. Thankyou.

  • @vartikaggarwal4302
    @vartikaggarwal4302 4 года назад +6

    Awesome content delivered with such an ease.Hats off to you sir!

  • @michellemathew_ximb6286
    @michellemathew_ximb6286 3 года назад +2

    explained in an extremely concise manner! thank you very much sir :)

  • @QariMuhammadAbbas
    @QariMuhammadAbbas 3 года назад

    The best explanation of least square.
    Wonderful!!!

  • @deepakgori8174
    @deepakgori8174 4 года назад +2

    Best explaition sir. You are great ,keep making such type videos and one day world's best scientist ,economist will become from india.

  • @pedromoresco93
    @pedromoresco93 3 года назад

    Hey man, congratulations from Brazil! Very good material, I finally understand this method! Thank you so much!

  • @porershines
    @porershines 4 года назад

    Thanks Sir, unbelievably your video permanently fixed least square method in my mind.

  • @AnkitDAS-r4x
    @AnkitDAS-r4x 4 месяца назад

    Thanks bhaiya bohot achhe se samjhayan Hain aapne... Thanks a lott❤

  • @halani6929
    @halani6929 3 года назад

    thanks so much, infact i have understood this without having to cram the formulae.

  • @nagarajamk7026
    @nagarajamk7026 3 года назад

    Great way of explaining ---- I am impressed

  • @AlloyedFrequencies
    @AlloyedFrequencies Месяц назад

    Thank you so much for explaining

  • @nonstoplove454
    @nonstoplove454 Год назад

    Best explanation . I'm satisfied.

  • @gauravgupta250
    @gauravgupta250 5 лет назад +1

    You have cleared my concept about least square method better than my professor who teaches us numerical analysis .

  • @ajaykumar5873
    @ajaykumar5873 3 года назад

    Thank you very much sir, This video cleared my final doubts about curve fitting. Thank you very much sir. Heartfelt Love for you sir.

  • @mjmeternal2696
    @mjmeternal2696 Год назад +1

    Best explanation

  • @narayanamjairamdesik9007
    @narayanamjairamdesik9007 4 года назад

    Perfect point to point clear explanation. I loved it.

  • @surajjadhav2887
    @surajjadhav2887 3 года назад

    Now I have it in my head till eternity.

  • @maheerashid5477
    @maheerashid5477 Год назад

    very good explanation

  • @strbacademy2019
    @strbacademy2019 3 года назад +1

    Realy asome explanation sir..

  • @rajkir2852
    @rajkir2852 3 года назад +1

    This is really awesome!
    I am learning data science.
    Plz do a tutorial on logistic regression

  • @bimblebom
    @bimblebom 2 года назад

    Totally brilliant! You have a gift which is rare, i.e. the gift of teaching. Do you have a Patreon account? If you don't then you should get one.

  • @SAURABHKUMAR-dw1hx
    @SAURABHKUMAR-dw1hx Год назад

    amazing sir,
    I am an Engineering Student from IIT Kanpur,
    Mujhe jo teacher ne padhata the such me kuch samjh nhi aya but appse padhne ke baad,
    I was like , Ye kya h
    thank you sir 😊😊😊😊😊😊

  • @oluwaseyiomotayo785
    @oluwaseyiomotayo785 3 года назад

    You're the best sir.

  • @siddhantbhandari1064
    @siddhantbhandari1064 5 лет назад +7

    sir, you make your thoughts as a tool in real problems explanation, that was nice and ever wonderful explanation on mathematics.

  • @suhailahmadtali4963
    @suhailahmadtali4963 3 года назад +1

    Thank you Sir, very nicely explained. Please make a video on non linear curve fitting also.

  • @rybread5718
    @rybread5718 3 года назад

    Great explanation. Thanks, man.

  • @semihguner1
    @semihguner1 2 года назад

    great video! Thanks

  • @cirosanciro
    @cirosanciro 3 года назад

    you are the best, thanks man!

  • @diedforall
    @diedforall 3 года назад

    Nice explanation sir

  • @alokbarik713
    @alokbarik713 4 года назад +2

    Sir namaskar... All lecturers are really very informative and interesting. It's my humble request to you kindly makes videos on time dependent Schrodingers equation. Thank you.

  • @yuvayouth6039
    @yuvayouth6039 5 лет назад

    wow sir very nice u explain this topic very beautifully

  • @btAkshaySingh
    @btAkshaySingh 3 года назад

    Loved your video great work

  • @dalto4249
    @dalto4249 3 года назад

    Very informative, thank you

  • @khushikumkum4890
    @khushikumkum4890 4 года назад

    Sir, this video is very helpful n I always appreciate the way you present "the content" :D .

  • @LokeshAhlawat-nn1bv
    @LokeshAhlawat-nn1bv 3 года назад

    smooth understanding...Thanks

  • @nishantduttmishra2903
    @nishantduttmishra2903 3 года назад +1

    this was a damm good explanation, thank you so much sir

  • @kirtiparashar1726
    @kirtiparashar1726 3 года назад

    Thank you so much sir 🌸

  • @Rycamcam
    @Rycamcam 4 года назад

    Great lecture! Keep up the good work.

  • @brokenbauccner3945
    @brokenbauccner3945 4 года назад

    Great video sir... 👍 Awesome explanation ❤

  • @srijitabar8613
    @srijitabar8613 4 года назад

    Excellent explanation

  • @mjmeternal2696
    @mjmeternal2696 3 года назад +1

    You're the best. So the errors are the residues?

  • @advikawalia1914
    @advikawalia1914 5 лет назад

    Very good dibya....keep it up.

  • @aafreenmoinuddin2197
    @aafreenmoinuddin2197 3 года назад

    Brilliant ! Thank you

  • @fahadk7392
    @fahadk7392 3 года назад

    Superb sir

  • @OMKAR-lj8ci
    @OMKAR-lj8ci Месяц назад

    well explained

  • @arbaz4236
    @arbaz4236 3 года назад +7

    Even after I completed BSc(H) Physics from Hansraj you still teach me DJ sir!

  • @李昊泽-c3j
    @李昊泽-c3j Год назад

    very nice!

  • @marox4344
    @marox4344 5 лет назад

    Thanks for amazing video 👏🏼👍🏻

  • @aryadas3182
    @aryadas3182 2 года назад

    Thank you

  • @priyamehra462
    @priyamehra462 3 года назад +1

    Plz make some other videos on numerical analysis topics..

  • @aniketsingh8758
    @aniketsingh8758 2 года назад

    Awesome!

  • @jaihosabkijhs8236
    @jaihosabkijhs8236 3 года назад

    Well explained sir. Can you please let me know the Digital Tool or device you used for writing in this video?

  • @harshitmathuriya702
    @harshitmathuriya702 4 года назад

    Helpful video

  • @gokulanvs
    @gokulanvs 3 года назад

    Happy teachers day ☺️ ☺️ ☺️

  • @viveksmenon123
    @viveksmenon123 2 года назад

    When I was watching this, I had a a question which was - how can just dy/dx confirm minima here(it could be maxima as well)? I thought about it, and it was because E = (yi-f(x))^2 is an upwards parabola, and double differential will always be positive, hence dy/dx=0 will be true only for a minima point. I left school over 10 years back, but I really enjoyed this video.

  • @prakritreeeeeee
    @prakritreeeeeee 2 года назад

    Thank you yr ❤️❤️

  • @prabhakarkeshari1839
    @prabhakarkeshari1839 3 года назад

    Jabardast.👌

  • @MegaProggy
    @MegaProggy 8 месяцев назад

    The main purpose is to find the f(x), which will minimize the Errors?

  • @AnshKachhiya
    @AnshKachhiya 3 месяца назад

    Is there a playlist or another channel for enginnering maths

  • @Mr1Yahya
    @Mr1Yahya 3 года назад

    Great, could you tell us what are the software and tools you used in writing and explaining please

  • @mayankjha3100
    @mayankjha3100 3 года назад +1

    awosome, my all doubts cleared......... how i can contact to you sir, need your help. i m new in this field.

  • @AbhishekPandey-jg2ng
    @AbhishekPandey-jg2ng 3 года назад

    Sir, can we plot count vs voltage characteristic of Geiger Muller counter using least square method.If yes it will be for straight line or for quadratic equation as we require equation for using least square method.

  • @omkarsapte4119
    @omkarsapte4119 4 года назад

    sir can we take difference f(xi)-yi for neglecting the negative values

  • @lmcmedia6656
    @lmcmedia6656 4 года назад

    Excellent explanation sir..can u provide pdf on this topic

  • @swetaverma4214
    @swetaverma4214 5 лет назад +1

    Thanku sooo.. M7ch sir...
    I was just looking for this kind of explanation

  • @torque5031
    @torque5031 7 месяцев назад

    4:30 why don't we take modules of all negative errors and then simply added by positive error, instead of squaring errors?

  • @hardikjain-brb
    @hardikjain-brb 2 года назад

    helped me with ph110 xD

  • @premkumarkolapuri657
    @premkumarkolapuri657 4 года назад

    Wt type of technology use to explain this lecture,tell me Sir

  • @gauravpanwar8231
    @gauravpanwar8231 3 года назад

    Perfect 😎

  • @marox4344
    @marox4344 5 лет назад +1

    Good day sir. I wonder if i can ask for a video about (monte carlo simulation)? ?

  • @toufeeqsiddique7520
    @toufeeqsiddique7520 2 года назад

    Sir, what's software did you use for this tutorial

  • @وَأَعِدُّواْ-ض9ج
    @وَأَعِدُّواْ-ض9ج 4 года назад

    Thanks

  • @khushpreetkaur4218
    @khushpreetkaur4218 3 года назад

    sir please tell how to draw a curve for Helmholtz Coil

  • @subhomoysaha
    @subhomoysaha 2 года назад

    which software u use for writing

  • @oguzguduk5050
    @oguzguduk5050 3 года назад +4

    If there were not Indian guys nobody would have a chance to learn math

  • @prashantchaubey4379
    @prashantchaubey4379 5 лет назад

    Sir, please give videos on relativistic quantum mechanics

  • @sahilrajeshgajbhiye4968
    @sahilrajeshgajbhiye4968 5 лет назад

    ty sir

  • @chiko4536
    @chiko4536 3 года назад

    So on line 9 of the code shown at about 14:20, where does that 5 in the matrix come from?

    • @kirtiparashar1726
      @kirtiparashar1726 2 года назад

      The element a22 of A will be n i.e. the number of datapoints we have.
      Hence, here he considered 9 datapoints (as you can count in matrix A and B), so here the value of n = 9, hence a22 will be 9, but I think he wrote 5 there by mistake. It will be 9 there.

  • @pathfinder_4all
    @pathfinder_4all 4 года назад

    A(2,2) should be '8', I think.

  • @piyushm2340
    @piyushm2340 5 лет назад +3

    The nuclear physics playlist??

  • @amaljeevk3950
    @amaljeevk3950 Год назад

  • @samchd2848
    @samchd2848 4 года назад

    Sir can you please help me

  • @josjos2157
    @josjos2157 5 лет назад

    Sir one humble request... when u taking class while standing with chalk only clear n we can understand.... while u sitting i feel u going fast fast fast... i personally feel that i couldn't understand sir... can u please stand n teach like before sir.. will u?

    • @FortheLoveofPhysics
      @FortheLoveofPhysics  5 лет назад +1

      Thanks for the suggestion. I may have been a bit fast in this video anyways. I don't know how much sitting/standing has to do with it. I will try to work on your suggestion and see how it can be improved

    • @josjos2157
      @josjos2157 5 лет назад

      @@FortheLoveofPhysics sorry sir if i hurted... am asking can u talk slowly because am from Tamilnadu n from childhood am tamil medium only so i have language problem also so that i asked u sir... i knew u r doing great job sir n its not easy also... u r covering the portion of TRB exam syllabus sir really great help sir first want to say thank u so much... if anything hurted u am really sorry sir... u please continue ur great work it will be helpful for more people sir....

    • @FortheLoveofPhysics
      @FortheLoveofPhysics  5 лет назад

      Hi, its alright. No harm done. I m continually looking for feedback to improve my videos. So your suggestion is welcome. Don't worry about it :)

    • @josjos2157
      @josjos2157 5 лет назад

      @@FortheLoveofPhysics Thank you for your polite words sir... keep rock...

    • @ajilbabu13
      @ajilbabu13 4 года назад

      @@FortheLoveofPhysics ❤

  • @absolute___zero
    @absolute___zero 4 года назад

    why do I need to use error squared? You just elevated the polinomial complexity to one degree higher by using squares! Negative error is not a reason to to convert it into a complex squared function, you could just calculated as the average of errors, using abs(error) and that's it. This method is too complex for this tiny problem!

    • @delluminatis
      @delluminatis 4 года назад

      its way more accurate than without squares

  • @learningclass7353
    @learningclass7353 5 лет назад

    How can we contact u sir email or insta🙏🙏🙏