slib.sml.sm.core.metrics.ic.topo
Class ICi_seco_2004
java.lang.Object
slib.sml.sm.core.metrics.utils.LogBasedMetric
slib.sml.sm.core.metrics.ic.topo.ICi_seco_2004
- All Implemented Interfaces:
- ICtopo, LogBasedMetricInterface
public class ICi_seco_2004
- extends LogBasedMetric
- implements ICtopo
1. Seco N, Veale T, Hayes J: An Intrinsic Information Content Metric for
Semantic Similarity in WordNet. In 16th European Conference on Artificial
Intelligence. IOS Press; 2004, 16:1-5.
IC range : [0,1]
- Author:
- Sebastien Harispe
Method Summary |
Map<org.openrdf.model.URI,Double> |
compute(IC_Conf_Topo conf,
SM_Engine engine)
Compute the topological Information Content for the vertices contained by
the graph associated to the given engine. |
Map<org.openrdf.model.URI,Double> |
compute(Map<org.openrdf.model.URI,Set<org.openrdf.model.URI>> allDescendantsInc)
Compute the Information contents of the vertices specified in the given
stack. |
double |
computeIC(double nbInclusiveDescendants,
double nbConceptsOnto)
Compute the IC considering the given parameters. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ICi_seco_2004
public ICi_seco_2004()
compute
public Map<org.openrdf.model.URI,Double> compute(Map<org.openrdf.model.URI,Set<org.openrdf.model.URI>> allDescendantsInc)
throws slib.utils.ex.SLIB_Ex_Critic
- Compute the Information contents of the vertices specified in the given
stack.
- Parameters:
allNbOfDescendants
- a result stack containing the number of
inclusive descendants for all the vertices contained in the graph. The
information content will be computed for each vertices composing the
stack considering the number of vertices in the graph equaling the number
of vertices in the stack. Note that the number of descendant is
considered to be inclusive i.e. the count of descendants of a concepts x
must also count x.
- Returns:
- a result stack storing the information for each concepts
specified in the result stack specified in parameter.
- Throws:
slib.utils.ex.SLIB_Ex_Critic
compute
public Map<org.openrdf.model.URI,Double> compute(IC_Conf_Topo conf,
SM_Engine engine)
throws slib.utils.ex.SLIB_Ex_Critic
- Description copied from interface:
ICtopo
- Compute the topological Information Content for the vertices contained by
the graph associated to the given engine.
- Specified by:
compute
in interface ICtopo
- Parameters:
conf
- the configuration defining the measure among otherengine
- the engine used to manage the computation
- Returns:
- a result stack containing the Information Content for each
vertices of the graph.
- Throws:
slib.utils.ex.SLIB_Ex_Critic
computeIC
public double computeIC(double nbInclusiveDescendants,
double nbConceptsOnto)
throws slib.utils.ex.SLIB_Ex_Critic
- Compute the IC considering the given parameters.
- Parameters:
nbInclusiveDescendants
- the number of inclusive descendants to
consider.nbConceptsOnto
- the number of concepts composing the ontology.
- Returns:
- the IC.
- Throws:
slib.utils.ex.SLIB_Ex_Critic
Copyright © 2013. All Rights Reserved.