public class Eagle extends ACoreMLAlgorithm
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ALGORITHM_NAME |
static String |
BETA |
static String |
CROSSOVER_RATE |
static String |
GENERATIONS |
static String |
INQUIRY_SIZE |
protected static org.apache.log4j.Logger |
logger |
static String |
MAX_DURATION |
static String |
MAX_ITERATIONS |
static String |
MAX_QUALITY |
static String |
MEASURE |
static String |
MUTATION_RATE |
static String |
POPULATION |
static String |
PRESERVE_FITTEST |
static String |
PROPERTY_MAPPING |
static String |
PSEUDO_FMEASURE |
static String |
REPRODUCTION_RATE |
static String |
TERMINATION_CRITERIA |
static String |
TERMINATION_CRITERIA_VALUE |
configuration, learningParameters, sourceCache, targetCache| Modifier | Constructor and Description |
|---|---|
protected |
Eagle()
Eagle constructor.
|
| 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.
|
int |
getTurn() |
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 static final String ALGORITHM_NAME
public static final String GENERATIONS
public static final String PRESERVE_FITTEST
public static final String MAX_DURATION
public static final String INQUIRY_SIZE
public static final String MAX_ITERATIONS
public static final String MAX_QUALITY
public static final String TERMINATION_CRITERIA
public static final String TERMINATION_CRITERIA_VALUE
public static final String BETA
public static final String POPULATION
public static final String MUTATION_RATE
public static final String REPRODUCTION_RATE
public static final String CROSSOVER_RATE
public static final String PSEUDO_FMEASURE
public static final String MEASURE
public static final String PROPERTY_MAPPING
protected static org.apache.log4j.Logger logger
protected 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)
ACoreMLAlgorithmlearn in class ACoreMLAlgorithmpfm - pseudo F-measure for unsupervised learningprotected 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) throws UnsupportedMLImplementationException
ACoreMLAlgorithmgetNextExamples in class ACoreMLAlgorithmsize - of the examplesUnsupportedMLImplementationException - Exceptionprotected MLResults activeLearn(AMapping oracleMapping) throws UnsupportedMLImplementationException
ACoreMLAlgorithmactiveLearn in class ACoreMLAlgorithmoracleMapping - mapping from the oracleUnsupportedMLImplementationException - if ML implementation is not supportedprotected MLResults activeLearn() throws UnsupportedMLImplementationException
ACoreMLAlgorithmactiveLearn in class ACoreMLAlgorithmUnsupportedMLImplementationException - if ML implementation is not supportedpublic void setDefaultParameters()
ACoreMLAlgorithmsetDefaultParameters in class ACoreMLAlgorithmpublic int getTurn()
Copyright © 2018. All rights reserved.