Oct-17-2020, 03:40 PM
(Oct-16-2020, 08:14 PM)bowlofred Wrote: I see some differences between the behavior of the package and the documentation. I wonder if the code has undergone some updates and the documentation hasn't kept up?I have the same thought, the documentation might not be updated for a long time so that some of the demo scripts can run, but some can't. They just have to be changed manually.
One of the examples suggests that this should work:
import pyGPs import numpy as np model = pyGPs.GPR() # specify model (GP regression)But it doesn't. I was able to get it to work (and the demo to draw data) by making the following modifications:
import pyGPs import pyGPs.Core.gp import numpy as np model = pyGPs.Core.gp.GPR() # specify model (GP regression)