public static enum GeneralRegressionModel.Distribution extends Enum<GeneralRegressionModel.Distribution>
Java class for null.
The following schema fragment specifies the expected content contained within this class.
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="binomial"/>
<enumeration value="gamma"/>
<enumeration value="igauss"/>
<enumeration value="negbin"/>
<enumeration value="normal"/>
<enumeration value="poisson"/>
<enumeration value="tweedie"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BINOMIAL |
GAMMA |
IGAUSS |
NEGBIN |
NORMAL |
POISSON |
TWEEDIE |
| Modifier and Type | Method and Description |
|---|---|
static GeneralRegressionModel.Distribution |
fromValue(String v) |
String |
value() |
static GeneralRegressionModel.Distribution |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeneralRegressionModel.Distribution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeneralRegressionModel.Distribution BINOMIAL
public static final GeneralRegressionModel.Distribution GAMMA
public static final GeneralRegressionModel.Distribution IGAUSS
public static final GeneralRegressionModel.Distribution NEGBIN
public static final GeneralRegressionModel.Distribution NORMAL
public static final GeneralRegressionModel.Distribution POISSON
public static final GeneralRegressionModel.Distribution TWEEDIE
public static GeneralRegressionModel.Distribution[] values()
for (GeneralRegressionModel.Distribution c : GeneralRegressionModel.Distribution.values()) System.out.println(c);
public static GeneralRegressionModel.Distribution valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static GeneralRegressionModel.Distribution fromValue(String v)
Copyright © 2015 University of Tartu. All Rights Reserved.