@@ -6,7 +6,7 @@ using PDMats
6
6
using Random
7
7
using SpecialFunctions
8
8
using Test
9
- using Flux: params
9
+ using Flux: params, Chain, Dense
10
10
import Zygote, ForwardDiff, ReverseDiff, FiniteDifferences
11
11
12
12
using KernelFunctions: metric, kappa, ColVecs, RowVecs
@@ -40,16 +40,19 @@ using KernelFunctions: metric, kappa, ColVecs, RowVecs
40
40
# disable tests by simply commenting them out, and makes it very clear which tests are not
41
41
# currently being run.
42
42
# 10. If utility files are required.
43
+ @info " Packages Loaded"
43
44
44
45
@testset " KernelFunctions" begin
45
46
46
47
include (" utils.jl" )
47
48
include (" utils_AD.jl" )
49
+
48
50
@testset " distances" begin
49
51
include (joinpath (" distances" , " dotproduct.jl" ))
50
52
include (joinpath (" distances" , " delta.jl" ))
51
53
include (joinpath (" distances" , " sinus.jl" ))
52
54
end
55
+ @info " Ran tests on Distances"
53
56
54
57
@testset " transform" begin
55
58
include (joinpath (" transform" , " transform.jl" ))
@@ -60,6 +63,7 @@ using KernelFunctions: metric, kappa, ColVecs, RowVecs
60
63
include (joinpath (" transform" , " selecttransform.jl" ))
61
64
include (joinpath (" transform" , " chaintransform.jl" ))
62
65
end
66
+ @info " Ran tests on Transform"
63
67
64
68
@testset " basekernels" begin
65
69
include (joinpath (" basekernels" , " constant.jl" ))
@@ -78,6 +82,7 @@ using KernelFunctions: metric, kappa, ColVecs, RowVecs
78
82
include (joinpath (" basekernels" , " sm.jl" ))
79
83
include (joinpath (" basekernels" , " wiener.jl" ))
80
84
end
85
+ @info " Ran tests on BaseKernel"
81
86
82
87
@testset " kernels" begin
83
88
include (joinpath (" kernels" , " kernelproduct.jl" ))
@@ -90,12 +95,14 @@ using KernelFunctions: metric, kappa, ColVecs, RowVecs
90
95
# helpful these are.
91
96
include (joinpath (" kernels" , " custom.jl" ))
92
97
end
98
+ @info " Ran tests on Kernel"
93
99
94
100
@testset " matrix" begin
95
101
include (joinpath (" matrix" , " kernelmatrix.jl" ))
96
102
include (joinpath (" matrix" , " kernelkroneckermat.jl" ))
97
103
include (joinpath (" matrix" , " kernelpdmat.jl" ))
98
104
end
105
+ @info " Ran tests on matrix"
99
106
100
107
@testset " approximations" begin
101
108
include (joinpath (" approximations" , " nystrom.jl" ))
0 commit comments