slib.sml.sm.core.metrics.ic.annot
Class IC_annot_resnik_1995_Normalized
java.lang.Object
slib.sml.sm.core.metrics.utils.LogBasedMetric
slib.sml.sm.core.metrics.ic.annot.IC_annot_resnik_1995_Normalized
- All Implemented Interfaces:
- ICcorpus, LogBasedMetricInterface
public class IC_annot_resnik_1995_Normalized
- extends LogBasedMetric
- implements ICcorpus
ICi_resnik_1995
TODO Add resnik citation
p(c) defined as number of top down fashion path leading to c from the
reachable leaves from c + 1 max_pc = max p(c) for all concepts. IC(c) = -log(
p(c) / max_pc)
IC is normalize considering formula given by Faria and al in order to produce
results [0,1]. Faria D, Pesquita C, Couto FM, Falcão A: Proteinon: A web
tool for protein semantic similarity. 2007.
IC_norm(c) = IC(c)/ log(nbAnnot) Here nbAnnot = |V|
- Author:
- Sebastien Harispe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IC_annot_resnik_1995_Normalized
public IC_annot_resnik_1995_Normalized()
compute
public Map<org.openrdf.model.URI,Double> compute(Map<org.openrdf.model.URI,Integer> nbOccurences)
throws slib.utils.ex.SLIB_Exception
- Parameters:
nbOccurences
-
- Returns:
-
- Throws:
slib.utils.ex.SLIB_Exception
compute
public Map<org.openrdf.model.URI,Double> compute(IC_Conf_Corpus conf,
SM_Engine manager)
throws slib.utils.ex.SLIB_Exception
- Specified by:
compute
in interface ICcorpus
- Parameters:
conf
- manager
-
- Returns:
-
- Throws:
slib.utils.ex.SLIB_Exception
Copyright © 2013. All Rights Reserved.