Skip to content

Commit

Permalink
SkewGP models (#1906)
Browse files Browse the repository at this point in the history
Summary:

SkewGP models

Differential Revision: D47082855
  • Loading branch information
Balandat authored and facebook-github-bot committed Oct 8, 2023
1 parent 6d330eb commit 05c839e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions botorch/acquisition/input_constructors.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
UpperConfidenceBound,
)
from botorch.acquisition.cost_aware import InverseCostWeightedUtility
from botorch.acquisition.expected_feasible_improvement import (
ExpectedFeasibleImprovement,
qExpectedFeasibleImprovement,
)
from botorch.acquisition.fixed_feature import FixedFeatureAcquisitionFunction
from botorch.acquisition.joint_entropy_search import qJointEntropySearch
from botorch.acquisition.knowledge_gradient import (
Expand Down Expand Up @@ -1443,3 +1447,8 @@ def construct_inputs_qJES(
"num_samples": num_samples,
}
return inputs


@acqf_input_constructor(ExpectedFeasibleImprovement)
def _construct_inputs_efi(*args, X_pending=None, **kwargs):
return {"X_pending": X_pending, **construct_inputs_best_f(*args, **kwargs)}
3 changes: 3 additions & 0 deletions botorch/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
MultiTaskGP,
)
from botorch.models.pairwise_gp import PairwiseGP, PairwiseLaplaceMarginalLogLikelihood
from botorch.models.skew_gp import SkewGP, SkewGPClassifier

__all__ = [
"AffineDeterministicModel",
Expand All @@ -56,4 +57,6 @@
"SingleTaskGP",
"SingleTaskMultiFidelityGP",
"SingleTaskVariationalGP",
"SkewGP",
"SkewGPClassifier",
]
2 changes: 2 additions & 0 deletions botorch/models/likelihoods/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

from botorch.models.likelihoods.affine_probit import AffineProbitLikelihood
from botorch.models.likelihoods.pairwise import (
PairwiseLogitLikelihood,
PairwiseProbitLikelihood,
)


__all__ = [
"AffineProbitLikelihood",
"PairwiseProbitLikelihood",
"PairwiseLogitLikelihood",
]

0 comments on commit 05c839e

Please sign in to comment.