Package org.aksw.deer.enrichments
Class LinkingEnrichmentOperator
- java.lang.Object
-
- org.aksw.faraday_cage.engine.AbstractExecutionNode<T>
-
- org.aksw.faraday_cage.engine.AbstractParameterizedExecutionNode<Model>
-
- org.aksw.deer.enrichments.AbstractParameterizedEnrichmentOperator
-
- org.aksw.deer.enrichments.LinkingEnrichmentOperator
-
- All Implemented Interfaces:
DeerExecutionNode,DeerPlugin,EnrichmentOperator,ParameterizedEnrichmentOperator,Learnable,ReverseLearnable,SelfConfigurable,ParameterizedDeerExecutionNode,ExecutionNode<Model>,Parameterized,Plugin,org.pf4j.ExtensionPoint
@Extension public class LinkingEnrichmentOperator extends AbstractParameterizedEnrichmentOperator implements SelfConfigurable, ReverseLearnable
AnEnrichmentOperatorto enrich models with links discovered using LIMES.The
LinkingEnrichmentOperator...
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.aksw.faraday_cage.engine.ExecutionNode
ExecutionNode.DegreeBounds
-
-
Field Summary
Fields Modifier and Type Field Description static PropertyLINK_SPECIFICATIONstatic PropertyLINKING_PREDICATEstatic PropertyLINKS_PARTstatic PropertySELECT_MODEstatic PropertySPEC_FILEstatic PropertyTHRESHOLDstatic PropertyUSE_ML-
Fields inherited from class org.aksw.deer.enrichments.AbstractParameterizedEnrichmentOperator
description, documentationURL
-
-
Constructor Summary
Constructors Constructor Description LinkingEnrichmentOperator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidatableParameterMapcreateParameterMap()Create an uninitializedParameterMapto be filled by theExecutionGraphGenerator.ExecutionNode.DegreeBoundsgetDegreeBounds()java.lang.StringgetDescription()ExecutionNode.DegreeBoundsgetLearnableDegreeBounds()ValidatableParameterMaplearnParameterMap(java.util.List<Model> inputs, Model target, ValidatableParameterMap prototype)doublepredictApplicability(java.util.List<Model> inputs, Model target)java.util.List<Model>reverseApply(java.util.List<Model> inputs, Model target)protected java.util.List<Model>safeApply(java.util.List<Model> models)static voidsetStaticLearning(java.util.function.Supplier<ValidatableParameterMap> x)-
Methods inherited from class org.aksw.deer.enrichments.AbstractParameterizedEnrichmentOperator
deepCopy, getDocumentationURL, getType
-
Methods inherited from class org.aksw.faraday_cage.engine.AbstractParameterizedExecutionNode
getParameterMap, getValidationModelFor, initParameters, isInitialized
-
Methods inherited from class org.aksw.faraday_cage.engine.AbstractExecutionNode
apply, getId, getInDegree, getOutDegree, initDegrees, initPluginId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.aksw.faraday_cage.engine.ExecutionNode
apply, getInDegree, getOutDegree, initDegrees
-
Methods inherited from interface org.aksw.faraday_cage.engine.Parameterized
getParameterMap, initParameters, isInitialized
-
Methods inherited from interface org.aksw.faraday_cage.engine.Plugin
getId, initPluginId, isInitialized
-
-
-
-
Field Detail
-
LINKING_PREDICATE
public static final Property LINKING_PREDICATE
-
THRESHOLD
public static final Property THRESHOLD
-
SELECT_MODE
public static final Property SELECT_MODE
-
LINKS_PART
public static final Property LINKS_PART
-
SPEC_FILE
public static final Property SPEC_FILE
-
LINK_SPECIFICATION
public static final Property LINK_SPECIFICATION
-
USE_ML
public static final Property USE_ML
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceDeerPlugin- Overrides:
getDescriptionin classAbstractParameterizedEnrichmentOperator
-
createParameterMap
public ValidatableParameterMap createParameterMap()
Description copied from interface:ParameterizedCreate an uninitializedParameterMapto be filled by theExecutionGraphGenerator.- Specified by:
createParameterMapin interfaceParameterized- Returns:
- uninitialized
ParameterMapcontaining all allowedParameter
-
safeApply
protected java.util.List<Model> safeApply(java.util.List<Model> models)
- Specified by:
safeApplyin classAbstractExecutionNode<Model>- Parameters:
models-- Returns:
- model enriched with links generated from LIMES
-
getDegreeBounds
public ExecutionNode.DegreeBounds getDegreeBounds()
- Specified by:
getDegreeBoundsin interfaceExecutionNode<Model>- Overrides:
getDegreeBoundsin classAbstractParameterizedEnrichmentOperator
-
predictApplicability
public double predictApplicability(java.util.List<Model> inputs, Model target)
- Specified by:
predictApplicabilityin interfaceReverseLearnable
-
reverseApply
public java.util.List<Model> reverseApply(java.util.List<Model> inputs, Model target)
- Specified by:
reverseApplyin interfaceReverseLearnable
-
learnParameterMap
public ValidatableParameterMap learnParameterMap(java.util.List<Model> inputs, Model target, ValidatableParameterMap prototype)
- Specified by:
learnParameterMapin interfaceSelfConfigurable
-
getLearnableDegreeBounds
public ExecutionNode.DegreeBounds getLearnableDegreeBounds()
- Specified by:
getLearnableDegreeBoundsin interfaceLearnable
-
setStaticLearning
public static void setStaticLearning(java.util.function.Supplier<ValidatableParameterMap> x)
-
-