Nonlinear Least Squares

Поділитися
Вставка
  • Опубліковано 20 лип 2024
  • Finding the line of best fit using the Nonlinear Least Squares method.
    Covers a general function, derivation through Taylor Series.

КОМЕНТАРІ • 29

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

    You explanined in 10 min what my proffesor could't in two weeks

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

    Thank you for your detailed explanation of this method. After learning this method, I tried to write a code to do this example that you introduced here. As you rightly mentioned, initial guess is very important, particularly for c2. By looking at the data, we can have an idea of c2, that is related to the period of the cosine curve. If c2 is guessed too low or too high, the algorithm won't converge, it must be close to the true value...Thank you again for your great video. Educational, detailed, and very helpful.

  • @morrismbuba763
    @morrismbuba763 3 роки тому +1

    What a good explanation? Really got the point Prof.

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

    thank you man, that was an excellent explanation

  • @kupo871
    @kupo871 5 років тому

    Love the videos!

  • @rishabhsangal5155
    @rishabhsangal5155 3 роки тому

    This was really helpful sir. Thank you :-)

  • @nmana9759
    @nmana9759 3 роки тому

    Thank you so much! Can you please explain more about Gauss-Newton and Levenberg-Marquardt algorithms?

  • @elshaday9860
    @elshaday9860 3 роки тому

    That was very helpful ; Thankyou very much,,,

  • @ParniaSh
    @ParniaSh 3 роки тому

    Well explained! Thanks

  • @inigomeniego4906
    @inigomeniego4906 4 роки тому

    Really cool!

  • @machotravis
    @machotravis 3 роки тому

    Thank you!!

  • @FreeThiinker
    @FreeThiinker 5 років тому

    You are Amazing !

    • @gabrielomorotionmwan6994
      @gabrielomorotionmwan6994 4 роки тому

      ZERO-X please prof. How do I get the real value of c from the calculated changes in c. Will I add or subtract

  • @konstantinmetodiev6888
    @konstantinmetodiev6888 3 роки тому

    How do you make initial guess for the Ci prime vector (3:40)? Do these values affect the solution convergence? Thank you.

    • @PostcardProfessor
      @PostcardProfessor  3 роки тому

      If you have a poorly behaved system, it's definitely possible for the initial guess to affect convergence. The simplest method of guessing good initial values is to do a brute force grid search over possible values, then choose a vector that results in a low residual as your starting guess. This method may prove intractable for systems with large numbers of parameters.

  • @Guide4Ever
    @Guide4Ever 4 роки тому +4

    You have y(x) yet x is never in equation on the right side ?

    • @inigomeniego4906
      @inigomeniego4906 4 роки тому +1

      I think he called it "t" later on, he got confused

  • @haniffshazwanss5720
    @haniffshazwanss5720 4 роки тому +1

    hey there. great video. just wondering how many parameters should we put? does it really matter no matter how many parameter we put in?

    • @PostcardProfessor
      @PostcardProfessor  4 роки тому

      The more parameters, the more computationally expensive it is, but the method will work with any number of parameters. Ideally, you use as few as possible to get a good fit.

  • @alb2935
    @alb2935 3 роки тому

    Can you do this for a function with 2 variables e.g f(x,y;a,b) and g(x,y;c,d)

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

    I'm not sure if this is a typo but you write "t" instead of "x" consistently throughout the video.

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

    how does iteration work for this?

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

    1:16 x not t.

  • @gameggh6702
    @gameggh6702 4 роки тому +1

    Is c1,c2 and c3 are known variable?

    • @rvoros
      @rvoros 4 роки тому +1

      c1, c2, c3 are unknown, we have an initial guess for them then we iteratively improve c1, c2, c3 by adding dc1, dc2, dc3.
      The notation could be more elaborate by giving them an iteration index in the superscript

    • @hayatullah3135
      @hayatullah3135 4 роки тому

      @@rvoros what is dc1, dc2 etc?? i mean how much change should be added to the previous parameter..

    • @mehmedhezenci722
      @mehmedhezenci722 4 роки тому

      İf you know these variables, you cannot fit curve. Because , you will have one curve

  • @johnyoung9483
    @johnyoung9483 3 роки тому

    Nice Aggie Ring! Thanks & Gig em AERO 23'

  • @samuelkushnir2639
    @samuelkushnir2639 3 роки тому

    isn't this just gradient descent?