How will you prevent overfitting when creating a statistical model ? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 9

How will you prevent overfitting when creating a statistical model ?

18th Mar 2018, 6:20 PM
molly
2 Respostas
+ 4
Given n points, a polynomial of order n-1 will fit them perfectly, but there is only one polynomial with that order that will do the job. So if that polynomial goes to almost infinity between two close points, thatā€™s what you get. Thatā€™s obviously overfitting. To avoid that, donā€™t use fitting equations with too many parameters, because with, say, ā€œ4 parameters you can already fit an elephantā€. Somebody said that. Use fitting models that reflect the physical behavior of your system.
18th Mar 2018, 9:02 PM
Pedro Demingos
Pedro Demingos - avatar
+ 8
lool I liked the quote hh .. thank u that was so helpful šŸ¤“
18th Mar 2018, 9:05 PM
molly