public class MaximumSpanningTreeSettings extends AbstractLearningSettings
Modifier and Type | Method and Description |
---|---|
MaximumSpanningTreeSettings |
copy()
Make a deep copy of the learning settings.
|
static MaximumSpanningTreeSettings |
createDefault()
Create an instance of the learning settings initialized with the default parameters for this algorithm.
|
APIUtils.LEARNING_ALGORITHM |
getLearningAlgorithm()
Return a
LEARNING_ALGORITHM indicating the learning algorithm to use |
int |
getScore() |
java.lang.String |
getTargetNodeName()
Return the name of the target node if the learning algorithm is supervised.
|
boolean |
isSupervised()
Indicate if the current learning algorithm is supervised (i.e. it needs a target) or not.
|
boolean |
isValid()
Test if the current settings are valid.
|
void |
setScore(int score) |
java.lang.String |
toString() |
getSmoothedProbabilityEstimation, getStructuralCoefficient, isVerbose, setSmoothedProbabilityEstimation, setStructuralCoefficient, setVerbose
public MaximumSpanningTreeSettings copy()
LearningSettings
public int getScore()
public void setScore(int score)
public static MaximumSpanningTreeSettings createDefault()
public java.lang.String toString()
toString
in interface LearningSettings
toString
in class AbstractLearningSettings
public APIUtils.LEARNING_ALGORITHM getLearningAlgorithm()
LearningSettings
LEARNING_ALGORITHM
indicating the learning algorithm to usepublic boolean isSupervised()
LearningSettings
APIUtils.LEARNING_ALGORITHM.isSupervised()
public java.lang.String getTargetNodeName()
LearningSettings
public boolean isValid()
LearningSettings