public static class BinomialBayesianEstimator.Parameter extends AbstractBayesianParameter<java.lang.Double,BinomialDistribution,BetaDistribution>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Name of the parameter, "p".
|
conditionalDistribution
name
Constructor and Description |
---|
Parameter(BinomialDistribution conditional,
BetaDistribution 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(BinomialDistribution conditional, BetaDistribution prior)
conditional
- Distribution that generates the observationsprior
- Prior distribution of the parameterpublic void setValue(java.lang.Double value)
DistributionParameter
value
- Parameter to set.public java.lang.Double getValue()
NamedValue