Filtering
Project description
microfilter
Some ad-hoc approaches to filtering noisy data that don't appear in textbooks
Usage example
Train filter on simulated noisy data
from microfilter.univariate.expnormdist import ExpNormDist
from microfilter.univariate.noisysim import sim_lagged_values_and_times
lagged_values, lagged_times = sim_lagged_values_and_times
dist = ExpNormDist()
dist.hyper_params['max_evals']=500
dist.fit(lagged_values=lagged_values, lagged_times=lagged_times)
pprint(dist.params)
new_value = 17.0
dist.update(value=new_value, dt=1.0)
pprint(dist.state)
See https://github.com/microprediction/microfilter/blob/master/examples/plot_expnorm.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
microfilter-0.0.5.tar.gz
(1.8 kB
view hashes)
Built Distribution
Close
Hashes for microfilter-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 921c2c9423cdaadf65cdd84fb571e57fa8dceaf90b74bc525d62c88814e39f43 |
|
MD5 | a2b92f352d34bf471a0fe60b8780077d |
|
BLAKE2b-256 | 38e12bab3c39bfeee30782fb147488379b06ce4b9bcc554f4ccb2bf0263a82b3 |