Skip to content

Instantly share code, notes, and snippets.

View su79eu7k's full-sized avatar
🎯
Focusing

su79eu7k su79eu7k

🎯
Focusing
  • Seoul, Korea
View GitHub Profile
@su79eu7k
su79eu7k / pmml_bayesnet.ipynb
Created December 6, 2018 12:51 — forked from rtbs-dev/pmml_bayesnet.ipynb
Bayesian Network Models in PyMC3 and NetworkX
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@su79eu7k
su79eu7k / distcorr.py
Created April 19, 2018 02:01 — forked from satra/distcorr.py
Distance Correlation in Python
from scipy.spatial.distance import pdist, squareform
import numpy as np
from numbapro import jit, float32
def distcorr(X, Y):
""" Compute the distance correlation function
>>> a = [1,2,3,4,5]
>>> b = np.array([1,2,9,4,4])