public class ACIDS extends ACoreMLAlgorithm
configuration, learningParameters, logger, sourceCache, targetCache| Constructor and Description |
|---|
ACIDS() |
| Modifier and Type | Method and Description |
|---|---|
protected MLResults |
activeLearn()
Learning method for supervised active core ML algorithm implementations
Normally, it is used as a first step to initialize the ML model
before going through the active learning process
|
protected MLResults |
activeLearn(AMapping oracleMapping)
Learning method for supervised active core ML algorithm implementations.
|
protected String |
getName()
Name of the core ML algorithm.
|
protected AMapping |
getNextExamples(int size)
Get a set of examples to be added to the mapping.
|
protected void |
init(List<LearningParameter> lp,
ACache source,
ACache target)
Initialize the core ML algorithm.
|
protected MLResults |
learn(AMapping trainingData)
Learning method for supervised core ML algorithm implementations, where
the confidence values for each pair in the trainingData determine its
truth degree.
|
protected MLResults |
learn(PseudoFMeasure pfm)
Learning method for unsupervised core ML algorithm implementations.
|
protected AMapping |
predict(ACache source,
ACache target,
MLResults mlModel)
Predict/generate links from source to target based on mlModel.
|
void |
setDefaultParameters()
Set default ACoreMLAlgorithm parameters values
|
protected boolean |
supports(MLImplementationType mlType)
Check whether the mlType is supported.
|
getConfiguration, getParameter, getParameters, getSourceCache, getTargetCache, setConfiguration, setParameterprotected String getName()
ACoreMLAlgorithmgetName in class ACoreMLAlgorithmprotected void init(List<LearningParameter> lp, ACache source, ACache target)
ACoreMLAlgorithminit in class ACoreMLAlgorithmlp - learning parameterssource - the source cachetarget - the target cacheprotected MLResults learn(AMapping trainingData)
ACoreMLAlgorithmlearn in class ACoreMLAlgorithmtrainingData - used for learningprotected MLResults learn(PseudoFMeasure pfm) throws UnsupportedMLImplementationException
ACoreMLAlgorithmlearn in class ACoreMLAlgorithmpfm - pseudo F-measure for unsupervised learningUnsupportedMLImplementationException - if ML implementation is not supportedprotected AMapping predict(ACache source, ACache target, MLResults mlModel)
ACoreMLAlgorithmpredict in class ACoreMLAlgorithmsource - Cachetarget - CachemlModel - result of training phaseprotected boolean supports(MLImplementationType mlType)
ACoreMLAlgorithmsupports in class ACoreMLAlgorithmmlType - machine learning implementation typeprotected AMapping getNextExamples(int size)
ACoreMLAlgorithmgetNextExamples in class ACoreMLAlgorithmsize - of the examplesprotected MLResults activeLearn(AMapping oracleMapping)
ACoreMLAlgorithmactiveLearn in class ACoreMLAlgorithmoracleMapping - mapping from the oraclepublic void setDefaultParameters()
ACoreMLAlgorithmsetDefaultParameters in class ACoreMLAlgorithmprotected MLResults activeLearn() throws UnsupportedMLImplementationException
ACoreMLAlgorithmactiveLearn in class ACoreMLAlgorithmUnsupportedMLImplementationException - if ML implementation is not supportedCopyright © 2018. All rights reserved.