Usage
L1.ceiling(X, y, a = rep(1, nrow(X)), d = rep(1, ncol(X)), P = diag(ncol(X)), m = rep(0, ncol(X)), l2 = 1, balanced = FALSE)
Arguments
X
n-by-p matrix of n samples in p dimensions
y
n-by-1 vector of response values. Must be numeric vector for regression, factor with 2 levels for binary classification, or NULL for a one-class task.
a
n-by-1 vector of sample weights (regression only)
d
p-by-1 vector of feature weights
P
p-by-p feature association penalty matrix
m
p-by-1 vector of translation coefficients
l2
coefficient for the L2-norm penalty
balanced
boolean specifying whether the balanced model is being trained (binary classification only) (default: FALSE)