Warp | R Documentation |
This class provide the warping method which can be used to warp the original signal to sinusoidal like signal.
R6Class
object.
an R6Class
object which can be used for doing interpolation using reproducing kernel Hilbert space.
warpsin(len ,lop,p0,eps)
This method is used to warp the initial interpolation into a sinusoidal shape.
slowWarp(lens,peod,eps)
This method is used to find the optimised initial hyper parameters for the sigmoid basis function for each ode states.
warpLossLen(par,lam,p0,eps)
This method is used to implement the loss function for warping. It is called by the 'warpSin' function.
y
matrix(of size n_s*n_o) containing observation.
t
vector(of length n_o) containing time points for observation.
b
vector(of length n_o) containing coefficients of kernel or basis functions.
lambda
scalar containing the weighting parameter for penalising the length of warped time span.
ker
kernel class object containing sigmoid basis function.
new()
Warp$new(y = NULL, t = NULL, b = NULL, lambda = NULL, ker = NULL)
greet()
Warp$greet()
showker()
Warp$showker()
warpLoss()
Warp$warpLoss(par, len, p0, eps)
warpLossLen()
Warp$warpLossLen(par, lam, p0, eps)
warpSin()
Warp$warpSin(len, lop, p0, eps)
slowWarp()
Warp$slowWarp(lens, p0, eps)
clone()
The objects of this class are cloneable with this method.
Warp$clone(deep = FALSE)
deep
Whether to make a deep clone.
Mu Niu, mu.niu@glasgow.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.