An open API service indexing awesome lists of open source software.

https://github.com/elcritch/filter_ex

Some filtering algorithms using Nx
https://github.com/elcritch/filter_ex

Last synced: 2 months ago
JSON representation

Some filtering algorithms using Nx

Awesome Lists containing this project

README

          

# FilterEx

Some basic filters implemented in Elixir with Nx. Currently only Kalman, Adaptive Kalman, and exponential moving filters are implemented.

The Kalman filter is based on a port of the excellent [filterpy](https://github.com/rlabbe/filterpy) library. It's only a partial port. Furthermore it's really only been tested on 1D, but should in theory work on higher dim Kalman's as well. PR's welcome!

Checkout @rlabbe's excellent book [Kalman and Bayesian Filters in Python](https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python). The derivation of Kalman filters from Gaussians is a handy.

## Installation

If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `filter_ex` to your list of dependencies in `mix.exs`:

```elixir
def deps do
[
{:filter_ex, "~> 0.1.0"}
]
end
```

Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at .