public static enum Distributions.Family extends java.lang.Enum<Distributions.Family>
| Enum Constant and Description |
|---|
AUTO |
bernoulli |
gamma |
gaussian |
multinomial |
poisson |
tweedie |
| Modifier and Type | Field and Description |
|---|---|
double |
p |
| Modifier and Type | Method and Description |
|---|---|
double |
deviance(double w,
double y,
double f) |
double |
gradient(double y,
double f) |
double |
link(double f) |
double |
linkInv(double f) |
java.lang.String |
linkInvString(java.lang.String f) |
static Distributions.Family |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Distributions.Family[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Distributions.Family AUTO
public static final Distributions.Family multinomial
public static final Distributions.Family gaussian
public static final Distributions.Family bernoulli
public static final Distributions.Family poisson
public static final Distributions.Family gamma
public static final Distributions.Family tweedie
public static Distributions.Family[] values()
for (Distributions.Family c : Distributions.Family.values()) System.out.println(c);
public static Distributions.Family 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 double deviance(double w,
double y,
double f)
public double gradient(double y,
double f)
public double linkInv(double f)
public double link(double f)
public java.lang.String linkInvString(java.lang.String f)