de.jstacs.utils.random
Class DirichletMRGParams
java.lang.Object
de.jstacs.utils.random.MRGParams
de.jstacs.utils.random.DiMRGParams
de.jstacs.utils.random.DirichletMRGParams
public class DirichletMRGParams
- extends DiMRGParams
The container for parameter of a Dirichlet random generator.
- Author:
- Jens Keilwagen
- See Also:
DiMRGParams
,
FastDirichletMRGParams
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirichletMRGParams
public DirichletMRGParams(double alpha,
int n)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
- See Also:
FastDirichletMRGParams.FastDirichletMRGParams(double)
DirichletMRGParams
public DirichletMRGParams(double... alpha)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getDimension
public int getDimension()
- Specified by:
getDimension
in class DiMRGParams
getHyperparameter
public double getHyperparameter(int i)
- Specified by:
getHyperparameter
in class DiMRGParams
getSumOfHyperparameter
public double getSumOfHyperparameter()