Git Product home page Git Product logo

poset-hypergraph-curvature's Introduction

Poset-Hypergraph-Curvature

This repository contains the codes and datasets associated with the following research article:

Yasharth Yadav, Areejit Samal, Emil Saucan*, A Poset-Based Approach to Curvature of Hypergraphs, Symmetry, 14(2):420, 2022.
(* Corresponding author)

In the above paper, we represent hypergraphs as partially ordered sets or posets, and provide a geometric framework based on posets to compute the Forman–Ricci curvature of vertices as well as hyperedges in hypergraphs. Thereafter, we perform an empirical study involving computation and analysis of the Forman–Ricci curvature of hyperedges in 12 real-world hypergraphs.

Codes

  1. generate_poset.py: Python script to generate the two-dimensional simplicial complex associated with a hypergraph. Details of the input and output files are provided within the script.
  2. poset_geometry.py: Python script to compute the Forman-Ricci curvatures, scalar curvatures and the Euler characteristic of the two-dimensional simplicial complex associated with a hypergraph. Details of the input and output files are provided within the script.

Hypergraph datasets

The directory hypergraph_datasets contains the 12 real-world hypergraphs considered in our work. This directory is organized into two sub-directories:

  1. nodes: Contains the nodes corresponding to each of the 12 hypergraphs as separate text files. Each line in a text file is a natural number index corresponding to a given node in the hypergraph.
  2. hyperedges: Contains the hyperedges corresponding to each of the 12 hypergraphs as separate text files. Each line in a text file is a tab separated list of nodes contained in a hyperedge.

NOTE: Please cite the mentioned references if you use a dataset in your work.

  • biogrid

    • Stark, C.; Breitkreutz, B.J.; Reguly, T.; Boucher, L.; Breitkreutz, A.; Tyers, M. BioGRID: A general repository for interaction datasets. Nucleic Acids Res. 2006, 34, D535–D539.
  • protein-complex

    • Giurgiu, M.; Reinhard, J.; Brauner, B.; Dunger-Kaltenbach, I.; Fobo, G.; Frishman, G.; Montrone, C.; Ruepp, A. CORUM: The comprehensive resource of mammalian protein complexes-2019. Nucleic Acids Res. 2018, 47, D559–D563.
  • disease-gene

    • Piñero, J.; Ramírez-Anguita, J.M.; Saüch-Pitarch, J.; Ronzano, F.; Centeno, E.; Sanz, F.; Furlong, L.I. The DisGeNET knowledge platform for disease genomics: 2019 update. Nucleic Acids Res. 2019, 48, D845–D855.
  • corporate-memberships

    • Faust, K. Centrality in affiliation networks. Soc. Netw. 1997, 19, 157–191.
  • senate-committees

    • Benson, A.R.; Abebe, R.; Schaub, M.T.; Jadbabaie, A.; Kleinberg, J. Simplicial closure and higher-order link prediction. Proc. Natl. Acad. Sci. USA 2018, 115, E11221–E11230.
    • Stewart, C.; Woon, J. Congressional Committee Assignments, 103rd to 114th Congresses, 1993–2017. Available online: http://web.mit.edu/17.251/www/data_page.html (accessed on 10 February 2022).
  • norwegian-directorate

    • Seierstad, C.; Opsahl, T. For the few not the many? The effects of affirmative action on presence, prominence, and social capital of women directors in Norway. Scand. J. Manag. 2011, 27, 44–54.
  • youtube-groups

    • Mislove, A.; Marcon, M.; Gummadi, K.P.; Druschel, P.; Bhattacharjee, B. Measurement and Analysis of Online Social Networks. In Proceedings of the 5th ACM/Usenix Internet Measurement Conference (IMC’07), San Diego, CA, USA, 24–26 October 2007.
  • facebook-forum

    • Opsahl, T. Triadic closure in two-mode networks: Redefining the global and local clustering coefficients. Soc. Netw. 2013, 35, 159–167.
  • enron-email

    • Klimt, B.; Yang, Y. The Enron Corpus: A New Dataset for Email Classification Research. In Machine Learning: ECML 2004; Boulicaut, J.F., Esposito, F., Giannotti, F., Pedreschi, D., Eds.; Springer: Berlin/Heidelberg, Germany, 2004; pp. 217–226.
  • contact-highschool

    • Mastrandrea, R.; Fournet, J.; Barrat, A. Contact Patterns in a High School: A Comparison between Data Collected UsingWearable Sensors, Contact Diaries and Friendship Surveys. PLoS ONE 2015, 10, e0136497.
  • github-projects

    • Kunegis, J. KONECT: The Koblenz Network Collection. In Proceedings of the 22nd International Conference onWorldWideWeb (WWW ’13 Companion), Rio de Janeiro, Brazil, 13–17 May 2013; pp. 1343–1350.
  • cond-mat-publications

    • Newman, M.E.J. The structure of scientific collaboration networks. Proc. Natl. Acad. Sci. USA 2001, 98, 404–409.

Citation

In case you use the codes herein, please cite the following research article:

Yasharth Yadav, Areejit Samal, Emil Saucan*, A Poset-Based Approach to Curvature of Hypergraphs, Symmetry, 14(2):420, 2022.

poset-hypergraph-curvature's People

Contributors

asamallab avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

yasharthy

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.