de.jstacs.utils
Class DiscreteInhomogenousDataSetEmitter
java.lang.Object
de.jstacs.utils.DiscreteInhomogenousDataSetEmitter
public class DiscreteInhomogenousDataSetEmitter
- extends Object
Emits DataSet
s for discrete inhomogeneous models by a naive implementation.
- Author:
- Jens Keilwagen
- See Also:
StatisticalModel.emitDataSet(int, int[])
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiscreteInhomogenousDataSetEmitter
public DiscreteInhomogenousDataSetEmitter()
emitDataSet
public static DataSet emitDataSet(StatisticalModel m,
int n)
throws NotTrainedException,
Exception
- This method emits a data set with
n sequences from the discrete inhomogeneous model m
.
- Parameters:
m
- the modeln
- the number of sequences
- Returns:
- the synthetic data set
- Throws:
NotTrainedException
- if the model is not trained
Exception
- if something went wrong