Open mis0butter opened 1 year ago
If I remember correctly, it used to be possible to fix this issue by taking the transpose of the vector. Have you tried MeanLin(β')
instead of MeanLin(β)
?
Using the transpose of the vector no longer works. The method error remains. Have there been any updates on this?
You can use MeanPoly([β;;]
Thanks @daniel-frisch-kit. @Jarrod-Angove does that work?
Hello,
I am trying to use the
MeanLin
function but keep running into method errors.I saw that these issues related to
MeanLin
were opened and closed, but I have been unable to recreate their solution: https://github.com/STOR-i/GaussianProcesses.jl/issues/222 https://github.com/STOR-i/GaussianProcesses.jl/issues/47In issue #47, they used the following code (in Julia 0.5):
When I try running above code, here is the error text and the (beginning of the) stacktrace:
I then tried updating the code so that
MeanLin
would use an actual vector input. Since the mean function is for the model prior, I set the length of the mean vector to be the same as the test / predict points, still didn't work. Just to try everything, I then set the mean vector length to be the same as the training points, no dice:In Issue #222, I cannot recreate his code at all as he uses code inputs that he doesn't include in his working example.
From
mLin.jl
, it looks like I should just be able to define somemean = MeanLin(β)
where β is a vector and it should work? How to useMeanLin
?