An easy-to-use library for R&D at the intersection of Deep Learning on Graphs

Graph4NLP Graph4NLP is an easy-to-use library for R&D at the intersection of Deep Learning on Graphs and Natural Language Processing (i.e., DLG4NLP). It provides both full implementations of state-of-the-art models for data scientists and also flexible interfaces to build customized models for researchers and developers with whole-pipeline support. Built upon highly-optimized runtime libraries including DGL , Graph4NLP has both high running efficiency and great extensibility. The architecture of Graph4NLP is shown in the following figure, where boxes with dashed lines […]

Read more

A simple Monte Carlo simulation using Python and matplotlib library

Monte Carlo python simulation A simple Monte Carlo simulation using Python and matplotlib library. Install linux dependencies sudo apt update sudo apt install build-essential software-properties-common python3-pip python3-distutils Create environment and install python dependencies pip3 install virtualenv virtualenv venv source venv/bin/activate pip install -r requirements.txt Preview GitHub https://github.com/samuelterra22/Monte-Carlo-Python-Simulation    

Read more

Simple and fast histogramming in Python accelerated with OpenMP

pygram11 Simple and fast histogramming in Python accelerated with OpenMP with help from pybind11. pygram11 provides functions for very fast histogram calculations (and the variance in each bin) in one and two dimensions. The API is very simple; documentation can be found here (you’ll also find some benchmarks there). Installing From PyPI Binary wheels are provided for Linux and macOS. They can be installedfrom PyPI via pip: pip install pygram11 From conda-forge For installation via the conda package manager pygram11 […]

Read more

Dialogue Discourse-Aware Graph Model and Data Augmentation for Meeting Summarization

DDAMS This is the pytorch code for our IJCAI 2021 paper Dialogue Discourse-Aware Graph Model and Data Augmentation for Meeting Summarization [Arxiv Preprint]. Requirements We use Conda python 3.7 and strongly recommend that you create a new environment: conda create -n ddams python=3.7. Run the following command: pip install -r requirements.txt. Data You can download data here, put the data under the project dir DDAMS/data/xxx. data/ami data/ami/ami: preprocessed meeting data data/ami/ami_qg: pseudo summarization data. data/ami/ami_reference: golden reference for test file. […]

Read more

Using Python and Processing to create art

Experiments in Generative Art Using Python (Matplotlib) and Processing to create art. Using Python, Processing, and P5.js Quick Links Daily Sketches March 2021. | Gallery | Repo | Done using P5.js Genuary 2021 |Gallery| repo | Github Pages | Hexagons | Gallery | Repo | Documentation | Done using Matplotlib. The repo contains several Jupyter Notebooks, with examples. You might also want to look at the images thumbnail sheet, to see if anything interests you, and then go to its […]

Read more

Quickly visualize docker networks with graphviz

Docker Network Graph Visualize the relationship between Docker networks and containers as a neat graphviz graph. Usage usage: docker-net-graph.py [-h] [-v] [-o OUT] Visualize docker networks. optional arguments: -h, –help show this help message and exit -v, –verbose Verbose output -o OUT, –out OUT Write output to file In most cases what you want to run are the following couple commands: git clone https://github.com/LeoVerto/docker-network-graph.git cd docker-network-graph pipenv install pipenv run python docker-net-graph.py -o output.svg This will generate an .svg file […]

Read more

The diagramming widget library for Python

Gaphas Gaphas is the diagramming widget library for Python. Gaphas is a library that provides the user interface component (widget) for drawing diagrams. Diagrams can be drawn to screen and then easily exported to a variety of formats, including SVG and PDF. Want to build an app with chart-like diagrams? Then Gaphas is for you! Use this library to build a tree, network, flowchart, or other diagrams. This library is currently being used by Gaphor for UML drawing, RAFCON for […]

Read more

A Python library for Deep Graph Networks

PyDGN This is a Python library to easily experiment with Deep Graph Networks (DGNs). It provides automatic management of data splitting, loading and the most common experimental settings. It also handles both model selection and risk assessment procedures, by trying many different configurations in parallel (CPU). This repository is built upon the Pytorch Geometric Library, which provides support for data management. If you happen to use or modify this code, please remember to cite our tutorial paper: Bacciu Davide, Errica […]

Read more

An easy way to interact with graph databases using Jupyter notebooks

Graph Notebook: easily query and visualize graphs The graph notebook provides an easy way to interact with graph databases using Jupyter notebooks. Using this open-source Python package, you can connect to any graph database that supports the Apache TinkerPop or the RDF SPARQL graph model. These databases could be running locally on your desktop or in the cloud. Graph databases can be used to explore a variety of use cases including knowledge graphs and identity graphs. Visualizing Gremlin queries: Visualizing […]

Read more

A Persistent Embedded Graph Database for Python

Cog Embedded Graph Database for Python. Installing Cog pip install cogdb Cog is a persistent embedded graph database implemented purely in Python. Torque is Cog’s graph query language. Cog also provides a low level API to its fast persistent key-value store. Cog is ideal for python applications that does not require a full featured database. Cog can easily be used as a library from within a Python application. Cog be used interactively in an IPython environment like Jupyter notebooks. Cog […]

Read more
1 2 3 4