7 ms·
somedays I feel that, in the final analysis, everything is just linear regression.
by SubiculumCode 6y ago
somedays I feel that, in the final analysis, everything is just linear regression.
- tqi 6y agohttps://twitter.com/theotheredmund/status/1349453230762196992 https://twitter.com/theotheredmund/status/134945323076219699...
- wenc 6y agoAs someone who has studied nonlinear nonconvex optimization, I don't think linear regression is the final word here. In the universe of optimization problems for curve-fitting, the linear case is only one case (albeit a very useful one). In many cases though, it is often insufficient. The next step is piecewise linearity and then convexity. It is said that convexity is a way to weaken a linearity requirement while leaving a problem tractable. Many real world systems are nonlinear (think physics models), and often nonconvex. You can approximate them using locally linear functions to be sure, but you lose a lot of fidelity in the process. Sometimes this is ok, sometimes this is not, so it depends on the final application. It happens that linear regression is good enough for a lot of stuff out there, but there are many places where it doesn't work.
- nightcracker 6y ago> Many real world systems are nonlinear (think physics models) Technically, only if you don't zoom in too far, quantum mechanics is linear.
- ks1723 6y agoThis is a little too simplistic/misleading - yes, QM is linear in terms of states, vector spaces and operators acting on states (its just functional analysis [1]) - it’s not linear in terms of how probability distributions and states behave under the action of forces and multi-body interactions (see, eg correlated phenomena like phase transitions, magnetism, superconductivity etc) [1] https://en.m.wikipedia.org/wiki/Functional_analysis https://en.m.wikipedia.org/wiki/Functional_analysis
- SubiculumCode 6y agoYes there are non-linear functions...but often these result from combinations of linear functions.
- wenc 6y agoThis is not true. Nonlinear functions generally do not result from combinations of linear functions. It's the other way around -- combinations of linear basis functions are often used to approximate nonlinear functions, often in a spline sort of way. However, this only works (practically) for mildly nonlinear functions. If you have exp, log, sin, cos functions for instance and you're modeling a range where the function is very nonlinear, the approximation errors often become problematic unless you use a really dense cluster of knots. For certain nonlinear systems of equations, this can blow up the size of your problem. It's a tradeoff between number of linear basis functions you use for the approximation, and the error you are willing to accept.
- SubiculumCode 6y agoOr rather, that all statistical methods are dressed up regression.
- wenc 6y agoThat's not really correct either. Regression is but a small (and useful) part of statistics -- it's the part of statistics that most engineers use, but statistics goes beyond regression. For instance, sampling theory is not regression. Hypothesis testing is not regression. Causal inference is not regression. Probability undergirds a lot of statistical methods.
- IdiocyInAction 6y agoFC neural nets are iterated linear regression, in some sense.
- jtmcmc 6y agogiven the properly transformed space that may very well be true...
- tobmlt 6y agohey, hey!, we can over-fit higher order approximations too. The nerve on some of ya. (Absolutely just kidding around here)