-
Notifications
You must be signed in to change notification settings - Fork 559
Open
0 / 30 of 3 issues completedLabels
component: modelContribute a new model to PyHealthContribute a new model to PyHealthcoreCore functionality (Patient API, BaseDataset, event stream format, etc.)Core functionality (Patient API, BaseDataset, event stream format, etc.)
Description
Updating this is crucial to helping users understand how to define their own models to be compatible with the interpretability module.
- standardize the forward_from_embedding method in base model
- conditionally compute loss so the interpretability method don't need to worry about faking a label tensor
- masking has been proven to be problematic even for now. especially some methods will zero values for perturbation, which cause the x.sum(dim=...) == 0 method fail significantly.
Reactions are currently unavailable
Sub-issues
Metadata
Metadata
Assignees
Labels
component: modelContribute a new model to PyHealthContribute a new model to PyHealthcoreCore functionality (Patient API, BaseDataset, event stream format, etc.)Core functionality (Patient API, BaseDataset, event stream format, etc.)