Revision 7905bb6d38ecc7c9fe5a5cbe85057791e103cf62 authored by James Hensman on 29 June 2016, 08:36:52 UTC, committed by James Hensman on 29 June 2016, 08:36:52 UTC
An option in the dataholder class lets it choose what to do when the
shape of data are changed. So now we can do

X = np.random.randn(10, 1)
Y = np.sin(X)
m = GPflow.models.GPR(X, Y, GPflow.kernels.RBF(1))
m.optimize()

X_new = np.random.randn(12, 1)
Y_new = np.sin(X_new)
m.X = X_new
m.Y = Y_new
m.optimize()  # no recompile neded.
1 parent aeb4de9
History
File Mode Size
GPflow
notebooks
testing
.coveragerc -rw-r--r-- 251 bytes
.coveralls.yml -rw-r--r-- 23 bytes
.gitignore -rw-r--r-- 702 bytes
LICENSE -rw-r--r-- 11.1 KB
README.md -rw-r--r-- 5.0 KB
RELEASE.md -rw-r--r-- 1.2 KB
regression.ipynb -rw-r--r-- 206.1 KB
setup.py -rw-r--r-- 1.4 KB

README.md

back to top