cnellington / Contextualized

An SKLearn-style toolbox for estimating and analyzing models, distributions, and functions with context-specific parameters.
http://contextualized.ml/
GNU General Public License v3.0
64 stars 7 forks source link

Sequential Testing of Contexts #204

Closed blengerich closed 3 months ago

blengerich commented 1 year ago

It might be nice to have a utility function that cycles through a bunch of potential contexts to do sequential univariate testing.

cnellington commented 1 year ago

Clarification for @aaron10l: We've made tests previously that show when incorporating contextual effects are meaningful (Ben added these tests in PR #182 and #179). Now, we'd like to determine which contexts are meaningful and which are not. One way to do this could be trimming the context to a single feature and applying Ben's test to see if contextualization matters for this feature. This could be repeated for all context features, and then the p-values can be corrected for multiple testing.