mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-12 12:40:33 +08:00
fix typo
This commit is contained in:
@@ -199,7 +199,7 @@ class _PreferentialGP(GPyTorchModel, ExactGP):
|
||||
train_x = X[mask]
|
||||
weights = cnt[mask]
|
||||
|
||||
assert isinstance(self.likelihood, WeightedGaussianLikelihood)
|
||||
assert isinstance(self.likelihood, _WeightedGaussianLikelihood)
|
||||
self.likelihood.weights = weights
|
||||
|
||||
preferences_np = preferences.detach().numpy()
|
||||
|
||||
Reference in New Issue
Block a user