Giter Site home page Giter Site logo

thu-hyperg's Introduction

THU-HyperG: A python toolbox for hypergraph learning

LICENSE Version

Introduction

THU-HyperG is a python toolbox for hypergraph learning. Hypergraph is a generalization of graph, which is composed of a set of nodes and a set of hyperedges. Different from simple graph, in which each edge connect a pair of nodes, each hyperedge can connect any number of nodes in hypergraph. The flexible edge degree in hypergraph enables the hypergraph model to formulate the high-order correlation of data.

Hypergraph learning is mainly consisted of two procedures, hypergraph generation and learning on hypergraph. Thus, in this toolbox, we provide several hypergraph generation methods and learning methods on hypergraph. Some useful utilities are also included in this toolbox. Besides, we provide some examples about how to apply this toolbox to the tasks like classification and segmentation.

Specifically, it provides the following functionalities:

  • Hypergraph generation methods: knn based, epsilon ball based, clustering based, l1 representation based and grid based methods.
  • Learning on hypergraph methods: transductive learning, inductive learning, diffusion and clustering methods.
  • Utils: some preprocessing and evaluation methods.

Installation

You can install from source

git clone https://github.com/iMoonLab/THU-HyperG.git
cd THU-HyperG
pip install .

Examples

We provide some examples in the examples/ directory about how to apply this toolbox to the tasks like classification and segmentation.

Citing

if you find our work useful in your research, please consider citing:

@article{gao2020hypergraph,
  title={Hypergraph Learning: Methods and Practices.},
  author={Gao, Y and Zhang, Z and Lin, H and Zhao, X and Du, S and Zou, C},
  journal={IEEE Transactions on Pattern Analysis and Machine Intelligence},
  year={2020}
}

Contributing

We appreciate all contributions to improve THU-HyperG. Pull requests are always welcomed.

thu-hyperg's People

Contributors

hjlin0515 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.