You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
The notebook doesn't seem to understand or provide the ability to not stratify parameters/states as eluded to in the test cases:
The example given:
Stratify my model by the locations Toronto, Montreal, Vancouver, Yellowknife where Montreal population can interact with Toronto population but not vice versa. Do not stratify the "I" state and "β" parameter.
model = stratify(
template_model=model,
key= "Location",
strata=['Toronto', 'Montreal', 'Vancouver', 'Yellowknife'],
structure= [['Montreal', 'Toronto']],
directed=True, # Should the reverse direction conversions be added based on the given structure?
cartesian_control=False,
modify_names=True,
concepts_to_stratify=None,
params_to_stratify=None,
concepts_to_preserve = ['I'],
params_to_preserve = ['β'],
param_renaming_uses_strata_names = True
)
I tried multiple times to run this but I do not get an code that includes the concepts_to_preserve or params_to_preserve keys
The text was updated successfully, but these errors were encountered:
blanchco
changed the title
[BUG]: Stratify notebook has some limitations on what states and parameters can stratify on
[BUG]: Stratify notebook has some limitations when asked what states/parameters to stratify on
Nov 14, 2024
Describe the issue
The notebook doesn't seem to understand or provide the ability to not stratify parameters/states as eluded to in the test cases:
The example given:
Stratify my model by the locations Toronto, Montreal, Vancouver, Yellowknife where Montreal population can interact with Toronto population but not vice versa. Do not stratify the "I" state and "β" parameter.
I tried multiple times to run this but I do not get an code that includes the
concepts_to_preserve
orparams_to_preserve
keysThe text was updated successfully, but these errors were encountered: