public abstract class MachineLearningModel extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Config |
config
configuration
|
protected LinkSpecification |
learnedLS
the learned LinkSpecification
|
protected AMapping |
learnedMapping
the resulting mapping of a learning process
|
protected List<LearningParameter> |
learningParameters
parameters
|
protected Thread |
learningThread
thread in which the learning is done
|
protected static org.slf4j.Logger |
logger
logger for this class
|
protected AMLAlgorithm |
mlalgorithm
algorithm
|
protected ACache |
sourceCache
sourceCache
|
protected ACache |
targetCache
targetCache
|
| Constructor and Description |
|---|
MachineLearningModel(Config config,
ACache sourceCache,
ACache targetCache)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
abstract javafx.concurrent.Task<Void> |
createLearningTask()
creates the learning task for this algorithm
|
Config |
getConfig()
return config
|
LinkSpecification |
getLearnedLS()
get learnedLS
|
AMapping |
getLearnedMapping()
get learned mapping
|
Thread |
getLearningThread()
return learning thread
|
AMLAlgorithm |
getMlalgorithm()
return algorithm
|
void |
initializeData(String algorithmName)
creates a new mlalgorithm using
MLAlgorithmFactory |
void |
setConfig(Config config)
set config
|
void |
setLearnedLS(LinkSpecification learnedLS)
set learnedLS
|
void |
setLearnedMapping(AMapping learnedMapping)
set learnedMapping
|
void |
setLearningParameters(List<LearningParameter> learningParameters)
set learning parameters
|
void |
setLearningThread(Thread learningThread)
set learning thread
|
void |
setMlalgorithm(AMLAlgorithm mlalgorithm)
set algorithm
|
protected static org.slf4j.Logger logger
protected AMLAlgorithm mlalgorithm
protected List<LearningParameter> learningParameters
protected ACache sourceCache
protected ACache targetCache
protected Thread learningThread
protected Config config
protected AMapping learnedMapping
protected LinkSpecification learnedLS
public abstract javafx.concurrent.Task<Void> createLearningTask()
public AMLAlgorithm getMlalgorithm()
public void setMlalgorithm(AMLAlgorithm mlalgorithm)
mlalgorithm - the algorithm to be setpublic void setLearningParameters(List<LearningParameter> learningParameters)
learningParameters - the parameterspublic void initializeData(String algorithmName)
MLAlgorithmFactoryalgorithmName - the algorithm namepublic Thread getLearningThread()
public void setLearningThread(Thread learningThread)
learningThread - th thread to be setpublic AMapping getLearnedMapping()
public void setLearnedMapping(AMapping learnedMapping)
learnedMapping - learned mappingpublic Config getConfig()
public void setConfig(Config config)
config - configpublic LinkSpecification getLearnedLS()
public void setLearnedLS(LinkSpecification learnedLS)
learnedLS - learnedLSCopyright © 2018. All rights reserved.