.. image:: ../../examples/overview.png
transitionMatrix is a pure Python powered library for the statistical analysis and visualization of state transition phenomena. It can be used to analyze any dataset that captures timestamped transitions in a discrete state space.
Open Risk <http://www.openriskmanagement.com>
_Github <https://github.com/open-risk/transitionMatrix>
_Read The Docs <https://transitionmatrix.readthedocs.io/en/latest/>
_Open Risk Manual <https://www.openriskmanual.org/wiki/Category:Transition_Matrix>
_Open Risk Commons <https://www.openriskcommons.org/c/open-source/transitionmatrix/15>
_Open Risk Academy <https://www.openriskacademy.com/login/index.php>
_Blog Posts <https://www.openriskmanagement.com/tags/transition-matrix/>
_You can use transitionMatrix to:
You can install and use the transitionMatrix package in any system that supports the Scipy ecosystem of tools <https://scipy.org/install.html>
_
.. code:: bash
pip3 install transitionMatrix
Download the sources in your preferred directory:
.. code:: bash
git clone https://github.com/open-risk/transitionMatrix
It is advisable to install the package in a virtualenv so as not to interfere with your system's python distribution
.. code:: bash
virtualenv -p python3 tm_test
source tm_test/bin/activate
If you do not have pandas already installed make sure you install it first (this will also install numpy and other required dependencies).
.. code:: bash
pip3 install -r requirements.txt
Finally issue the install command and you are ready to go!
.. code:: bash
python3 setup.py install
The distribution has the following structure:
::
| transitionMatrix/ Directory with the library source code
| -- model.py File with main data structures
| -- estimators/ Directory with the estimator methods
| -- statespaces/ Directory with state space objects and methods
| -- creditratings/ Directory with predefined credit rating structures
| -- generators/ Directory with data generator methods
| -- utils/ Directory with helper classes and methods
| -- examples/ Directory with usage examples
| ---- python/ Examples as standalone python scripts
| ---- notebooks/ Examples as jupyter notebooks
| -- datasets/ Directory with a variety of datasets useful for getting started
| -- tests/ Directory with the testing suite
Version | Tag | Published |
---|---|---|
0.5.1 | 1yr ago | |
0.5.0 | 1yr ago | |
0.4.0 | 4yrs ago |