Implementation of the chopthin resampler for particle filtering/SMC
This gives an implementation of the chopthin algorithm for Python. Not much error checking is happening.
Some example code
import chopthin from numpy import * w = array([1,3.4,2,0.1,0.1,0.1,0.1]); chopthin.chopthin(w,5,5.8)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size chopthin-0.2.1.tar.gz (15.1 kB)||File type Source||Python version None||Upload date||Hashes View|