SheffieldML / GPy

Gaussian processes framework in python
BSD 3-Clause "New" or "Revised" License
2.02k stars 559 forks source link

gp predict output variance only have one dimensional #704

Open DragonCircle opened 5 years ago

DragonCircle commented 5 years ago

X->Y data:X=NxD target:Y=NxQ model = GPy.models.GPRegression(X,Y) model.predict(X_train)[1].shape (N,1)

I tried full_cov=True which output (NxN)

But I want NxD as variance output

How to achieve this?

ethanluoyc commented 5 years ago

Seems to be related https://github.com/SheffieldML/GPy/issues/386