-
Notifications
You must be signed in to change notification settings - Fork 18
Add RLSSMConfig class for reinforcement learning models #861
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
1a95108
feat(config): add RLSSMConfig class for reinforcement learning models
cpaniaguam a71e767
test(config): add comprehensive tests for RLSSMConfig class
cpaniaguam 5869d61
fix(config): cast default_priors in RLSSMConfig to ensure correct typ…
cpaniaguam eed9d13
refactor(config): remove unused private field from RLSSMConfig class
cpaniaguam 85f2984
fix(config): simplify error message for missing decision_process in R…
cpaniaguam 9d1882d
fix(config): improve error messages in Config validation for clarity
cpaniaguam 71813ff
fix(config): improve error message formatting for missing response in…
cpaniaguam ba58e8e
fix(config): clarify 'data' parameter in RLSSMConfig documentation
cpaniaguam 70c9611
Merge branch '805-rlssm-model-config' into 805-rlssm-model-config-rlssm
cpaniaguam 21df8ff
Make n_params and n_extra_fields computed properties
cpaniaguam 0b4008d
refactor(tests): remove n_params and n_extra_fields from RLSSMConfig …
cpaniaguam a13d15f
docs: add note about source of decision_model and lan_model params in…
cpaniaguam d026be2
feat: add loglik_kind attribute to BaseModelConfig and RLSSMConfig
cpaniaguam 678f912
feat: set default loglik_kind for RLSSM models in post_init
cpaniaguam 1b207e5
Prefer `response` over `data`
cpaniaguam 6469adc
fix: update error messages in RLSSMConfig for clarity
cpaniaguam d11c59d
fix: remove unused keys from RLSSMConfig documentation
cpaniaguam c3d9388
fix: validate parameter defaults consistency in RLSSMConfig
cpaniaguam eefd647
test: add validation for mismatched params_default length in RLSSMConfig
cpaniaguam 06f51cb
fix: enhance validation for params_default consistency in RLSSMConfig
cpaniaguam 937aaf2
fix: simplify error message for missing response in Config validation
cpaniaguam 99a361e
fix: improve error message for missing response in Config validation
cpaniaguam 5500fe5
fix: remove unnecessary n_params and n_extra_fields from RLSSMConfig …
cpaniaguam 0ffc55a
fix: remove decision_model from RLSSMConfig to streamline configuration
cpaniaguam 8b790f0
fix: remove decision_model from RLSSMConfig documentation for clarity
cpaniaguam 78c5a15
fix: remove lan_model from RLSSMConfig to streamline configuration
cpaniaguam 9c3becc
fix: update decision_process from LAN to ddm in RLSSMConfig tests
cpaniaguam d774bac
Drop vestigial "LAN" key from rlss_config test
cpaniaguam 5e7112e
fix: add required and optional loglik kind fields to RLSSMConfig
cpaniaguam 55db7a8
fix: add decision_process_loglik_kind to RLSSMConfig and validate its…
cpaniaguam 0fad670
refactor: streamline RLSSMConfig tests and enhance validation coverage
cpaniaguam fb87273
Simplify Prior import from bambi
cpaniaguam 5b16505
fix: use centralized defaults for RLSSM response and choices
cpaniaguam ff92bec
fix: use decision_process instead of decision_model
cpaniaguam 42c0ae2
fix: update RLSSMConfig fields to be keyword-only and adjust defaults
cpaniaguam c72fc85
fix: update RLSSMConfig documentation to clarify required fields for …
cpaniaguam 2cc09b0
fix: update regex in validation test for params_default length mismatch
cpaniaguam 136b55d
fix: update test for RLSSMConfig validation to handle missing fields …
cpaniaguam 7552094
fix: add test for RLSSMConfig constructor to handle missing required …
cpaniaguam 9e52be8
fix: add fixture for valid RLSSMConfig kwargs to streamline testing
cpaniaguam 4948be1
fix: refactor test_validate_missing_fields to use kwargs for RLSSMCon…
cpaniaguam e595a05
fix: enhance RLSSMConfig validation tests with valid kwargs fixture
cpaniaguam 8596671
fix: update RLSSMConfig tests to include learning process parameters …
cpaniaguam 033eca7
fix: update RLSSMConfig.from_rlssm_dict docstring to clarify paramete…
cpaniaguam c2116c4
feat: make all fields required
cpaniaguam d148ce7
Merge branch 'main' into 805-rlssm-model-config-rlssm
cpaniaguam 1091d69
fix: update default values for RLSSM response and choices in BaseMode…
cpaniaguam 9a81e6d
fix: change default values for RLSSM observed data and choices to tuples
cpaniaguam 250109b
fix: change response and choices types from list to tuple in configur…
cpaniaguam dc2ccb2
fix: change response type from list to tuple in test cases
cpaniaguam 46a24bd
fix: remove redundant imports and comments in test_rlssm_config.py
cpaniaguam dc6fc35
fix: refactor RLSSM config creation and validation tests for clarity …
cpaniaguam c9e9a5a
fix: update RLSSMConfig instantiation in edge cases test for consistency
cpaniaguam ca2f99c
test: update test
cpaniaguam a3c3a16
fix: update RLSSMConfig documentation to mark extra_fields and bounds…
cpaniaguam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.