de.jstacs.sequenceScores.statisticalModels.trainable.discrete.inhomogeneous.parameters
Class IDGTrainSMParameterSet
java.lang.Object
de.jstacs.parameters.ParameterSet
de.jstacs.parameters.InstanceParameterSet<T>
de.jstacs.parameters.SequenceScoringParameterSet<T>
de.jstacs.sequenceScores.statisticalModels.trainable.discrete.DGTrainSMParameterSet
de.jstacs.sequenceScores.statisticalModels.trainable.discrete.inhomogeneous.parameters.IDGTrainSMParameterSet
- All Implemented Interfaces:
- GalaxyConvertible, Storable, Cloneable
- Direct Known Subclasses:
- BayesianNetworkTrainSMParameterSet, FSDAGTrainSMParameterSet, MEManagerParameterSet
public abstract class IDGTrainSMParameterSet
- extends DGTrainSMParameterSet
This is the abstract container of parameters that is a root container for all
inhomogeneous discrete graphical model parameter containers.
- Author:
- Jens Keilwagen
| Methods inherited from class de.jstacs.parameters.ParameterSet |
fromGalaxy, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getParameterForName, getParent, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, setParent, toGalaxy |
IDGTrainSMParameterSet
protected IDGTrainSMParameterSet(StringBuffer s)
throws NonParsableException
- The standard constructor for the interface
Storable.
Creates a new IDGTrainSMParameterSet out of its XML representation.
- Parameters:
s - the XML representation as StringBuffer
- Throws:
NonParsableException - if the IDGTrainSMParameterSet could not be reconstructed
out of the XML representation (the StringBuffer could
not be parsed)- See Also:
Storable,
DGTrainSMParameterSet.DGTrainSMParameterSet(StringBuffer)
IDGTrainSMParameterSet
protected IDGTrainSMParameterSet(Class<? extends InhomogeneousDGTrainSM> instanceClass)
- This constructor creates an empty
IDGTrainSMParameterSet instance from
the class that can be instantiated using this IDGTrainSMParameterSet.
- Parameters:
instanceClass - the instance class- See Also:
DGTrainSMParameterSet.DGTrainSMParameterSet(Class, boolean, boolean)
IDGTrainSMParameterSet
protected IDGTrainSMParameterSet(Class<? extends InhomogeneousDGTrainSM> instanceClass,
AlphabetContainer alphabet,
int length,
double ess,
String description)
throws Exception
- This constructor creates an
IDGTrainSMParameterSet instance for the
specified class. It sets the AlphabetContainer, the length, the
ess (equivalent sample size) and the model
description.
- Parameters:
instanceClass - the instance classalphabet - the AlphabetContainer for the modellength - the length of the modeless - the ess of the modeldescription - the model description
- Throws:
Exception - if something went wrong
getModelInstanceName
public static String getModelInstanceName(StructureLearner.ModelType model,
byte order,
StructureLearner.LearningType method,
double ess)
- This method returns a short textual representation of the model instance.
- Parameters:
model - the type of the modelorder - the order of the modelmethod - the learning methodess - the used ess (equivalent sample size)
- Returns:
- a short textual representation of the model instance
- See Also:
StructureLearner.ModelType,
StructureLearner.LearningType