Giter Site home page Giter Site logo

philogicatician / simplehypergraphs.jl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pszufe/simplehypergraphs.jl

0.0 0.0 0.0 1.17 MB

A simple hypergraphs package for the Julia programming language

License: MIT License

Julia 2.55% HTML 47.84% Jupyter Notebook 49.61%

simplehypergraphs.jl's Introduction

SimpleHypergraphs.jl

A simple hypergraphs package for the Julia programming language.

Documentation Build Status


tutorial
Build Status Coverage Status
Linux and macOS

Installation instructions

NOTE by Kevin (Philogicatician):

Using the GraphBased argument in draw(h, GraphBased, ...) stopped working as per this open issue from the original maintainer pszufe. At the moment, it seems using hypernetx is necessary, and I'm not sure what "other options" pszufe might be referring to.

Prerequisites for plotting

Simplehypergraphs can optionally use (among other options) the Python's hypernetx library so if you want the hypernetx plotting to work you need to install it first along with its all dependent libraries. In Julia command line REPL press ] for the Julia package manager and run:

(v1.5) pkg> add PyCall Conda

Now press backspace to exit the package manager and run the following installation code:

using PyCall
using Conda
Conda.runconda(`install matplotlib --yes`)
Conda.runconda(`install networkx --yes`)
Conda.runconda(`install pandas --yes`)
run(`$(PyCall.python) -m pip install hypernetx`)

In case of throubleshooting to check whether hypernetx is properly configured with Julia you can always run the following test:

using PyCall
pyimport("hypernetx")

For plotting we also use the Jupyter notebook. The installation instructions are here

Installation

In Julia command line REPL press ] for the Julia package manager and run:

(v1.5) pkg> add SimpleHypergraphs

Documentation

  • Tutorial — for a quick start with the library see our Jupyter Notebook tutorial (raw *.ipynb version can be also downloaded)
  • STABLEdocumentation of the most recently tagged version.
  • DEVdocumentation of the development version.
  • A Game of Thrones use case — check out how you can exploit the library to gather insights into real-world networks through a case study of the Game of Thrones TV series (raw *.ipynb version can be also downloaded)

Citing

If you use this library in your research please cite us:

Antelmi, A., Cordasco, G., Kamiński, B., Prałat, P., Scarano, V., Spagnuolo, C. and Szufel, P., "Analyzing, exploring, and visualizing complex networks via hypergraphs using SimpleHypergraphs. jl.", Internet Mathematics, vol. 1 iss. 1 (2020), March 31, 2020

The full paper is available at https://doi.org/10.24166/im.01.2020

Acknowledgement

The research is financed by NAWA - The Polish National Agency for Academic Exchange.

simplehypergraphs.jl's People

Contributors

pszufe avatar bkamins avatar alessant avatar spagnuolocarmine avatar philogicatician avatar askorupka avatar juliatagbot avatar inazuma110 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.