public enum RegressionRegularization extends java.lang.Enum<RegressionRegularization>
| Modifier and Type | Method and Description |
|---|---|
abstract ModelFitter |
createFitterForGraph() |
abstract DoubleVertex |
getInterceptVertex(DoubleVertex priorOnInterceptMean,
DoubleVertex priorOnInterceptScaleParameter) |
abstract DoubleVertex |
getWeightsVertex(long featureCount,
DoubleVertex priorOnWeightsMeans,
DoubleVertex priorOnWeightsScaleParameter) |
static RegressionRegularization |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RegressionRegularization[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegressionRegularization NONE
public static final RegressionRegularization LASSO
public static final RegressionRegularization RIDGE
public static RegressionRegularization[] values()
for (RegressionRegularization c : RegressionRegularization.values()) System.out.println(c);
public static RegressionRegularization valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract DoubleVertex getWeightsVertex(long featureCount, DoubleVertex priorOnWeightsMeans, DoubleVertex priorOnWeightsScaleParameter)
public abstract DoubleVertex getInterceptVertex(DoubleVertex priorOnInterceptMean, DoubleVertex priorOnInterceptScaleParameter)
public abstract ModelFitter createFitterForGraph()