Skip to content

Provides a base class and tools for implementing a Bayes Histogram Filter.

License

Notifications You must be signed in to change notification settings

troiwill/py-histogram-filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Histogram Filter for Python

This package provides a base class and tools for implementing a Bayes Histogram Filter. Users would need to implement the histogram.predict(...) and histogram.update(...) methods.

This code was inspired by this code.

How To Set Up

Run the following commands to install this package. Note: This package was developed using Python 3.8.

# Install the dependencies.
pip install numpy==1.24.4

# Install this package.
mkdir -p ~/repos && cd ~/repos \
    && git clone https://github.com/troiwill/py-histogram-filter.git \
    && cd py-histogram-filter \
    && python -m build \
    && pip install dist/*.whl

Running Unittests

There are a set of test scripts in the tests directory. Run them to ensure that the package works (according to the tests available).

python -m unittest discover tests

If anything is broken (one or more tests fail), please submit a GitHub Issue.

Contact

Please submit a GitHub Issue if you have any questions, concerns, or suggestions regarding this package.

About

Provides a base class and tools for implementing a Bayes Histogram Filter.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages