family

Param for the name of family which is a description of the error distribution
to be used in the model.
Supported options: "gaussian", "binomial", "poisson", "gamma" and "tweedie".
Default is "gaussian".

Returns:

(undocumented)

getFamily

public String getFamily()

variancePower

Param for the power in the variance function of the Tweedie distribution which provides
the relationship between the variance and mean of the distribution.
Only applicable to the Tweedie family.
(see
Tweedie Distribution (Wikipedia))
Supported values: 0 and [1, Inf).
Note that variance power 0, 1, or 2 corresponds to the Gaussian, Poisson or Gamma
family, respectively.

Returns:

(undocumented)

getVariancePower

public double getVariancePower()

link

Param for the name of link function which provides the relationship
between the linear predictor and the mean of the distribution function.
Supported options: "identity", "log", "inverse", "logit", "probit", "cloglog" and "sqrt".
This is used only when family is not "tweedie". The link function for the "tweedie" family
must be specified through linkPower.

Returns:

(undocumented)

getLink

public String getLink()

linkPower

Param for the index in the power link function. Only applicable to the Tweedie family.
Note that link power 0, 1, -1 or 0.5 corresponds to the Log, Identity, Inverse or Sqrt
link, respectively.
When not set, this value defaults to 1 - variancePower, which matches the R "statmod"
package.