View source: R/elastic_logistic.R
elastic.logistic | R Documentation |
This function identifies a logistic regression model with phase-variability using elastic methods
elastic.logistic(
f,
y,
time,
B = NULL,
df = 20,
max_itr = 20,
smooth_data = FALSE,
sparam = 25,
parallel = FALSE,
cores = 2
)
f |
matrix ( |
y |
vector of size |
time |
vector of size |
B |
matrix defining basis functions (default = NULL) |
df |
scalar controlling degrees of freedom if B=NULL (default=20) |
max_itr |
scalar number of iterations (default=20) |
smooth_data |
smooth data using box filter (default = F) |
sparam |
number of times to apply box filter (default = 25) |
parallel |
enable parallel mode using |
cores |
set number of cores to use with |
Returns a list containing
alpha |
model intercept |
beta |
regressor function |
fn |
aligned functions - matrix ( |
qn |
aligned srvfs - similar structure to fn |
gamma |
warping functions - similar structure to fn |
q |
original srvf - similar structure to fn |
B |
basis matrix |
b |
basis coefficients |
Loss |
logistic loss |
type |
model type ('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.