-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MeanLin MethodError? #227
Comments
If I remember correctly, it used to be possible to fix this issue by taking the transpose of the vector. Have you tried |
Using the transpose of the vector no longer works. The method error remains. Have there been any updates on this? |
You can use |
Thanks @daniel-frisch-kit. @Jarrod-Angove does that work? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:#222
#47
In 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
?The text was updated successfully, but these errors were encountered: