Metadata-Version: 2.0
Name: causalmodels
Version: 0.1.1
Summary: Causal models in Python
Home-page: http://github.com/roronya/causalmodels
Author: roronya
Author-email: roronya628@gmail.com
License: MIT
Keywords: causality machine	learning
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Dist: graphviz
Requires-Dist: numpy
Requires-Dist: scipy

causalmodels
============

causalmodels in Python.

instalation
-----------

::

    $ pip install causalmodels

usage
-----

::

    >>> import numpy as np
    >>> import causalmodels as cm
    >>> a = np.random.laplace(size=500)
    >>> b = np.random.laplace(size=500) + a
    >>> c = np.random.laplace(size=500) + a + b
    >>> data = np.array([c, b, a])
    >>>
    >>> model = cm.DirectLiNGAM()
    >>> results = model.fit(data)
    >>> results.order
    [2, 1, 0]
    >>> result.draw()


