Skip to content

Commit

Permalink
Added modification of test to ensure GP is normalized
Browse files Browse the repository at this point in the history
  • Loading branch information
ianran committed Jan 9, 2024
1 parent 6ba1932 commit 9e8fcfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/active_learning/test_GV_UCB_learner.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_GV_UCB_learner_trains_basic_GP():

def test_GV_UCB_learner_trains_preference_GP():
al = lop.GV_UCBLearner()
model = lop.PreferenceGP(lop.RBF_kern(0.5,1.0), active_learner=al, normalize_positive=True)
model = lop.PreferenceGP(lop.RBF_kern(0.5,1.0), active_learner=al, normalize_positive=True, normalize_gp=True)


np.random.seed(5) # just to ensure it doesn't break the test on a bad dice roll
Expand Down

0 comments on commit 9e8fcfd

Please sign in to comment.