public abstract class DiMRGParams extends MRGParams
DirichletMRG| Constructor and Description |
|---|
DiMRGParams() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
getDimension()
Returns the dimension of the hyperparameter vector of the underlying
Dirichlet distribution and therefore the dimension of the generated
random array.
|
abstract double |
getHyperparameter(int i)
Returns the value at position
i of the hyperparameter vector
of the underlying Dirichlet distribution. |
public abstract int getDimension()
public abstract double getHyperparameter(int i)
i of the hyperparameter vector
of the underlying Dirichlet distribution.i - the position of the hyperparameter vectori of the hyperparameter vector
of the underlying Dirichlet distribution