public enum RegressionRegularization extends java.lang.Enum<RegressionRegularization>
Modifier and Type | Method and Description |
---|---|
abstract <INPUT,OUTPUT> |
createFitterForGraph(ModelGraph<INPUT,OUTPUT> graph) |
abstract DoubleVertex |
getInterceptVertex(java.lang.Double priorOnInterceptMean,
java.lang.Double priorOnInterceptScaleParameter) |
abstract DoubleVertex |
getWeightsVertex(long featureCount,
double[] priorOnWeightsMeans,
double[] priorOnInterceptScaleParameter) |
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, double[] priorOnWeightsMeans, double[] priorOnInterceptScaleParameter)
public abstract DoubleVertex getInterceptVertex(java.lang.Double priorOnInterceptMean, java.lang.Double priorOnInterceptScaleParameter)
public abstract <INPUT,OUTPUT> ModelFitter<INPUT,OUTPUT> createFitterForGraph(ModelGraph<INPUT,OUTPUT> graph)