Description Usage Arguments Value Examples
Training by using L2 regularization on a linear model with logistic loss . Return the optimal weight vector for the given threshold and penalty.
1 2 | LMLogisticLossL2(X.scaled.mat, y.vec, penalty, opt.thresh,
initial.weight.vec, step.size = 0.01, max.iteration = 10)
|
X.scaled.mat |
a numeric matrix of size [n x p] |
y.vec |
a numeric matrix of length nrow(X.scaled.mat) |
penalty |
a non-negative numeric scalar |
opt.thresh |
a positive numeric scalar |
initial.weight.vec |
a numeric vector of size ncol(X.scaled.mat) |
step.size |
a numeric scalar greater than zero |
max.iteration |
a integer scalar greater than one |
opt.weight the optimal weight vector of length ncol(X.scaled)
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.