Skip to content

Instantly share code, notes, and snippets.

View lawrennd's full-sized avatar

Neil Lawrence lawrennd

View GitHub Profile
@lawrennd
lawrennd / gist:bd2c99e787748cdb58476617a06eafe4
Created November 8, 2020 21:19
GPy dimensionality check error
import GPy
import numpy as np
X = np.random.randn(100, 3) # number of data points is 100
y = np.random.randn(50, 1) # number of data points is 50
model = GPy.models.GPRegression(X, y)