HMM with Poisson-distributed latent variables.
Project description
ChainsAddiction
ChainsAddiction is an easy to use tool for time series analysis using
discrete-time Hidden Markov Models. It is written in C
as a numpy
-based
Python extension module.
Installation
Prerequisites
The installation of ChainsAddiction requires to following tools to be installed on your system:
- Python >= 3.7
- pip
- C compiler
Install from PyPi
You can install chainsaddiction from PyPi with:
python3 -m pip install chainsaddiction
Please note that ChainsAddiction is a CPython extension module. You have to have set up a C compiler in order to install. Currently we provide wheels for macOS. So, if you are using this OS you do not need a compiler.
Install from source
First, clone the source code by typing the following command in your terminal app.
Replace path/to/ca
with the path to where ChainsAddiction should be cloned:
git clone https://github.com/teagum/chainsaddiction path/to/ca
Second, change to the root directory of your freshly cloned code repository:
cd path/to/ca
Third, instruct Python to build and install ChainsAddiction:
python3 -m pip install .
Notes
Currently only Poisson-distributed HMM are implemented.
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
Built Distribution
Hashes for chainsaddiction-0.2.1-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0479290abcdf8de98eff0408803b8c0ebe71d48f7ac448ae12ace135f708fd9 |
|
MD5 | e21a9abb7e8d75f1522b2d57ee9254be |
|
BLAKE2b-256 | 7339f8ff37eb246f9e0669ffb192331c0b23aabdf99c54d0a6543b5fbf8ab9ab |