Package | Description |
---|---|
de.jstacs.sequenceScores.statisticalModels.trainable.discrete | |
de.jstacs.sequenceScores.statisticalModels.trainable.discrete.homogeneous | |
de.jstacs.sequenceScores.statisticalModels.trainable.discrete.inhomogeneous |
This package contains various inhomogeneous models.
|
Modifier and Type | Method and Description |
---|---|
protected Constraint |
Constraint.clone() |
Modifier and Type | Method and Description |
---|---|
static void |
ConstraintManager.computeFreqs(double ess,
Constraint... constr)
This method computes the (smoothed) relative frequencies.
|
static double |
ConstraintManager.countInhomogeneous(AlphabetContainer alphabets,
int length,
DataSet data,
double[] weights,
boolean reset,
Constraint... constr)
Fills the (inhomogeneous)
constr with the weighted absolute frequency of the DataSet
data and computes the frequencies will not be computed. |
static double |
ConstraintManager.getEntropy(Constraint c)
Tries to compute the entropy as exact as possible.
|
static double |
ConstraintManager.getLogGammaSum(Constraint c,
double ess)
Computes the sum of differences of the logarithmic values of the prior knowledge and all counts.
|
Modifier and Type | Class and Description |
---|---|
protected class |
HomogeneousTrainSM.HomCondProb
This class handles the (conditional) probabilities of a homogeneous model
in a fast way.
|
Modifier and Type | Method and Description |
---|---|
protected int |
HomogeneousTrainSM.chooseFromDistr(Constraint distr,
int start,
int end,
double randNo)
Chooses a value in
[0,end-start] according to the
distribution encoded in the frequencies of distr between the
indices start and end . |
Modifier and Type | Class and Description |
---|---|
class |
InhCondProb
This class handles (conditional) probabilities of sequences for
inhomogeneous models.
|
class |
InhConstraint
This class is the superclass for all inhomogeneous constraints.
|
class |
MEMConstraint
This constraint can be used for any maximum entropy
model (MEM) application.
|