public final class GLM.BetaConstraint
extends water.Iced
Constructor and Description |
---|
BetaConstraint() |
BetaConstraint(water.fvec.Frame beta_constraints) |
Modifier and Type | Method and Description |
---|---|
void |
adjustGradient(double[] beta,
double[] grad) |
void |
applyAllBounds(double[] beta) |
double |
applyBounds(double d,
int i) |
void |
check() |
java.util.List<java.lang.String> |
extractVec2List(water.fvec.Frame constraintF)
Extract predictor names in the constraint frame constraintF into a list.
|
GLM.BetaConstraint |
filterExpandedColumns(int[] activeCols) |
boolean |
hasBounds() |
boolean |
hasProximalPenalty() |
void |
setNonNegative() |
void |
setNonNegative(water.fvec.Frame otherConst) |
java.lang.String |
toString() |
public BetaConstraint()
public BetaConstraint(water.fvec.Frame beta_constraints)
public void setNonNegative()
public void setNonNegative(water.fvec.Frame otherConst)
public java.util.List<java.lang.String> extractVec2List(water.fvec.Frame constraintF)
public void applyAllBounds(double[] beta)
public double applyBounds(double d, int i)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean hasBounds()
public boolean hasProximalPenalty()
public void adjustGradient(double[] beta, double[] grad)
public void check()
public GLM.BetaConstraint filterExpandedColumns(int[] activeCols)