View source: R/elastic_prediction.R
elastic.prediction | R Documentation |
This function performs prediction from an elastic regression model with phase-variability
elastic.prediction(f, time, model, y = NULL, smooth_data = FALSE, sparam = 25)
f |
matrix ( |
time |
vector of size |
model |
list describing model from elastic regression methods |
y |
responses of test matrix f (default=NULL) |
smooth_data |
smooth data using box filter (default = F) |
sparam |
number of times to apply box filter (default = 25) |
Returns a list containing
y_pred |
predicted values of f or probabilities depending on model |
SSE |
sum of squared errors if linear |
y_labels |
labels if logistic model |
PC |
probability of classification if logistic |
Tucker, J. D., Wu, W., Srivastava, A., Elastic Functional Logistic Regression with Application to Physiological Signal Classification, Electronic Journal of Statistics (2014), submitted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.