Skip to content

Instantly share code, notes, and snippets.

View Seanny123's full-sized avatar
💭
>.<

Sean Aubin Seanny123

💭
>.<
View GitHub Profile
@zsunberg
zsunberg / create_points.py
Created November 28, 2017 18:38
PyJulia Example Use Case
import numpy as np
r = np.arange(1.0, 11.0, 0.1)
n = len(r)**3
pts = np.empty((n, 3))
i = 0
for x in r:
for y in r:
for z in r:
@abaybektursun
abaybektursun / blog_tensorflow_variable_sequence_classification.py
Last active September 6, 2019 09:26 — forked from danijar/blog_tensorflow_variable_sequence_classification.py
TensorFlow Variable-Length Sequence Classification (Updated)
# Updated to work with TF 1.4
# Working example for my blog post at:
# http://danijar.com/variable-sequence-lengths-in-tensorflow/
import functools
import sets
import tensorflow as tf
from tensorflow import nn
def lazy_property(function):
@ipan
ipan / diff-jq.md
Created January 16, 2018 04:47
compare two JSONs with jq #json #jq
@wonderbeyond
wonderbeyond / install-rdkit-ubuntu-build-from-source.md
Last active December 4, 2020 18:50
Install RDKit with non-standard python location, visible from a virtualenv.
.PHONY: run
export JULIA_PROJECT = $(PWD)
JULIA = julia
JULIAC_PATH = $(shell $(JULIA) --startup-file=no -E 'normpath(Base.find_package("PackageCompiler"), "..", "..", "juliac.jl")')
RUN_JULIAC = $(JULIA) $(JULIAC_PATH)
run: builddir/test.so
python test.py