-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix slow InferenceEngine construction due to early query (#176)
* Speed up query by caching baseline marginals * Update type hint in inference.py * Refactor query() and _single_query(); handle invalid observations type * Fix type hint for observations argument in query() and _single_query()
- Loading branch information
1 parent
13aa747
commit b89c6d3
Showing
2 changed files
with
81 additions
and
44 deletions.
There are no files selected for viewing
This file contains 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 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