Skip to content
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

Change in API? Tutorial code no longer works #21

Open
robertfeldt opened this issue Dec 25, 2019 · 1 comment
Open

Change in API? Tutorial code no longer works #21

robertfeldt opened this issue Dec 25, 2019 · 1 comment

Comments

@robertfeldt
Copy link

Has there been a recent change in the API? I tried the tutorial code https://nbviewer.jupyter.org/github/theogf/AugmentedGaussianProcesses.jl/blob/master/examples/Regression%20-%20Gaussian.ipynb on Julia 1.3 and get the error:

ERROR: MethodError: no method matching SVGP(::Array{Float64,2}, ::Array{Float64,1}, ::SqExponentialKernel{Float64,ScaleTransform{Float64}}, ::GaussianLikelihood{Float64}, ::AnalyticVI{Float64}, ::Int64)
Closest candidates are:
  SVGP(::AbstractArray{T1,N} where N, ::AbstractArray{T2,N} where N, ::Union{AbstractArray{#s92,1} where #s92<:AugmentedGaussianProcesses.KernelModule.Kernel, AugmentedGaussianProcesses.KernelModule.Kernel}, ::TLikelihood, ::TInference, ::Int64; verbose, optimizer, atfrequency, mean, IndependentPriors, Zoptimizer, ArrayType) where {T1<:Real, T2, TLikelihood<:Likelihood, TInference<:Inference} at /Users/feldt/.julia/packages/AugmentedGaussianProcesses/FfXUz/src/models/SVGP.jl:68
  SVGP(::Array{T,2}, ::Array{T,1} where T, ::Int64, ::Int64, ::Int64, ::Int64, ::Bool, ::Int64, ::Array{Array{T,2},1}, ::Array{V,1}, ::Array{LinearAlgebra.Symmetric{T,Array{T,2}},1}, ::Array{V,1}, ::Array{LinearAlgebra.Symmetric{T,Array{T,2}},1}, ::Array{PriorMean{T},1}, ::Array{LinearAlgebra.Symmetric{T,Array{T,2}},1}, ::Array{LinearAlgebra.Symmetric{T,Array{T,2}},1}, ::Array{Array{T,2},1}, ::Array{Array{T,2},1}, ::Array{V,1}, ::Array{AugmentedGaussianProcesses.KernelModule.Kernel{T,KT} where KT<:AugmentedGaussianProcesses.KernelModule.KernelType,1}, ::TLikelihood, ::TInference, ::Int64, ::Union{Nothing, Optimizer}, ::Int64, ::Union{Nothing, Optimizer}, ::Bool) where {T<:Real, TLikelihood<:Likelihood{T}, TInference<:Inference, V<:AbstractArray{T,1}} at /Users/feldt/.julia/packages/AugmentedGaussianProcesses/FfXUz/src/models/SVGP.jl:32
Stacktrace:
 [1] top-level scope at ./REPL[17]:3
@theogf
Copy link
Owner

theogf commented Jan 3, 2020

Hi! Sorry about that I am currently doing a short refactoring and I did update the tutorials but not the package. Doing everything in the wrong order 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants