View source: R/performance_optimalization.R
abc_model_opt | R Documentation |
This function implements an optimized version of the ABC model calculation that's more efficient for large co-occurrence matrices.
abc_model_opt(
co_matrix,
a_term,
c_term = NULL,
min_score = 0.1,
n_results = 100,
chunk_size = 500
)
co_matrix |
A co-occurrence matrix produced by create_cooccurrence_matrix(). |
a_term |
Character string, the source term (A). |
c_term |
Character string, the target term (C). If NULL, all potential C terms will be evaluated. |
min_score |
Minimum score threshold for results. |
n_results |
Maximum number of results to return. |
chunk_size |
Number of B terms to process in each chunk. |
A data frame with ranked discovery results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.