Computational Thinking, Linear Algebra, Linear Regression, Python, Jupyter Notebook.
Once numba is installed, we add only a single line to our above definition to allow numba to interface our code with LLVM import numpy as np from numba import double from numba.decorators import jit @jit(arg_types=[double[:,:], double[:,:]]) def pairwise_numba(X, D): M = X.shape[0] N = X.shape[1]