public class GreedySettings extends AbstractLearningSettings
Modifier and Type | Method and Description |
---|---|
GreedySettings |
copy()
Make a deep copy of the learning settings.
|
static GreedySettings |
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 |
java.lang.String |
getTargetNodeName()
Return the name of the target node if the learning algorithm is supervised.
|
boolean |
isAllArcsDeleted() |
boolean |
isSupervised()
Indicate if the current learning algorithm is supervised (i.e. it needs a target) or not.
|
boolean |
isUnfixedArcsDeleted() |
boolean |
isValid()
Test if the current settings are valid.
|
void |
setAllArcsDeleted(boolean allArcsDeleted) |
void |
setUnfixedArcsDeleted(boolean unfixedArcsDeleted) |
java.lang.String |
toString() |
getSmoothedProbabilityEstimation, getStructuralCoefficient, isVerbose, setSmoothedProbabilityEstimation, setStructuralCoefficient, setVerbose
public GreedySettings copy()
LearningSettings
public void setAllArcsDeleted(boolean allArcsDeleted)
public boolean isAllArcsDeleted()
public void setUnfixedArcsDeleted(boolean unfixedArcsDeleted)
public boolean isUnfixedArcsDeleted()
public static GreedySettings 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