I have a (symmetric) adjacency matrix that was created based on the joint presence of names (e.g. Greg, Mary, Sam, Tom) in newspaper articles (e.g. a, b, c, d). See below.
How to calculate the elevator value for nonzero matrix elements ( http://en.wikipedia.org/wiki/Lift_(data_mining) )?
I would be interested in an efficient implementation that can also be used for very large matrices (for example, millions of non-zero elements).
I appreciate any help.
# Load package library(Matrix)
majom source share