diversify_abc | R Documentation |
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
diversify_abc(
abc_results,
diversity_method = c("both", "b_term_groups", "unique_c_paths"),
max_per_group = 3,
min_score = 0.1
)
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. |
A data frame with diverse ABC results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.