public class ConstrainedLASSObyQP extends Object implements LinearModel
Constructor and Description |
---|
ConstrainedLASSObyQP(ConstrainedLASSOProblem problem)
Solves a constrained LASSO problem by transforming it into a single quadratic programming
problem.
|
Modifier and Type | Method and Description |
---|---|
LMBeta |
beta()
Gets \(\hat{\beta}\) and statistics.
|
double |
Ey(Vector x)
Computes the expectation \(E(y(x))\) given an input.
|
LMResiduals |
residuals()
Gets the residual analysis of an OLS regression.
|
public ConstrainedLASSObyQP(ConstrainedLASSOProblem problem)
problem
- a constrained LASSO problempublic double Ey(Vector x)
LinearModel
Ey
in interface LinearModel
x
- an inputpublic LMBeta beta()
LinearModel
beta
in interface LinearModel
public LMResiduals residuals()
LinearModel
residuals
in interface LinearModel
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.