Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kmedian/ctmc

Continuous Time Markov Chain
https://github.com/kmedian/ctmc

continuous-time-markov-chain ctmc markov-chain pypi stochastic-matrix transition-matrix transition-probability

Last synced: 2 days ago
JSON representation

Continuous Time Markov Chain

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/kmedian/ctmc.svg?branch=master)](https://travis-ci.org/kmedian/ctmc)
[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/kmedian/ctmc/master?urlpath=lab)

# ctmc

## Table of Contents
* [Installation](#installation)
* [Usage](#usage)
* [Commands](#commands)
* [Support](#support)
* [Contributing](#contributing)

## Installation
The `ctmc` [git repo](http://github.com/kmedian/ctmc) is available as [PyPi package](https://pypi.org/project/ctmc)

```
pip install ctmc
```

## Usage
Check the [examples](https://github.com/kmedian/ctmc/tree/master/examples) folder for notebooks.

## Commands
* Check syntax: `flake8 --ignore=F401`
* Run Unit Tests: `python -W ignore -m unittest discover`
* Remove `.pyc` files: `find . -type f -name "*.pyc" | xargs rm`
* Remove `__pycache__` folders: `find . -type d -name "__pycache__" | xargs rm -rf`
* Upload to PyPi with twine: `python setup.py sdist && twine upload -r pypi dist/*`

## Debugging
* Notebooks to profile python code are in the [profile](https://github.com/kmedian/ctmc/tree/master/profile) folder

## Support
Please [open an issue](https://github.com/kmedian/ctmc/issues/new) for support.

## Contributing
Please contribute using [Github Flow](https://guides.github.com/introduction/flow/). Create a branch, add commits, and [open a pull request](https://github.com/kmedian/ctmc/compare/).