cynet

Spatio-Temporal Interaction Network wrappers

https://github.com/zeroknowledgediscovery/cynet

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.5%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Spatio-Temporal Interaction Network wrappers

Basic Info
  • Host: GitHub
  • Owner: zeroknowledgediscovery
  • License: mit
  • Language: Python
  • Default Branch: master
  • Size: 840 MB
Statistics
  • Stars: 57
  • Watchers: 11
  • Forks: 12
  • Open Issues: 2
  • Releases: 2
Created over 8 years ago · Last pushed over 2 years ago
Metadata Files
Readme Changelog License Citation

README.rst

===============
cynet
===============

.. figure:: https://img.shields.io/pypi/dm/cynet.svg
   :alt: cynet PyPI Downloads
.. figure:: https://img.shields.io/pypi/v/cynet.svg
   :alt: cynet version

.. image:: http://zed.uchicago.edu/logo/logozed1.png
   :height: 400px
   :scale: 50 %
   :alt: alternate text
   :align: center

.. class:: no-web no-pdf

:Info: See  for theoretical background
:Author: ZeD@UChicago 
:Description: Implementation of the Deep Granger net inference algorithm, described in https://arxiv.org/abs/1406.6651, for learning spatio-temporal stochastic processes (*point processes*). **cynet** learns a network of generative local models, without assuming any specific model structure.

.. NOTE:: If issues arise with dependencies in python3, be sure that *tkinter* is installed

.. code-block::

    sudo apt-get install python3-tk

**Usage:**

.. code-block::

    from cynet import cynet
    from cynet.cynet import uNetworkModels as models
    from viscynet import viscynet as vcn

**cynet module includes:**
  * cynet
  * viscynet

cynet library classes:
~~~~~~~~~~~~~~~~~~~~~~
* spatioTemporal
* uNetworkModels
* simulateModels
* xgModels

Examples of Pipeline:
  You may find two examples of this pipeline in your enviroment's bin folder
  after installing the cynet package. There will also be a pdf walking through
  another extremely detailed example.

Produces detailed timeseries predictions using Deep Granger Nets.

.. image:: https://zed.uchicago.edu/img/cynetpred.png
  :align: center
  :scale: 50 %

Description of Pipeline:
  You may find two examples of this pipeline in your enviroment's bin folder
  after installing the cynet package.

  Step 1:
    Use the spatioTemporal class and its utility functions to fit and
    manipulate your data into a timeseries grid. The end outputs will be triplets:
    files that contain the rows (coordinates), the columns (dates), and the timeseries.
    The splitTS function will help generate rows of the timeseries. Generally, we
    use this to create timeseries beyond the length of the data in the triplets.
    We use the triplets to generate predictive models and then split, which have
    the longer timeseries to evaluate those models.

  Step 2:
    Run xGenESeSS on the triplets to generate predictive models. The
    xgModels class can be used to assist in this step. If running on a cluster,
    set run local to false and calling xgModels.run() will generate the shell
    commands to run xGenESeSS in a text file. Otherwise, xgModels will run
    locally using the binary installed with the package. The end result are predictive
    models. Note that example 1 starts at this point. Thus there are sample models
    provided.

  Step 3:
    To evaluate the models afterwards, use the run_pipeline utility function.
    This calls uNetworkModels and simulateModels in parallel to evaluate each model.
    simulateModels calls the cynet and flexroc binaries. Outputs will be auc, tpr,
    and fpr statistics.

    See example 2 for an example of the entire pipeline.

GitHub Events

Total
  • Watch event: 8
Last Year
  • Watch event: 8

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 270 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 2
    (may contain duplicates)
  • Total versions: 136
  • Total maintainers: 4
pypi.org: cynet

Learning Point Processes Using Deep Granger Nets

  • Versions: 135
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 259 Last month
Rankings
Downloads: 7.3%
Dependent packages count: 10.0%
Average: 13.0%
Dependent repos count: 21.7%
Maintainers (4)
Last synced: 11 months ago
pypi.org: znet

Devision tree

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 11 Last month
Rankings
Dependent packages count: 10.1%
Dependent repos count: 21.6%
Average: 28.4%
Downloads: 53.6%
Maintainers (1)
Last synced: 11 months ago