forked from pytorch/botorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement MultiTaskDataset.__eq__ (pytorch#2594)
Summary: Pull Request resolved: pytorch#2594 Previously, this would fallback to `SupervisedDataset.__eq__`, which uses `self.X` for comparison. If the underlying datasets have heterogeneous feature sets, `self.X` errors out. The new `MultiTaskDataset.__eq__` resolves this issue by comparing the underlying datasets one by one. Reviewed By: Balandat Differential Revision: D64911436 fbshipit-source-id: ecb7343d86c4526d06f61725c1663e50f1f1902f
- Loading branch information
1 parent
e7539db
commit 9d37e90
Showing
2 changed files
with
20 additions
and
1 deletion.
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