eqdisco.knowledge.interaction_matrix#

eqdisco.knowledge.interaction_matrix(f, X, kind='additive', n_pairs=300, random_state=0)[source]#

Pairwise interaction strength: separability of variable i from j with the others fixed.

For each pair, samples differ only in \(x_i\) and \(x_j\); the mixed difference of \(f\) measures their interaction (the idea of Friedman’s H-statistic, here as a finite mixed difference).

Examples using eqdisco.knowledge.interaction_matrix#

Separability and symmetries detected from data

Separability and symmetries detected from data