eqdisco.analysis.variable_interaction_network#

eqdisco.analysis.variable_interaction_network(models, feature_names=None, weights=None)[source]#

Variables linked by their joint occurrence inside nonlinear subtrees.

For every function node that is not linear (not add, sub, neg), all pairs of distinct variables below it interact. Node attribute frequency: share of models that use the variable; edge attribute weight: share of models in which the pair interacts (optionally weighted by weights, e.g. the \(R^2\) of each model).

Examples using eqdisco.analysis.variable_interaction_network#

Building blocks and variable interactions

Building blocks and variable interactions