Reduce Redundancy via Iterative UVA (with Redundant Pair Logging)
Source:R/pipeline_helpers_optimized.R
reduce_redundancy_uva.RdApplies EGAnet::UVA iteratively and logs human-readable redundant item sets.
Arguments
- embedding_matrix
A numeric matrix of embeddings (columns = items).
- items
Data frame with
IDandstatementcolumns.- corr
Character. Correlation method to use. Default "auto" uses EGAnet's automatic correlation detection. Other options: "pearson", "spearman", "cosine".
- uva.cut.off
Numeric in
[0, 1). The weighted topological overlap threshold passed toEGAnet::UVA. Items with pairwise wTO at or above this value are flagged as redundant. Default0.20.