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.2-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f855dd59069f247bb2e6d5cb49382225bd764fc3a57fcee54357dbb0e195a657 |
|
MD5 | 5f57d0994246a393e99241b0a550ca69 |
|
BLAKE2b-256 | 245ac597e08a18de23efe956c3934f5cd771673d1620f357e3611540e9757bc5 |