de.jstacs.utils.random
Class FastDirichletMRGParams
java.lang.Object
de.jstacs.utils.random.MRGParams
de.jstacs.utils.random.DiMRGParams
de.jstacs.utils.random.FastDirichletMRGParams
public class FastDirichletMRGParams
- extends DiMRGParams
The container for parameter of a Dirichlet random generator that used the same hyperparameter at all positions.
- Author:
- Jens Keilwagen
- See Also:
MRGParams
,
DirichletMRGParams
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FastDirichletMRGParams
public FastDirichletMRGParams(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