public static class GammaInverseScaleBayesianEstimator.Parameter extends AbstractBayesianParameter<java.lang.Double,GammaDistribution,GammaDistribution>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Default name, "inverse-scale".
|
conditionalDistribution
name
Constructor and Description |
---|
Parameter(GammaDistribution conditional,
GammaDistribution prior)
Creates a new instance of Parameter
|
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getValue()
Gets the value stored in the name-value pair.
|
void |
setValue(java.lang.Double value)
Sets the value of the parameter.
|
clone, getConditionalDistribution, getParameterPrior, setConditionalDistribution, setParameterPrior, updateConditionalDistribution
getName, setName, toString
public static final java.lang.String NAME
public Parameter(GammaDistribution conditional, GammaDistribution prior)
prior
- Default conjugate prior.conditional
- Conditional distribution of the conjugate prior.public void setValue(java.lang.Double value)
DistributionParameter
value
- Parameter to set.public java.lang.Double getValue()
NamedValue