-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rename and move * Remove redundant comments * Shuffle and remove dead code * Update NEWS * Bump minor version * Update news * Bump docs deps * Import things * Tweak docs builder * Improve test coverage * Temporary performance bug fix * stabilise getting_started example * Finish off extended_mauna_loa upgrade
- Loading branch information
1 parent
9acc3ee
commit 485d8d6
Showing
47 changed files
with
458 additions
and
618 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,22 @@ | ||
name = "Stheno" | ||
uuid = "8188c328-b5d6-583d-959b-9690869a5511" | ||
version = "0.7.18" | ||
version = "0.8.0" | ||
|
||
[deps] | ||
AbstractGPs = "99985d1d-32ba-4be9-9821-2ec096f28918" | ||
BlockArrays = "8e7c35d0-a365-5155-bbbb-fb81a777f24e" | ||
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4" | ||
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b" | ||
KernelFunctions = "ec8451be-7e33-11e9-00cf-bbf324bd1392" | ||
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" | ||
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09" | ||
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" | ||
Reexport = "189a3867-3050-52da-a836-e630ba90ab69" | ||
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" | ||
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f" | ||
ZygoteRules = "700de1a5-db45-46bc-99cf-38207098b444" | ||
|
||
[compat] | ||
AbstractGPs = "0.4, 0.5" | ||
BlockArrays = "0.15, 0.16" | ||
ChainRulesCore = "1" | ||
FillArrays = "0.7, 0.8, 0.9, 0.10, 0.11, 0.12" | ||
KernelFunctions = "0.9.6, 0.10" | ||
MacroTools = "0.4, 0.5" | ||
Reexport = "0.2, 1" | ||
Zygote = "0.6" | ||
ZygoteRules = "0.2" | ||
julia = "1.3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,47 @@ | ||
module Stheno | ||
|
||
# Users generally need access to the functionality from both of these packages. | ||
using Reexport | ||
@reexport using AbstractGPs | ||
@reexport using KernelFunctions | ||
|
||
using AbstractGPs | ||
using BlockArrays | ||
using ChainRulesCore | ||
using FillArrays | ||
@reexport using KernelFunctions | ||
using LinearAlgebra | ||
using Random | ||
using Zygote | ||
using ZygoteRules | ||
|
||
import Base.Broadcast: broadcasted | ||
|
||
using AbstractGPs: AbstractGP, FiniteGP, GP | ||
import AbstractGPs: | ||
mean, | ||
cov, | ||
var, | ||
mean_and_cov, | ||
mean_and_var, | ||
rand, | ||
logpdf, | ||
elbo, | ||
dtc, | ||
posterior, | ||
marginals | ||
using AbstractGPs: AbstractGP, FiniteGP | ||
import AbstractGPs: mean, cov, var | ||
|
||
using MacroTools: @capture, combinedef, postwalk, splitdef | ||
|
||
const AV{T} = AbstractVector{T} | ||
|
||
# Various bits of utility that aren't inherently GP-related. Often very type-piratic. | ||
include(joinpath("util", "zygote_rules.jl")) | ||
include(joinpath("util", "covariance_matrices.jl")) | ||
include(joinpath("util", "block_arrays.jl")) | ||
include(joinpath("util", "abstract_data_set.jl")) | ||
include(joinpath("util", "proper_type_piracy.jl")) | ||
|
||
# Supertype for GPs. | ||
include("abstract_gp.jl") | ||
|
||
# Atomic GP objects. | ||
include(joinpath("gp", "gp.jl")) | ||
|
||
# Composite GPs, constructed via affine transformation of CompositeGPs and GPs. | ||
include(joinpath("composite", "composite_gp.jl")) | ||
include(joinpath("composite", "cross.jl")) | ||
include(joinpath("composite", "product.jl")) | ||
include(joinpath("composite", "addition.jl")) | ||
include(joinpath("composite", "compose.jl")) | ||
# include(joinpath("composite", "gradient.jl")) | ||
# include(joinpath("composite", "integrate.jl")) | ||
|
||
# Gaussian Process Probabilistic Programme object which implements the AbstractGPs API. | ||
# A couple of AbstractVector subtypes useful for expressing structure in inputs | ||
# regularly found in GPPPs. | ||
include("input_collection_types.jl") | ||
|
||
# AbstractGP subtypes and associated utility. | ||
include(joinpath("gp", "util.jl")) | ||
include(joinpath("gp", "atomic_gp.jl")) | ||
include(joinpath("gp", "derived_gp.jl")) | ||
include(joinpath("gp", "sparse_finite_gp.jl")) | ||
|
||
# Affine transformation library. Each file contains one / a couple of closely-related | ||
# affine transformations. Consequently, the code in each file can be understood | ||
# independently of the code in each other file. | ||
include(joinpath("affine_transformations", "cross.jl")) | ||
include(joinpath("affine_transformations", "addition.jl")) | ||
include(joinpath("affine_transformations", "compose.jl")) | ||
include(joinpath("affine_transformations", "product.jl")) | ||
|
||
# AbstractGP subtype which groups together other AbstractGP subtypes. | ||
include("gaussian_process_probabilistic_programme.jl") | ||
|
||
# Sparse GP hack to make pseudo-point approximations play nicely with Turing.jl. | ||
include("sparse_finite_gp.jl") | ||
|
||
include("deprecate.jl") | ||
|
||
export wrap, BlockData, GPC, GPPPInput, @gppp | ||
export atomic, BlockData, GPC, GPPPInput, @gppp | ||
export ∘, select, stretch, periodic, shift | ||
export cov_diag, mean_and_cov_diag | ||
export SparseFiniteGP | ||
|
||
end # module |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
485d8d6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register()
485d8d6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/53610
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: