Description Usage Arguments Value Examples
Training by using L2 regularization on a linear model with logistic loss . Return a matrix of weight vector for the given penalty vector.
1 | LMLogisticLossL2penalties(X.mat, y.vec, penalty.vec, opt.thresh = 0.5)
|
X.mat |
a numeric matrix of size [n x p] |
y.vec |
a numeric vector of length nrow(X.mat) |
penalty.vec |
a non-negative numeric vector |
opt.thresh |
a non-negative numeric scalar |
W.mat a numeric weight matrix of size [ncol(X.mat) x length(penalty.vec)]
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.