The table_h2_total() function computes the global Friedman H-statistic
for each feature, quantifying how much of a variable's predictive contribution
arises from interactions with other features rather than from its individual
main effect. This metric provides a model-agnostic measure of overall
interaction strength, following the formulation presented in
Interpretable Machine Learning by Christoph Molnar.
The resulting table ranks all features by their global H-statistic, helping
identify which predictors participate most in interaction-driven behavior.