Sim_Shenoy_2012

Sim_Shenoy_2012(
  dag,
  terms,
  distance = "longest_distances_via_LCA",
  verbose = simona_opt$verbose
)

Methods

Sim_Shenoy_2012

It is a correction of the Sim_WP_1994 method. The correction factor for term a and b is:

CF(a, b) = exp(-lambda*d(a, b)/max_depth)

lambda takes value of 1 if a and b are in ancestor-offspring relation, or else it takes 0. `d(a, b)

Paper link: doi:10.48550/arXiv.1211.4709 .

There is a parameter distance which takes value of "longest_distances_via_LCA" (the default) or "shortest_distances_via_NCA":

term_sim(dag, terms, method = "Sim_Leocock_1998",
    control = list(distance = "shortest_distances_via_NCA"))