Skip to content

Commit 9581045

Browse files
committed
Merge branch 'master' into master-dev
2 parents d095935 + 3f3a800 commit 9581045

File tree

4 files changed

+8
-19
lines changed

4 files changed

+8
-19
lines changed

Project.toml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,23 @@
11
name = "KernelFunctions"
22
uuid = "ec8451be-7e33-11e9-00cf-bbf324bd1392"
3-
version = "0.2.0"
3+
version = "0.1.0"
44

55
[deps]
66
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"
7-
IRTools = "7869d1d1-7146-5819-86e3-90919afe41df"
87
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
98
PDMats = "90014a1f-27ba-587c-ab20-58faa44d9150"
109
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
1110
StatsFuns = "4c63d2b9-4356-54db-8cca-17b64c39e42c"
12-
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
13-
ZygoteRules = "700de1a5-db45-46bc-99cf-38207098b444"
1411

1512
[compat]
16-
FiniteDifferences = ">= 0.7.2"
13+
julia = "1.0"
14+
PDMats = "0.9.9"
15+
SpecialFunctions = "0.7.2"
16+
Distances = "0.8.2"
1717

1818
[extras]
19-
FiniteDifferences = "26cc04aa-876d-5657-8c51-4c34ba976000"
20-
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
2119
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
2220
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
23-
Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
24-
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"
2521

2622
[targets]
27-
test = ["FiniteDifferences", "Tracker", "ForwardDiff", "Random", "Test"]
23+
test = ["Random", "Test"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The aim is to make the API as model-agnostic as possible while still being user-
2828
k₄ = 0.5*SqExponentialKernel()*LinearKernel(0.5) + 0.4*k₂
2929
K₄ = kernelmatrix(k,X,obsdim=1)
3030

31-
heatmap([K₁,K₂,K₃,K₄],yflip=false,colorbar=false)
31+
plot(heatmap.([K₁,K₂,K₃,K₄],yflip=true,colorbar=false)...,layout=(2,2))
3232
```
3333
<p align=center>
3434
<img src="docs/src/assets/heatmap_combination.png" width=400px>

src/KernelFunctions.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,12 @@ export KernelSum, KernelProduct
1313

1414

1515
using Distances, LinearAlgebra
16-
using Zygote: @adjoint
1716
using SpecialFunctions: lgamma, besselk
1817
using StatsFuns: logtwo
19-
using PDMats
18+
using PDMats: PDMat
2019

2120
const defaultobs = 2
2221

23-
# include("zygote_rules.jl")
2422
include("utils.jl")
2523
include("distances/dotproduct.jl")
2624
include("distances/delta.jl")

test/runtests.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
using Test
22
using KernelFunctions
33
using Distances
4-
# using FiniteDifferences
54
using Random
6-
using Zygote
7-
8-
# Helpful functionality for writing tests.
9-
# include("test_util.jl")
105

116
@testset "KernelFunctions" begin
127
include("test_kernelmatrix.jl")

0 commit comments

Comments
 (0)