This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use aggregation's default value if no docs (#167)
Currently, for sparse data (e.g., we only have docs half an hour every day), the preview/prediction API cannot find aggregated value and thus doesn't work. This PR mitigates the sparse data issue by using an aggregation's default value if any. Testing done: 1. Without this PR, preview/prediction cannot find any features to use given sparse data. With this PR, preview/prediction can. 2. Verified no unexpected exceptions are thrown with this PR during prediction or preview.
- Loading branch information
Showing
2 changed files
with
15 additions
and
7 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