de.jstacs.models.utils
Class DiscreteInhomogenousSampleEmitter
java.lang.Object
de.jstacs.models.utils.DiscreteInhomogenousSampleEmitter
public class DiscreteInhomogenousSampleEmitter
- extends Object
Emits Samples for discrete, inhomogenous models by a naive implementation.
- Author:
- Jens Keilwagen
- See Also:
AbstractModel.emitSample(int, int[])
Method Summary |
static Sample |
emitSample(Model m,
int n)
This method emits a sample with
n sequences from the discrete, inhomogenous model m . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiscreteInhomogenousSampleEmitter
public DiscreteInhomogenousSampleEmitter()
emitSample
public static Sample emitSample(Model m,
int n)
throws NotTrainedException,
Exception
- This method emits a sample with
n sequences from the discrete, inhomogenous model m
.
- Parameters:
m
- the modeln
- the number of sequences
- Returns:
- the synthetic sample
- Throws:
NotTrainedException
Exception