First Post: How to Smooth End point of Finite Data Series time series

AI Thread Summary
The discussion revolves around smoothing the endpoint of a finite data series in time series predictions made by a neural network. The user is facing challenges with excessive noise in the output, despite having good prediction accuracy. They are considering using techniques like Discrete Fourier Transform (DFT) and other component methods such as Principal Component Analysis (PCA) or Independent Component Analysis (ICA) but wish to avoid polynomials or splines. The user highlights the limitations of their current approach, including the lack of access to advanced mathematical functions and concerns about lag introduced by digital low-pass filters. They seek suggestions for effective smoothing methods that do not compromise prediction accuracy.
Cardinal Gramm
Messages
5
Reaction score
0
I wish it wasn't out of desperation that I'm making this first post!

I have a neural network that is making predictions, the next 5 time points per training.

Back testing consists of appending these 5 point sets together to produce a data set that spans time over a much longer period.

The problem is that the results are pretty good except that there is too much "noise" present.

If the data set was periodic, I'd use DFT (discrete Fourier transform), toss the higher coefficients (now have LP filter) and move on.

However, its not periodic.

My thinking is I have 2 options:
  1. DFT tricks
  2. Other component methods: PCA, ICA, ?

I really don't want to get into polynomials or beam-fit splines. I'd rather stick with actual components of the data set.

Any suggestions would be greatly appreciated. So far I have burned over a man-week trying to make something work.

Thanks in advance,
Tom
 
Engineering news on Phys.org
I have very limited experience with neural networks so I might not be qualified to answer this, but could you clarify some things for me though:

Are you using a window of historic data to train the network, then using this model to predict ahead of the window, then passing this time series through a discrete-time low-pass filter?

If so, what's wrong with the output you get from the low-pass filter and what would you consider "too much noise"?
 
Thanks for the reply!

Yes, it s a window that moves along and makes the Next Prediction.

As far as the smoothing problem, just think of any non-periodic signal with noise - they all have this problem.

First, I have no access to advanced suites of math functions, I have to write my own - so I have no digital LP filter.

However, I'm guessing this filter would have lag like all filters do. Unfortunately, lag kills the prediction since the last thing you want to do is lag your prediction.

I don't know how digital filters are different from analog, but I'm not constrained to have to do this in real time. Real time filtering pretty much has to lag.

If my signal was periodic, I'd just do the Discrete Fourier Transform and I'd be done with it.
____________________________

I was just thinking that when you do a modal analysis on a vibrating cantilever, you get the frequencies and the mode shapes. You can construct any harmonic motion by summing the appropriate mode shapes AND you can exactly demonstrate the tip displacement.

If you look at the mode shapes, they are anything but periodic. Yet, they comprise an orthogonal set and can be summed.

Need something like that I'm hoping.

Thanks for bringing up digital filters - need to know more about them.

Tom
 
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Hello dear reader, a brief introduction: Some 4 years ago someone started developing health related issues, apparently due to exposure to RF & ELF related frequencies and/or fields (Magnetic). This is currently becoming known as EHS. (Electromagnetic hypersensitivity is a claimed sensitivity to electromagnetic fields, to which adverse symptoms are attributed.) She experiences a deep burning sensation throughout her entire body, leaving her in pain and exhausted after a pulse has occurred...
Back
Top