-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Dictionary lookup for supplied IDs to Embedding Operator (#148)
* Use lookup dict for Embedding operator with ids to speed up transform * Add test for embedding operator with unknown value * Update typehint for unknown_value * Remove embedding tag from input schema to embeddings tests The op now adds the embedding tag automatically, and the input schema cannot have both a CATEGORICAL and EMBEDDING tag * Flatten array passed as ids to EmbeddingOperator * Add assertion for ids shape * Set default value of `embedding_index_mapping` * Correct casing of message in test
- Loading branch information
1 parent
dbe0ade
commit ec9bedf
Showing
2 changed files
with
129 additions
and
15 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