Class MeshEuclid
- java.lang.Object
-
- org.aksw.limes.core.ml.algorithm.ACoreMLAlgorithm
-
- org.aksw.limes.core.ml.algorithm.euclid.LinearEuclid
-
- org.aksw.limes.core.ml.algorithm.euclid.BooleanEuclid
-
- org.aksw.limes.core.ml.algorithm.euclid.MeshEuclid
-
public class MeshEuclid extends BooleanEuclid
Class wraps around EUCLIDs meshbased classifiers to abide LIMES ml interface- Author:
- Klaus Lyko (lyko@informatik.uni-leipzig.de)
-
-
Field Summary
Fields Modifier and Type Field Description static StringALGORITHM_NAMEstatic StringGRID_POINTSprotected static org.apache.log4j.Loggerlogger-
Fields inherited from class org.aksw.limes.core.ml.algorithm.euclid.BooleanEuclid
MAX_THRESHOLD
-
Fields inherited from class org.aksw.limes.core.ml.algorithm.euclid.LinearEuclid
BETA, ITERATIONS_MAX, KAPPA, LEARNING_RATE, lsc, MIN_COVERAGE, MIN_THRESHOLD, STRICT
-
Fields inherited from class org.aksw.limes.core.ml.algorithm.ACoreMLAlgorithm
configuration, learningParameters, sourceCache, targetCache
-
-
Constructor Summary
Constructors Constructor Description MeshEuclid()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetName()Name of the core ML algorithm.protected voidinit(List<LearningParameter> learningParameters, ACache sourceCache, ACache targetCache)Initialize the core ML algorithm.protected MLResultslearn(PseudoFMeasure pfm)Learning method for unsupervised core ML algorithm implementations.protected AMappingpredict(ACache source, ACache target, MLResults mlModel)Predict/generate links from source to target based on mlModel.voidsetDefaultParameters()Set default ACoreMLAlgorithm parameters values-
Methods inherited from class org.aksw.limes.core.ml.algorithm.euclid.LinearEuclid
activeLearn, activeLearn, configureEuclid, getNextExamples, learn, learn, supports
-
Methods inherited from class org.aksw.limes.core.ml.algorithm.ACoreMLAlgorithm
getConfiguration, getParameter, getParameters, getSourceCache, getTargetCache, setConfiguration, setParameter
-
-
-
-
Field Detail
-
logger
protected static org.apache.log4j.Logger logger
-
ALGORITHM_NAME
public static final String ALGORITHM_NAME
- See Also:
- Constant Field Values
-
GRID_POINTS
public static final String GRID_POINTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
protected void init(List<LearningParameter> learningParameters, ACache sourceCache, ACache targetCache)
Description copied from class:ACoreMLAlgorithmInitialize the core ML algorithm.- Overrides:
initin classBooleanEuclid- Parameters:
learningParameters- learning parameterssourceCache- the source cachetargetCache- the target cache
-
setDefaultParameters
public void setDefaultParameters()
Description copied from class:ACoreMLAlgorithmSet default ACoreMLAlgorithm parameters values- Overrides:
setDefaultParametersin classBooleanEuclid
-
learn
protected MLResults learn(PseudoFMeasure pfm) throws UnsupportedMLImplementationException
Description copied from class:ACoreMLAlgorithmLearning method for unsupervised core ML algorithm implementations.- Overrides:
learnin classBooleanEuclid- Parameters:
pfm- pseudo F-measure for unsupervised learning- Returns:
- wrap with results
- Throws:
UnsupportedMLImplementationException- if ML implementation is not supported
-
getName
protected String getName()
Description copied from class:ACoreMLAlgorithmName of the core ML algorithm.- Overrides:
getNamein classBooleanEuclid- Returns:
- Name of the core ML algorithm.
-
predict
protected AMapping predict(ACache source, ACache target, MLResults mlModel)
Description copied from class:ACoreMLAlgorithmPredict/generate links from source to target based on mlModel.- Overrides:
predictin classBooleanEuclid- Parameters:
source- Cachetarget- CachemlModel- result of training phase- Returns:
- the mapping from source to target
-
-