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
)A data frame with ranked discovery results.
A co-occurrence matrix produced by create_cooccurrence_matrix().
Character string, the source term (A).
Character string, the target term (C). If NULL, all potential C terms will be evaluated.
Minimum score threshold for results.
Maximum number of results to return.
Number of B terms to process in each chunk.