public class BayesianNetworkTrainSMParameterSet extends IDGTrainSMParameterSet
ParameterSet for the class
BayesianNetworkTrainSM.ParameterSet.ParameterListalphabet, lengtherrorMessage, parameters, parent| Constructor and Description |
|---|
BayesianNetworkTrainSMParameterSet()
The simple constructor for an empty
BayesianNetworkTrainSMParameterSet for a
BayesianNetworkTrainSM. |
BayesianNetworkTrainSMParameterSet(AlphabetContainer alphabet,
int length,
double ess,
String description,
StructureLearner.ModelType model,
byte order,
StructureLearner.LearningType method)
This is the constructor of a filled
BayesianNetworkTrainSMParameterSet for a
BayesianNetworkTrainSM. |
BayesianNetworkTrainSMParameterSet(StringBuffer s)
The standard constructor for the interface
Storable. |
| Modifier and Type | Method and Description |
|---|---|
String |
getInstanceComment()
Returns a comment (a textual description) of the class that can be
constructed using this
ParameterSet. |
String |
getModelInstanceName()
This method returns a short description of the model.
|
void |
setModelType(String modelType)
This method allows a simple change of the model type.
|
getModelInstanceNameclone, getInstanceName, hasDefaultOrIsSet, setEssequals, fromXML, getAlphabetContainer, getLength, getNumberOfParameters, getParameterAt, reset, toXMLgetInstance, getInstanceClassfromGalaxy, getAllParameterNames, getComment, getComment, getErrorMessage, getIndex, getName, getName, getParameterForName, getParent, initParameterList, initParameterList, isAtomic, isComparable, parametersLoaded, setParent, toGalaxypublic BayesianNetworkTrainSMParameterSet(StringBuffer s) throws NonParsableException
Storable.
Creates a new BayesianNetworkTrainSMParameterSet out of its XML
representation.s - the XML representation as StringBufferNonParsableException - if the BayesianNetworkTrainSMParameterSet could not be
reconstructed out of the XML representation (the
StringBuffer could not be parsed)Storable,
IDGTrainSMParameterSet.IDGTrainSMParameterSet(StringBuffer)public BayesianNetworkTrainSMParameterSet()
BayesianNetworkTrainSMParameterSet for a
BayesianNetworkTrainSM.public BayesianNetworkTrainSMParameterSet(AlphabetContainer alphabet, int length, double ess, String description, StructureLearner.ModelType model, byte order, StructureLearner.LearningType method) throws Exception
BayesianNetworkTrainSMParameterSet for a
BayesianNetworkTrainSM.alphabet - the AlphabetContainer that is used in the modellength - the length of the model (has to be positive)ess - the ess (equivalent sample size) of the
model (has to be positive)description - a short description of the model (for a better handling of the
object by the user)model - the type of model: IMM, PMM or BNorder - the order of the modelmethod - the method how to learn the structure (only relevant for PMM,
BN): ML_OR_MAP or BMAException - if something went wrongStructureLearner.ModelType,
StructureLearner.ModelType.IMM,
StructureLearner.ModelType.PMM,
StructureLearner.ModelType.BN,
StructureLearner.LearningType,
StructureLearner.LearningType.ML_OR_MAP,
StructureLearner.LearningType.BMA,
IDGTrainSMParameterSet.IDGTrainSMParameterSet(Class, AlphabetContainer, int,
double, String)public void setModelType(String modelType) throws SimpleParameter.IllegalValueException
modelType - the type of the model, one of "iMM", "pMM"
or "BN"SimpleParameter.IllegalValueException - if the modelType is illegalpublic String getInstanceComment()
InstanceParameterSetParameterSet.getInstanceComment in class InstanceParameterSetpublic String getModelInstanceName()