Skip to main content

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.9
  • pip, setuptools
  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chainsaddiction-0.2.4.tar.gz (754.7 kB view details)

Uploaded Source

Built Distribution

chainsaddiction-0.2.4-cp311-cp311-macosx_11_0_x86_64.whl (102.6 kB view details)

Uploaded CPython 3.11 macOS 11.0+ x86-64

File details

Details for the file chainsaddiction-0.2.4.tar.gz.

File metadata

  • Download URL: chainsaddiction-0.2.4.tar.gz
  • Upload date:
  • Size: 754.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for chainsaddiction-0.2.4.tar.gz
Algorithm Hash digest
SHA256 11be5c07ceff836728861f21c214754263b1a85671fd752bf6b5763965846c6d
MD5 01b0f1d4094666518ad99cc06f0f00a7
BLAKE2b-256 cc75d8292feace93fe39b3e586cf6a7601f3f5f665dc5fe122283b9117b6a597

See more details on using hashes here.

File details

Details for the file chainsaddiction-0.2.4-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for chainsaddiction-0.2.4-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 33089aaa31c5d26965548c7fd4230a05ff43910e2d0b2530e24404e3be9d76b6
MD5 5694a240ad4b9234a66d7254721272c8
BLAKE2b-256 20d4e79821f9b6696b22a5b517a570bc0b0fd5a6854380d070e85931df79080b

See more details on using hashes here.

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