News for hackers. Stuff that matters.
Re:Why train when you can optimize? by doubleunplussed on Saturday April 30, 2022 @02:48AM (#31213934)
Periodic functions like sin(x) are the solutions to differential equations like dy/dx = -y that describe for example, oscillations of springs, to name but one of an extremely large number of dynamical systems that behave this way.
Re:Why train when you can optimize? by omrjml on Saturday April 30, 2022 @02:56AM (#31213983)
Of course sine can appear in the solution for dynamical systems but the function itself is not dynamical. When evaluating sin(x) you do not need to know about the previous state.
Re:Why train when you can optimize? by zmgsabst on Saturday April 30, 2022 @03:11AM (#31214041)
That is true, the problem is with the conclusion you drew from that fact:

> So it should not be approximated in that way.

We can’t conclude a dynamic approximation is a bad approach based purely on the fact the underlying function isn’t dynamic.

The function might nevertheless be easily approximated via dynamics — as in the case of predicting sine from seeing the recent history.

Re:Why train when you can optimize? by freemint on Saturday April 30, 2022 @02:13PM (#31217940)
sin(x) only arises as solution in second order systems. So d^2x/dt^2 = -x
Re:Why train when you can optimize? by doubleunplussed on Sunday May 01, 2022 @07:04AM (#31223963)
Sorry, you're absolutely correct. Brain fart. The equation I wrote actually is for an exponential, whoops.