GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - brainets/hoi: Higher-Order Interactions

BranchesTags
Open more actions menu

Latest commit

 

History

565 Commits
565 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
docs
docs
 
 
examples
examples
 
 
hoi
hoi
 
 
.coveragerc
.coveragerc
 
 
.gitignore
.gitignore
 
 
CITATION.cff
CITATION.cff
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.rst
README.rst
 
 
pyproject.toml
pyproject.toml
 
 
requirements.txt
requirements.txt
 
 
setup.cfg
setup.cfg
 
 
setup.py
setup.py
 
 

Repository files navigation

Black Codecov JOSS

https://github.com/brainets/hoi/blob/main/docs/_static/hoi-logo.png

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 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:

pip install -U hoi

You can also install the latest version of the software directly from Github :

pip install git+https://github.com/brainets/hoi.git

For developers

For developers, you can install it in develop mode with the following commands :

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)

About

Higher-Order Interactions

brainets.github.io/hoi/

Topics

higher-order-interactionshoijaxnetworkpython

Resources

Readme
BSD-3-Clause license
Activity
Custom properties

Stars

50 stars

Watchers

4 watching

Forks

15 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.