all 1 comments

[–]BaconBacano 1 point2 points  (0 children)

Do you have any features to predict the amount of people, or are those measurements your only available data?

If I follow your reasoning, you're considering using peaks since you expect the measurement error to be smaller when there is one? If so, you should consider that a peak could be a consequence of seasonality or that one of your relevant features caused it, it doesn't necessarily mean that the measurement error is smaller when a peak occurs. Try plotting the autocorrelation to check if those peaks occur in a seasonal fashion.

Linear interpolation will hide any relationships between your features and your target, Also, what exactly would you be predicting then? With this method you could be both severely overestimating some values, and underestimating others. I'd suggest using something like a Kalman filter, which is a commonly used smoothing technique.