ido90 / Optimized-Kalman-Filter

Get an optimized Kalman Filter from data of system-states and observations.
MIT License
33 stars 4 forks source link

Structural improvement & more #4

Open simutisernestas opened 8 months ago

simutisernestas commented 8 months ago

It's a bad practice to include build files in version control, I could submit a PR to clean it up a bit and update the ,gitignore if you're up for it;

Also optimization process is quite slow, would be nice to utilize GPU and with increased batch size of the training to speed it up. I believe this could reduce iteration (design) time to couple of seconds. Now even for toy datasets it takes tens of minutes to optimize. Would be up for contributing to that also;

Another point is measurements arriving at different rates, would love to hear your opinion about supporting real world use cases of the package. Now it kinda works with simply assuming that all sensor data are coming in at the same rate but in reality it's never the case...

Awesome work by the way : )

ido90 commented 8 months ago

Thank you for your comments! PR submissions are welcome.

GPU

Your contribution for GPU support will also be much appreciated. At the time I trained on 1500 trajectories in a low-dimensional doppler radar problem. The training took just a few minutes (not tens of minutes...), and I could parallelize different variants on my CPU cores, so there was not much room for acceleration. On other scenarios, though, GPU may indeed be more efficient.

Irregular time-steps

You are also welcome to pm me if you like to discuss specific use-cases.