Sim_Rada_1989
Sim_Rada_1989(
dag,
terms,
distance = "longest_distances_via_LCA",
verbose = simona_opt$verbose
)It is based on the distance between term a and b. It is defined as:
sim = 1/(1 + d(a, b))The distance can be the shortest distance between a and b or the longest distance via the LCA term.
Paper link: doi:10.1109/21.24528 .
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_Rada_1989",
control = list(distance = "shortest_distances_via_NCA"))