Description Usage Arguments Value Examples
This algorithm takes the penalty vector as input and iterate through each value in the vector using LinearModelL1
1 2 | LinearModelL1penalties(X.mat, y.vec, penalty.vec = seq(0.5, 0, length.out
= 100), step.size = 0.01)
|
X.mat |
unscaled training input matrix, with size n x p |
y.vec |
correspond training input matrix, with size n x 1 |
penalty.vec |
a vector with descending numeric number, default as seq(0.5, 0, length.out = 100) |
step.size |
a scalar with numeric value, default as 0.01 |
W.mat matrix, with the size ((feaure.size + 1) x n.step.size.length)
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.