Skip to content

Refactor botorch/sampling/pathwise and add support for product kernels #2838

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions botorch/sampling/pathwise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,16 @@


from botorch.sampling.pathwise.features import (
gen_kernel_features,
DirectSumFeatureMap,
FeatureMap,
FourierFeatureMap,
gen_kernel_feature_map,
IndexKernelFeatureMap,
KernelEvaluationMap,
KernelFeatureMap,
LinearKernelFeatureMap,
MultitaskKernelFeatureMap,
OuterProductFeatureMap,
)
from botorch.sampling.pathwise.paths import (
GeneralizedLinearPath,
Expand All @@ -26,15 +33,22 @@


__all__ = [
"DirectSumFeatureMap",
"draw_matheron_paths",
"draw_kernel_feature_paths",
"gen_kernel_features",
"FeatureMap",
"FourierFeatureMap",
"gen_kernel_feature_map",
"get_matheron_path_model",
"gaussian_update",
"GeneralizedLinearPath",
"IndexKernelFeatureMap",
"KernelEvaluationMap",
"KernelFeatureMap",
"LinearKernelFeatureMap",
"MatheronPath",
"MultitaskKernelFeatureMap",
"OuterProductFeatureMap",
"SamplePath",
"PathDict",
"PathList",
Expand Down
16 changes: 14 additions & 2 deletions botorch/sampling/pathwise/features/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,28 @@
# LICENSE file in the root directory of this source tree.


from botorch.sampling.pathwise.features.generators import gen_kernel_features
from botorch.sampling.pathwise.features.generators import gen_kernel_feature_map
from botorch.sampling.pathwise.features.maps import (
DirectSumFeatureMap,
FeatureMap,
FourierFeatureMap,
IndexKernelFeatureMap,
KernelEvaluationMap,
KernelFeatureMap,
LinearKernelFeatureMap,
MultitaskKernelFeatureMap,
OuterProductFeatureMap,
)

__all__ = [
"DirectSumFeatureMap",
"FeatureMap",
"gen_kernel_features",
"FourierFeatureMap",
"gen_kernel_feature_map",
"IndexKernelFeatureMap",
"KernelEvaluationMap",
"KernelFeatureMap",
"LinearKernelFeatureMap",
"MultitaskKernelFeatureMap",
"OuterProductFeatureMap",
]
Loading
Loading