Skip to content

Commit b3c6862

Browse files
saitcakmakmeta-codesync[bot]
authored andcommitted
Move HSS kernel GP and utils into OSS BoTorch (#3284)
Summary: Pull Request resolved: #3284 Move the hierarchical search space (HSS) conditional kernel GP and helper utilities from `botorch_fb.models.hss` into open-source BoTorch at `botorch.models.hierarchical`. Moves (history preserved via `sl mv`): - `botorch_fb/models/hss/hierarchical_conditional_kernel_gp.py` → `botorch/models/hierarchical/conditional_kernel_gp.py` - `botorch_fb/models/hss/utils.py` → `botorch/models/hierarchical/utils.py` - Corresponding tests under `botorch_fb/test/models/hss/` → `botorch/test/models/hierarchical/`. New `__init__.py` at `botorch/models/hierarchical/` exports `HierarchicalConditionalKernel`, `HierarchicalConditionalKernelGP`, and `HierarchicalConditionalKernelMultiTaskGP`. License headers swapped to the OSS MIT license header. Reviewed By: ItsMrLin Differential Revision: D101814586 fbshipit-source-id: 65bdb71f9e3860f977868b8f78f332fde965b194
1 parent 75fe56b commit b3c6862

7 files changed

Lines changed: 1431 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/env python3
2+
# Copyright (c) Meta Platforms, Inc. and affiliates.
3+
#
4+
# This source code is licensed under the MIT license found in the
5+
# LICENSE file in the root directory of this source tree.
6+
7+
from botorch.models.hierarchical.conditional_kernel_gp import (
8+
HierarchicalConditionalKernel,
9+
HierarchicalConditionalKernelGP,
10+
HierarchicalConditionalKernelMultiTaskGP,
11+
)
12+
13+
14+
__all__ = [
15+
"HierarchicalConditionalKernel",
16+
"HierarchicalConditionalKernelGP",
17+
"HierarchicalConditionalKernelMultiTaskGP",
18+
]

0 commit comments

Comments
 (0)