public class BooleanEuclid extends LinearEuclid
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.log4j.Logger |
logger |
static String |
MAX_THRESHOLD |
BETA, ITERATIONS_MAX, KAPPA, LEARNING_RATE, lsc, MIN_COVERAGE, MIN_THRESHOLD, STRICTconfiguration, learningParameters, sourceCache, targetCache| Constructor and Description |
|---|
BooleanEuclid() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getName()
Name of the core ML algorithm.
|
protected void |
init(List<LearningParameter> learningParameters,
ACache sourceCache,
ACache targetCache)
Initialize the core ML algorithm.
|
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
|
activeLearn, activeLearn, configureEuclid, getNextExamples, learn, learn, supportsgetConfiguration, getParameter, getParameters, getSourceCache, getTargetCache, setConfiguration, setParameterprotected static org.apache.log4j.Logger logger
public static final String MAX_THRESHOLD
protected void init(List<LearningParameter> learningParameters, ACache sourceCache, ACache targetCache)
ACoreMLAlgorithminit in class LinearEuclidlearningParameters - learning parameterssourceCache - the source cachetargetCache - the target cachepublic void setDefaultParameters()
ACoreMLAlgorithmsetDefaultParameters in class LinearEuclidprotected MLResults learn(PseudoFMeasure pfm) throws UnsupportedMLImplementationException
ACoreMLAlgorithmlearn in class LinearEuclidpfm - pseudo F-measure for unsupervised learningUnsupportedMLImplementationException - if ML implementation is not supportedprotected AMapping predict(ACache source, ACache target, MLResults mlModel)
ACoreMLAlgorithmpredict in class LinearEuclidsource - Cachetarget - CachemlModel - result of training phaseprotected String getName()
ACoreMLAlgorithmgetName in class LinearEuclidCopyright © 2020. All rights reserved.