Skip to content

Commit

Permalink
Switch to KernelFunctions 0.10 (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion committed May 16, 2021
1 parent 6fec13c commit 664db14
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "CalibrationTests"
uuid = "2818745e-0823-50c7-bc2d-405ac343d48b"
authors = ["David Widmann <[email protected]>"]
version = "0.5.3"
version = "0.5.4"

[deps]
CalibrationErrors = "33913031-fe46-5864-950f-100836f47845"
Expand All @@ -19,7 +19,7 @@ StructArrays = "09ab397b-f2b6-538f-b94a-2f83cf4a842a"
CalibrationErrors = "0.5.15"
ConsistencyResampling = "0.3"
HypothesisTests = "0.8, 0.9, 0.10"
KernelFunctions = "0.8.20, 0.9"
KernelFunctions = "0.10"
Reexport = "1"
StatsFuns = "0.8, 0.9"
StructArrays = "0.5"
Expand Down
1 change: 0 additions & 1 deletion src/skce/distribution_free.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ uniformbound(kce::SKCE) = 2 * uniformbound(kce.kernel)
# uniform bounds of the norm of base kernels
uniformbound(kernel::ExponentialKernel) = 1
uniformbound(kernel::SqExponentialKernel) = 1
uniformbound(kernel::TVExponentialKernel) = 1
uniformbound(kernel::WhiteKernel) = 1

# uniform bound of the norm of a scaled kernel
Expand Down
3 changes: 1 addition & 2 deletions test/skce/distribution_free.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
# default bounds for base kernels
CalibrationTests.uniformbound(ExponentialKernel()) == 1
CalibrationTests.uniformbound(SqExponentialKernel()) == 1
CalibrationTests.uniformbound(TVExponentialKernel()) == 1
CalibrationTests.uniformbound(WhiteKernel()) == 1

# default bounds for kernels with input transformations
CalibrationTests.uniformbound(SqExponentialKernel() ScaleTransform(rand())) == 1
CalibrationTests.uniformbound(TVExponentialKernel() ScaleTransform(rand(10))) == 1
CalibrationTests.uniformbound(ExponentialKernel() ScaleTransform(rand(10))) == 1

# default bounds for scaled kernels
CalibrationTests.uniformbound(42 * ExponentialKernel()) == 42
Expand Down

6 comments on commit 664db14

@devmotion
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@devmotion
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@devmotion
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@devmotion
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@devmotion
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

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/36885

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:

git tag -a v0.5.4 -m "<description of version>" 664db142502a0266f9619507109468284067de2c
git push origin v0.5.4

Please sign in to comment.