OK, let's say I have a chaotic timeseries, for example a Lorenz attractor series which can be generated here
https://sprott.physics.wisc.edu/cdg/.
I'm interested in forecasting local maxima or minima, and not how good it predicts other points of the timeseries.
I thought to use symbolic regression or multi-class classification, and to use training data constituted by, for example, derivatives (1st, 2nd,...) of the timeseries as input, and, as target, -1 for minima, 1 for maxima, and 0 otherwise. However, upon training, since -1 and 1 values are sparse compared to 0 values, the result is poor, probably because each outcome is weighted equally. So even if it outputs all zeros, the error is low as there are few -1 and 1.
Best regards,
R.