Skip to main content

Filtering noisy data

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


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.9.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

microfilter-0.0.9-py3-none-any.whl (9.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page