public static class MultinomialBayesianEstimator.Parameter extends AbstractBayesianParameter<Vector,MultinomialDistribution,DirichletDistribution>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
Name of the parameter, "parameters".
|
conditionalDistribution
name
Constructor and Description |
---|
Parameter(MultinomialDistribution conditional,
DirichletDistribution prior)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
Vector |
getValue()
Gets the value stored in the name-value pair.
|
void |
setValue(Vector 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(MultinomialDistribution conditional, DirichletDistribution prior)
prior
- Default conjugate prior.conditional
- Conditional distribution of the conjugate prior.public void setValue(Vector value)
DistributionParameter
value
- Parameter to set.public Vector getValue()
NamedValue