.. -*- mode: rst -*-
|Black|_ |Codecov|_
.. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
.. _Black: https://github.com/psf/black
.. |Codecov| image:: https://codecov.io/gh/brainets/hoi/graph/badge.svg?token=7PNM2VD994
.. _Codecov: https://codecov.io/gh/brainets/hoi
.. image:: https://github.com/brainets/hoi/blob/main/docs/_static/hoi-logo.png
:target: https://brainets.github.io/hoi/
Description
===========
HOI (Higher Order Interactions) is a Python package to go beyond pairwise interactions by quantifying the statistical dependencies between 2 or more units using information-theoretical metrics. The package is built on top of `Jax <https://github.com/google/jax>`_ allowing computations on CPU or GPU.
Installation
============
Dependencies
++++++++++++
HOI requires :
- Python (>= 3.8)
- numpy(>=1.22)
- scipy (>=1.9)
- jax
- pandas
- scikit-learn
- jax-tqdm
- tqdm
User installation
+++++++++++++++++
To install Jax on GPU or CPU-only, please refer to Jax's documentation : https://jax.readthedocs.io/en/latest/installation.html
If you already have a working installation of NumPy, SciPy and Jax,
the easiest way to install hoi is using ``pip``:
.. code-block:: shell
pip install -U hoi
You can also install the latest version of the software directly from Github :
.. code-block:: shell
pip install git+https://github.com/brainets/hoi.git
For developers
++++++++++++++
For developers, you can install it in develop mode with the following commands :
.. code-block:: shell
git clone https://github.com/brainets/hoi.git
cd hoi
pip install -e .['full']
The full installation of HOI includes additional packages to test the software and build the documentation :
- pytest
- pytest-cov
- codecov
- xarray
- sphinx!=4.1.0
- sphinx-gallery
- pydata-sphinx-theme
- sphinxcontrib-bibtex
- numpydoc
- matplotlib
- flake8
- pep8-naming
- black
Help and Support
================
Documentation
+++++++++++++
- Link to the documentation: https://brainets.github.io/hoi/
- Overview of the mathematical background : https://brainets.github.io/hoi/theory.html
- List of implemented HOI metrics : https://brainets.github.io/hoi/api/modules.html
- Examples : https://brainets.github.io/hoi/auto_examples/index.html
Communication
+++++++++++++
For questions, please use the following link : https://github.com/brainets/hoi/discussions
Acknowledgments
===============
HOI was mainly developed during the Google Summer of Code 2023 (https://summerofcode.withgoogle.com/archive/2023/projects/z6hGpvLS)
Raw data
{
"_id": null,
"home_page": "https://github.com/brainets/hoi",
"name": "hoi",
"maintainer": "Etienne Combrisson",
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "information-theory statistics higher-order-interactions",
"author": "BraiNets",
"author_email": "e.combrisson@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/a2/d9/339d8601982ad72f41395fd3b22451d7b1ed396afccc500b6e93bbd886c9/hoi-0.0.5.tar.gz",
"platform": "any",
"description": ".. -*- mode: rst -*-\n\n|Black|_ |Codecov|_\n\n.. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg\n.. _Black: https://github.com/psf/black\n\n.. |Codecov| image:: https://codecov.io/gh/brainets/hoi/graph/badge.svg?token=7PNM2VD994\n.. _Codecov: https://codecov.io/gh/brainets/hoi\n\n\n.. image:: https://github.com/brainets/hoi/blob/main/docs/_static/hoi-logo.png\n :target: https://brainets.github.io/hoi/\n\nDescription\n===========\n\nHOI (Higher Order Interactions) is a Python package to go beyond pairwise interactions by quantifying the statistical dependencies between 2 or more units using information-theoretical metrics. The package is built on top of `Jax <https://github.com/google/jax>`_ allowing computations on CPU or GPU.\n\nInstallation\n============\n\nDependencies\n++++++++++++\n\nHOI requires :\n\n- Python (>= 3.8)\n- numpy(>=1.22)\n- scipy (>=1.9)\n- jax\n- pandas\n- scikit-learn\n- jax-tqdm\n- tqdm\n\nUser installation\n+++++++++++++++++\n\nTo install Jax on GPU or CPU-only, please refer to Jax's documentation : https://jax.readthedocs.io/en/latest/installation.html\n\nIf you already have a working installation of NumPy, SciPy and Jax,\nthe easiest way to install hoi is using ``pip``:\n\n.. code-block:: shell\n\n pip install -U hoi\n\nYou can also install the latest version of the software directly from Github :\n\n.. code-block:: shell\n\n pip install git+https://github.com/brainets/hoi.git\n\n\nFor developers\n++++++++++++++\n\nFor developers, you can install it in develop mode with the following commands :\n\n.. code-block:: shell\n\n git clone https://github.com/brainets/hoi.git\n cd hoi\n pip install -e .['full']\n\nThe full installation of HOI includes additional packages to test the software and build the documentation :\n\n- pytest\n- pytest-cov\n- codecov\n- xarray\n- sphinx!=4.1.0\n- sphinx-gallery\n- pydata-sphinx-theme\n- sphinxcontrib-bibtex\n- numpydoc\n- matplotlib\n- flake8\n- pep8-naming\n- black\n\n\nHelp and Support\n================\n\nDocumentation\n+++++++++++++\n\n- Link to the documentation: https://brainets.github.io/hoi/\n- Overview of the mathematical background : https://brainets.github.io/hoi/theory.html\n- List of implemented HOI metrics : https://brainets.github.io/hoi/api/modules.html\n- Examples : https://brainets.github.io/hoi/auto_examples/index.html\n\nCommunication\n+++++++++++++\n\nFor questions, please use the following link : https://github.com/brainets/hoi/discussions\n\nAcknowledgments\n===============\n\nHOI was mainly developed during the Google Summer of Code 2023 (https://summerofcode.withgoogle.com/archive/2023/projects/z6hGpvLS)\n",
"bugtrack_url": null,
"license": "BSD 3-Clause License",
"summary": "Higher Order Interactions",
"version": "0.0.5",
"project_urls": {
"Download": "https://github.com/brainets/hoi/archive/v0.0.5.tar.gz",
"Homepage": "https://github.com/brainets/hoi"
},
"split_keywords": [
"information-theory",
"statistics",
"higher-order-interactions"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "54b0219b629138fd4288e7de4e87dcb7739e9537a29b10034cf3916a86cbe1d8",
"md5": "1b5cf41378e6408cdc1f9df746cf0a41",
"sha256": "fe0cb9289281ae6f539efe55e33dd34331b7a9feccad873c2a25f650ea2029ee"
},
"downloads": -1,
"filename": "hoi-0.0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1b5cf41378e6408cdc1f9df746cf0a41",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 49241,
"upload_time": "2024-11-06T14:53:38",
"upload_time_iso_8601": "2024-11-06T14:53:38.176704Z",
"url": "https://files.pythonhosted.org/packages/54/b0/219b629138fd4288e7de4e87dcb7739e9537a29b10034cf3916a86cbe1d8/hoi-0.0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a2d9339d8601982ad72f41395fd3b22451d7b1ed396afccc500b6e93bbd886c9",
"md5": "db59d247600f8e9e0b11d3c1c54b3233",
"sha256": "69432c41ed5c2880236038dcdd48c2e58ba3e941ff21333b5f67a8c8bba4d582"
},
"downloads": -1,
"filename": "hoi-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "db59d247600f8e9e0b11d3c1c54b3233",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 28874,
"upload_time": "2024-11-06T14:53:40",
"upload_time_iso_8601": "2024-11-06T14:53:40.661529Z",
"url": "https://files.pythonhosted.org/packages/a2/d9/339d8601982ad72f41395fd3b22451d7b1ed396afccc500b6e93bbd886c9/hoi-0.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-06 14:53:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "brainets",
"github_project": "hoi",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [],
"lcname": "hoi"
}