Computational Thinking, Linear Algebra, Linear Regression, Python, Jupyter Notebook.
is an attempt to bring JIT compilation cleanly to python, using the LLVM framework. Let’s see it in action: Pure Python Version import numpy as np def pairwise_python(X, D): M = X.shape[0] N = X.shape[1] for i in range(M): for j in range(M): d = 0.0 for k in range(N): tmp = X[i, k] - X[j, k] d +=