What is meant by overfitting?

Поділитися
Вставка
  • Опубліковано 14 тра 2018
  • This video uses an example to explain what is meant by overfitting.
    This video is part of a lecture course which closely follows the material covered in the book, "A Student's Guide to Bayesian Statistics", published by Sage, which is available to order on Amazon here: www.amazon.co.uk/Students-Gui...
    For more information on all things Bayesian, have a look at: ben-lambert.com/bayesian/. The playlist for the lecture course is here: • A Student's Guide to B...

КОМЕНТАРІ • 4

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

    I think that when we move from the first model to the second, we need to adjust the first "intercept" term to be the average of all rows except Doctor rows, to really have a better fitting (least squares error) model than before: income = 15 + 35 * Dr_i. Including the cleaner variable gives us: income = 20 + 30 * Dr_i - 7.5 * Cleaner_i. Notice that the first term is 20, which is already the lawyer income and adding the lawyer variable is superfluous and would make the model impossible to fit.

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

      I think you've missed the point there.

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

      @@jimbocho660 That is possible, but your comment isn't particularly helpful I'm afraid..

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

      You're right, the intercept does change. I build a model in R and came up with the same equation as you for the second model. For the third model you don't need a lawyer variable because you always use one less dummy variable than you have categories.