diversify_abc {LBDiscover} | R Documentation |
Enforce diversity in ABC model results
Description
This function applies diversity enforcement to ABC model results by:
Removing duplicate paths to the same C term
Ensuring B term diversity by selecting top results from each B term group
Preventing A and C terms from appearing as B terms
Usage
diversify_abc(
abc_results,
diversity_method = c("both", "b_term_groups", "unique_c_paths"),
max_per_group = 3,
min_score = 0.1
)
Arguments
abc_results |
A data frame containing ABC results. |
diversity_method |
Method for enforcing diversity: "b_term_groups", "unique_c_paths", or "both". |
max_per_group |
Maximum number of results to keep per B term or C term. |
min_score |
Minimum score threshold for including connections. |
Value
A data frame with diverse ABC results.
[Package LBDiscover version 0.1.0 Index]