Closed PrimozGodec closed 1 year ago
Patch coverage: 100.00
% and project coverage change: +0.02
:tada:
Comparison is base (
474dcf6
) 82.89% compared to head (9da80d1
) 82.92%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Issue
Polynomial features can become huge due to the exponentiation of numbers. Huge numbers (and number differences) can cause model algorithms to be numerically unstable. For example, a higher degree of polynomial features should result in a better fit to the curve, but when numbers are high and linear regression weight becomes really small, it is not the case anymore (because of numeric instability):
Description of changes
It can be fixed with normalization, but as discussed with Tomaz, it is better just to warn since it is an educational add-on, and we do not want to do any values changing in the background (which would also affect the model weights).
Includes