public abstract class AbstractLearningSettings extends java.lang.Object implements LearningSettings
Modifier and Type | Method and Description |
---|---|
double |
getSmoothedProbabilityEstimation()
Returns the weight of the non informative prior, i.e. the virtual case(s) spread uniformly across the joint probability distribution.
|
double |
getStructuralCoefficient()
Returns the weight associated to the structural part used in the Minimum Description Length score.
|
boolean |
isVerbose()
Tests if the learning algorithm will output information on the standard output stream
System.out during learning. |
void |
setSmoothedProbabilityEstimation(double weight)
Sets the weight of the non informative prior, i.e. the virtual case(s) spread uniformly across the joint probability distribution.
|
void |
setStructuralCoefficient(double weight)
Sets the weight associated to the structural part used in the Minimum Description Length score.
|
void |
setVerbose(boolean verbose)
Tells the learning algorithm to print output information to the standard output stream
System.out during learning. |
java.lang.String |
toString() |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy, getLearningAlgorithm, getTargetNodeName, isSupervised, isValid
public double getSmoothedProbabilityEstimation()
LearningSettings
getSmoothedProbabilityEstimation
in interface LearningSettings
public void setSmoothedProbabilityEstimation(double weight)
weight
- the weight associated to each virtual casepublic double getStructuralCoefficient()
LearningSettings
getStructuralCoefficient
in interface LearningSettings
public void setStructuralCoefficient(double weight)
weight
- the weight associated to the structural part of the MDL scorepublic boolean isVerbose()
LearningSettings
System.out
during learning.isVerbose
in interface LearningSettings
public void setVerbose(boolean verbose)
System.out
during learning.verbose
- true if the information is printedpublic java.lang.String toString()
toString
in interface LearningSettings
toString
in class java.lang.Object