From 0c35254100bbbea108927fb11655707a1c8bfe26 Mon Sep 17 00:00:00 2001 From: Contramundum Date: Thu, 10 Aug 2023 16:49:59 +0900 Subject: [PATCH] fix typo --- optuna_dashboard/preferential/samplers/_gp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optuna_dashboard/preferential/samplers/_gp.py b/optuna_dashboard/preferential/samplers/_gp.py index e5228dc7..5eee4a78 100644 --- a/optuna_dashboard/preferential/samplers/_gp.py +++ b/optuna_dashboard/preferential/samplers/_gp.py @@ -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()