Skip to content

Instantly share code, notes, and snippets.

View AlexMRuch's full-sized avatar

Alex Ruch AlexMRuch

View GitHub Profile
@AlexMRuch
AlexMRuch / UniformRandomMetaPathWalk_def.py
Created May 2, 2019 13:06
UniformRandomMetaPathWalk_def.py
# Author: Alexander Ruch
# Modified from github.com/stellargraph/stellargraph/blob/develop/stellargraph/data/explorer.py
# Original stellargraph code written for networkx
# This script is substantially faster and parallelized
# Note: This script is still not as fast as original metapath2vec authors' dictionary-based approach
# Run with OPENBLAS_MAIN_FREE=1 python -i UniformRandomMetaPathWalk_def.py
"""
**** Run with OPENBLAS_MAIN_FREE=1 python -i UniformRandomMetaPathWalk_def.py ****
@AlexMRuch
AlexMRuch / AliasSampling.ipynb
Created November 10, 2018 23:53 — forked from jph00/AliasSampling.ipynb
Fast weighted sampling using the alias method in numba
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@AlexMRuch
AlexMRuch / # librsvg - 2017-12-02_14-33-01.txt
Created December 2, 2017 19:33
librsvg on macOS 10.13.1 - Homebrew build logs
Homebrew build logs for librsvg on macOS 10.13.1
Build date: 2017-12-02 14:33:01