rtemis internal: NonLinear Activation regression (NLAreg)
nlareg(x, y, b_o = mean(y), W_o = 1, b_h = 0, W_h = 0,
activation = softplus, optim.method = "BFGS", control = list(),
lower = -Inf, upper = Inf, ...)
Numeric vector or matrix / data frame of features i.e. independent variables
Numeric vector of outcome, i.e. dependent variable
Float, vector (length y): Output bias. Defaults to mean(y)
Float: Output weight. Defaults to 1
Float: Hidden layer bias. Defaults to 0
Float, vector (length NCOL(x)
): Hidden layer weights. Defaults to 0
String or Function: Activation function to use: provide its name or the function itself. Default = linksoftplus
String: Optimization method to use: "Nelder-Mead", "BFGS", "CG", "L-BFGS-B",
"SANN", "Brent". See stats::optim
for more details. Default = "BFGS"
Additional arguments
nlareg
object