Skip to content

Instantly share code, notes, and snippets.

@lawrennd
Created November 8, 2020 21:19
Show Gist options
  • Save lawrennd/bd2c99e787748cdb58476617a06eafe4 to your computer and use it in GitHub Desktop.
Save lawrennd/bd2c99e787748cdb58476617a06eafe4 to your computer and use it in GitHub Desktop.
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment