We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a60a494 commit b11149fCopy full SHA for b11149f
test/trainable.jl
@@ -36,12 +36,22 @@
36
kr = RationalQuadraticKernel(α=α)
37
test_params(kr, ([α],))
38
39
+ A = rand(3, 3)
40
+ km = PiecewisePolynomialKernel(v=1, maha=A)
41
+ test_params(km, (A,))
42
+
43
+ km = MahalanobisKernel(A)
44
45
46
k = km + kc
47
test_params(k, (km, kc))
48
49
k = km * kc
50
51
52
+ k = TensorProduct(km, kc)
53
+ test_params(k, (km, kc))
54
55
s = 2.0
56
k = transform(km, s)
57
test_params(k, (km, [s]))
0 commit comments