public class DiscreteInhomogenousDataSetEmitter extends Object
DataSet
s for discrete inhomogeneous models by a naive implementation.StatisticalModel.emitDataSet(int, int[])
Constructor and Description |
---|
DiscreteInhomogenousDataSetEmitter() |
Modifier and Type | Method and Description |
---|---|
static DataSet |
emitDataSet(StatisticalModel m,
int n)
This method emits a data set with
n sequences from the discrete inhomogeneous model m
. |
public static DataSet emitDataSet(StatisticalModel m, int n) throws NotTrainedException, Exception
n
sequences from the discrete inhomogeneous model m
.m
- the modeln
- the number of sequencesNotTrainedException
- if the model is not trainedException
- if something went wrong