Class BooleanSelfConfigurator
- java.lang.Object
-
- org.aksw.limes.core.ml.algorithm.euclid.LinearSelfConfigurator
-
- org.aksw.limes.core.ml.algorithm.euclid.BooleanSelfConfigurator
-
- All Implemented Interfaces:
ISelfConfigurator
- Direct Known Subclasses:
MeshBasedSelfConfigurator
public class BooleanSelfConfigurator extends LinearSelfConfigurator
Boolean implementation of a self-configurator (Euclid) to (unsupervised) learn LS based upon a boolean combination of arbitrary simple classifiers, each representing an atomic LS.- Author:
- Mohamed Sherif (sherif@informatik.uni-leipzig.de), Klaus Lyko (lyko@informatik.uni-leipzig.de)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.aksw.limes.core.ml.algorithm.euclid.LinearSelfConfigurator
LinearSelfConfigurator.QMeasureType, LinearSelfConfigurator.Strategy
-
-
Field Summary
-
Fields inherited from class org.aksw.limes.core.ml.algorithm.euclid.LinearSelfConfigurator
asked, ITERATIONS_MAX, kappa, learningRate, min_coverage, MIN_THRESHOLD, source, STRICT, target
-
-
Constructor Summary
Constructors Constructor Description BooleanSelfConfigurator(ACache source, ACache target)ConstructorBooleanSelfConfigurator(ACache source, ACache target, double minCoverage, double beta)ConstructorBooleanSelfConfigurator(ACache source, ACache target, double minCoverage, double beta, Map<String,String> measures)Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ComplexClassifiercomputeNext(ComplexClassifier classifier, int index)Aims to improve upon a particular classifier by checking whether adding a delta to its similarity worsens the total classiferstatic AMappinggetIntersection(List<AMapping> mappings)Computes the intersection of several mappingsAMappinggetMapping(List<SimpleClassifier> classifiers)Runs classifiers and retrieves the correspoding mappingsList<SimpleClassifier>learnClassifer(List<SimpleClassifier> classifiers)-
Methods inherited from class org.aksw.limes.core.ml.algorithm.euclid.LinearSelfConfigurator
computeMeasure, computeNext, computeQuality, execute, executeClassifier, getAllInitialClassifiers, getBestInitialClassifiers, getBestInitialClassifiers, getBestOneToOneMapping, getInitialOverallClassifiers, getLinkSpecification, getMeasure, getOverallMapping, getPropertyStats, getPropertyType, getResults, getSource, getTarget, getThreshold, minimizeToKnow, normalizeClassifiers, setDefaultMeasures, setMeasure, setMeasure, setPFMType, setSource, setSupervisedBatch, setTarget
-
-
-
-
Constructor Detail
-
BooleanSelfConfigurator
public BooleanSelfConfigurator(ACache source, ACache target)
Constructor- Parameters:
source- Source cachetarget- Target cache
-
BooleanSelfConfigurator
public BooleanSelfConfigurator(ACache source, ACache target, double minCoverage, double beta)
Constructor- Parameters:
source- Source cachetarget- Target cacheminCoverage- Minimal coverage for a property to be considered for linkingbeta- Beta value for computing F_beta *
-
BooleanSelfConfigurator
public BooleanSelfConfigurator(ACache source, ACache target, double minCoverage, double beta, Map<String,String> measures)
Constructor- Parameters:
source- Source cachetarget- Target cacheminCoverage- Minimal coverage for a property to be considered for linkingbeta- Beta value for computing F_betameasures- Atomic measures
-
-
Method Detail
-
computeNext
public ComplexClassifier computeNext(ComplexClassifier classifier, int index)
Aims to improve upon a particular classifier by checking whether adding a delta to its similarity worsens the total classifer- Returns:
- Improved classifiers and their mapping
-
getMapping
public AMapping getMapping(List<SimpleClassifier> classifiers)
Runs classifiers and retrieves the correspoding mappings- Overrides:
getMappingin classLinearSelfConfigurator- Parameters:
classifiers- List of classifiers- Returns:
- AMapping generated by the list of classifiers
-
getIntersection
public static AMapping getIntersection(List<AMapping> mappings)
Computes the intersection of several mappings- Parameters:
mappings- Maps classifiers to the resulting mappings- Returns:
- Intersection of the mappings
-
learnClassifer
public List<SimpleClassifier> learnClassifer(List<SimpleClassifier> classifiers)
- Overrides:
learnClassiferin classLinearSelfConfigurator
-
-