public abstract class AbstractPSLA extends Object implements ProbabilisticStructureLearningAlgorithm, StoppableLearningAlgorithm
| Constructor and Description |
|---|
AbstractPSLA() |
AbstractPSLA(AbstractCELA cela,
AbstractParameterLearningAlgorithm pla)
Each probabilistic structure learning algorithm gets a class expression
learning algorithm and a parameter learning algorithm
|
| Modifier and Type | Method and Description |
|---|---|
AbstractCELA |
getClassExpressionLearningAlgorithm() |
ParameterLearningAlgorithm |
getLearningParameterAlgorithm()
Get the underlying learning parameter algorithm.
|
AbstractLearningProblem |
getLearningProblem()
The learning problem variable, which must be used by all learning
algorithm implementations.
|
String |
getOutputFile() |
boolean |
isRunning()
Returns whether the learning algorithm is running.
|
void |
setClassExpressionLearningAlgorithm(AbstractCELA la) |
void |
setLearningParameterAlgorithm(ParameterLearningAlgorithm pla)
Set the parameter learner algorithm.
|
void |
setLearningProblem(LearningProblem learningProblem)
Set the learning problem, which the algorithm should solve.
|
void |
setOutputFile(String outputFile) |
void |
stop()
Stops the algorithm gracefully.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstartpublic AbstractPSLA()
public AbstractPSLA(AbstractCELA cela, AbstractParameterLearningAlgorithm pla)
cela - pla - public AbstractCELA getClassExpressionLearningAlgorithm()
@Autowired public void setClassExpressionLearningAlgorithm(AbstractCELA la)
public ParameterLearningAlgorithm getLearningParameterAlgorithm()
ProbabilisticStructureLearningAlgorithmgetLearningParameterAlgorithm in interface ProbabilisticStructureLearningAlgorithm@Autowired public void setLearningParameterAlgorithm(ParameterLearningAlgorithm pla)
ProbabilisticStructureLearningAlgorithmsetLearningParameterAlgorithm in interface ProbabilisticStructureLearningAlgorithmpla - The parameter learner to be used.public AbstractLearningProblem getLearningProblem()
getLearningProblem in interface LearningAlgorithm@Autowired public void setLearningProblem(LearningProblem learningProblem)
LearningAlgorithmsetLearningProblem in interface LearningAlgorithmlearningProblem - The learning problem to solve.public boolean isRunning()
StoppableLearningAlgorithmisRunning in interface StoppableLearningAlgorithmpublic void stop()
StoppableLearningAlgorithmstop in interface StoppableLearningAlgorithmpublic String getOutputFile()
public void setOutputFile(String outputFile)
outputFile - the outputFile to set
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann