public static class GammaDistribution.Parameterizer extends AbstractDistribution.Parameterizer
TODO: allow alternate parameterization, with alpha+beta?
Modifier and Type | Field and Description |
---|---|
(package private) double |
k
Parameters.
|
static OptionID |
K_ID
K parameter.
|
(package private) double |
theta
Parameters.
|
static OptionID |
THETA_ID
Theta parameter.
|
LOCATION_ID, RANDOM_ID, rnd, SCALE_ID, SHAPE_ID
Constructor and Description |
---|
Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected GammaDistribution |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID K_ID
public static final OptionID THETA_ID
double k
double theta
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractDistribution.Parameterizer
config
- Parameterization to add options to.protected GammaDistribution makeInstance()
AbstractParameterizer
makeInstance
in class AbstractDistribution.Parameterizer
Copyright © 2019 ELKI Development Team. License information.