JuliaGaussianProcesses / Stheno.jl

Probabilistic Programming with Gaussian processes in Julia
Other
339 stars 26 forks source link

Add WrappedGP #156

Closed willtebbutt closed 3 years ago

willtebbutt commented 3 years ago

Changes

f = GP(m, k, GPC())

to

f = GP(m, k)
wf = wrap(f, GPC())

This is an important step towards using AbstractGP inside Stheno to provide the base GP functionality, and in the move towards making Stheno follow the AbstractGP API.

codecov[bot] commented 3 years ago

Codecov Report

Merging #156 (fe1aaef) into DEV-0.7 (d5369ea) will increase coverage by 0.20%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           DEV-0.7     #156      +/-   ##
===========================================
+ Coverage    77.46%   77.66%   +0.20%     
===========================================
  Files           24       24              
  Lines          670      676       +6     
===========================================
+ Hits           519      525       +6     
  Misses         151      151              
Impacted Files Coverage Δ
src/Stheno.jl 100.00% <ø> (ø)
src/abstract_gp.jl 87.71% <ø> (ø)
src/approximate_inference.jl 85.71% <ø> (ø)
src/composite/approximate_conditioning.jl 98.50% <100.00%> (ø)
src/composite/composite_gp.jl 100.00% <100.00%> (ø)
src/gp/gp.jl 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d5369ea...fe1aaef. Read the comment docs.