Skip to content

Commit 30b5c84

Browse files
committed
Solved raised points
1 parent 3377137 commit 30b5c84

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/generic.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ _scale(t::ScaleTransform, metric, x, y) = evaluate(metric, apply(t, x), apply(t,
1414
printshifted(io::IO::Kernel,shift::Int) = print(io,"")
1515
Base.show(io::IO::Kernel) = print(io,nameof(typeof(κ)))
1616

17-
_trainable(x) = ()
18-
1917
### Syntactic sugar for creating matrices and using kernel functions
2018
for k in subtypes(BaseKernel)
2119
@eval begin

src/transform/scaletransform.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ function ScaleTransform(s::T=1.0) where {T<:Real}
1616
end
1717

1818
set!(t::ScaleTransform::Real) = t.s .= [ρ]
19-
_trainable(t::ScaleTransform) = (t.s,)
2019
dim(str::ScaleTransform) = 1
2120

2221
apply(t::ScaleTransform,x::AbstractVecOrMat;obsdim::Int=defaultobs) = first(t.s) * x

src/utils.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,12 @@ base_kernel(k::Kernel) = eval(nameof(typeof(k)))
3131
base_transform(t::Transform) = eval(nameof(typeof(t)))
3232

3333
"""
34+
Will be implemented at some point
3435
```julia
3536
params(k::Kernel)
3637
params(t::Transform)
3738
```
3839
For a kernel return a tuple with parameters of the transform followed by the specific parameters of the kernel
3940
For a transform return its parameters, for a `ChainTransform` return a vector of `params(t)`.
4041
"""
41-
params
42+
#params

0 commit comments

Comments
 (0)