-
Notifications
You must be signed in to change notification settings - Fork 76
Closed
Labels
user interfaceChanges to the user interface and improvements in usabilityChanges to the user interface and improvements in usability
Description
If the prior generates a dict with keys, which are not used neither as inference variables nor as conditions, e.g. additional_key
, the user has to specify that these keys should be dropped in the adapter; otherwise, the fitting will fail with the following error:
TypeError: ContinuousApproximator.compute_metrics() got an unexpected keyword argument 'additional_key'
From a user’s point of view, this is unexpected. A more user-friendly approach would be to handle this situation smoothly by issuing a warning about unused keys instead of causing an error.
stefanradev93
Metadata
Metadata
Assignees
Labels
user interfaceChanges to the user interface and improvements in usabilityChanges to the user interface and improvements in usability
Type
Projects
Status
Done