Package | Description |
---|---|
de.jstacs.classifiers.differentiableSequenceScoreBased.sampling |
Provides the classes for
AbstractScoreBasedClassifier s that are based on
SamplingDifferentiableStatisticalModel s
and that sample parameters using the Metropolis-Hastings algorithm. |
Modifier and Type | Class and Description |
---|---|
class |
SamplingGenDisMixClassifier
A classifier that samples its parameters from a
LogGenDisMixFunction using the
Metropolis-Hastings algorithm. |
Constructor and Description |
---|
SamplingGenDisMixClassifierParameterSet(Class<? extends SamplingScoreBasedClassifier> instanceClass,
AlphabetContainer alphabet,
int length,
int numStarts,
SamplingScoreBasedClassifier.SamplingScheme scheme,
int testSamplings,
int stationarySamplings,
boolean freeParameters,
boolean adaptVariance,
String outfilePrefix,
int threads)
Create a new
SamplingGenDisMixClassifierParameterSet . |
SamplingScoreBasedClassifierParameterSet(Class<? extends SamplingScoreBasedClassifier> instanceClass,
AlphabetContainer alphabet,
int length,
int numStarts,
int testSamplings,
int stationarySamplings,
String outfilePrefix)
Create a new
SamplingScoreBasedClassifierParameterSet with a grouped sampling scheme, sampling all parameters
(and not only the free ones), and adaption of the variance. |
SamplingScoreBasedClassifierParameterSet(Class<? extends SamplingScoreBasedClassifier> instanceClass,
AlphabetContainer alphabet,
int length,
int numStarts,
SamplingScoreBasedClassifier.SamplingScheme scheme,
int testSamplings,
int stationarySamplings,
boolean freeParameters,
boolean adaptVariance,
String outfilePrefix)
Create a new
SamplingScoreBasedClassifierParameterSet . |