public class UnconstrainedLASSOProblem extends LMProblem
Constructor and Description |
---|
UnconstrainedLASSOProblem(UnconstrainedLASSOProblem that)
Copy constructor.
|
UnconstrainedLASSOProblem(Vector y,
Matrix X,
double lambda)
Constructs a LASSO problem.
|
Modifier and Type | Method and Description |
---|---|
double |
lambda()
Gets the penalization parameter for the unconstrained form of LASSO.
|
A, checkInputs, intercept, invOfwAtwA, nExogenousFactors, nFactors, nObs, wA, weights, wy, X, y
public UnconstrainedLASSOProblem(Vector y, Matrix X, double lambda)
y
- the vector of response variable (n * 1), properly demeaned and scaledX
- the design matrix of factors (n * m), properly demeaned and scaledlambda
- the penalization parameterpublic UnconstrainedLASSOProblem(UnconstrainedLASSOProblem that)
that
- another LASSOProblem
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.