d
.
The sequence ranges from a data determined maximal lambda
$\lambda_\textrm{max}$ to the user inputed
lambda.min
.msgl.lambda.seq(x, classes,
sampleWeights = rep(1/length(classes), length(classes)),
grouping = NULL, groupWeights = NULL,
parameterWeights = NULL, alpha = 0.5, d = 100L,
standardize = TRUE, lambda.min, intercept = TRUE,
sparse.data = is(x, "sparseMatrix"),
algorithm.config = sgl.standard.config)
groupWeights
= NULL
default weights will be used. Default weights are
0 for the intercept and $$\sqrt{K\cdx
will be treated as
sparse, if x
is a sparse matrix it will be treated
as sparse by default.d
containing the computed
lambda sequence.data(SimData)
x <- sim.data$x
classes <- sim.data$classes
lambda <- msgl.lambda.seq(x, classes, alpha = .5, d = 100, lambda.min = 0.01)
Run the code above in your browser using DataLab