public static class PoissonBayesianEstimator.Parameter extends AbstractBayesianParameter<java.lang.Double,PoissonDistribution,GammaDistribution>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Name of the parameter, "rate".
|
conditionalDistribution
name
Constructor and Description |
---|
Parameter(PoissonDistribution conditional,
GammaDistribution prior)
Creates a new instance
|
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(PoissonDistribution 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