This function performs prediction from an elastic regression model with phase-variability
elastic.prediction(f, time, model, y = NULL, smooth_data = FALSE, sparam = 25)
Returns a list containing
predicted values of f or probabilities depending on model
sum of squared errors if linear
labels if logistic model
probability of classification if logistic
matrix (\(N\) x \(M\)) of \(M\) functions with \(N\) samples
vector of size \(N\) describing the sample points
list describing model from elastic regression methods
responses of test matrix f (default=NULL)
smooth data using box filter (default = F)
number of times to apply box filter (default = 25)
Tucker, J. D., Wu, W., Srivastava, A., Elastic Functional Logistic Regression with Application to Physiological Signal Classification, Electronic Journal of Statistics (2014), submitted.