mirror of
https://github.com/facebookresearch/ReAgent.git
synced 2026-05-17 12:40:39 +00:00
Fix PYRE_MISSING_ANNOTATIONS issues in fbcode/reagent/test/training/cb/test_linucb.py
Differential Revision: D105468985 fbshipit-source-id: 4fdf174b006d7aeaa30c83a75f4e4485edb72297
This commit is contained in:
committed by
meta-codesync[bot]
parent
c5757f35c9
commit
05761169e4
@@ -165,7 +165,7 @@ class TestLinUCB(unittest.TestCase):
|
||||
)
|
||||
npt.assert_allclose(scorer_1.coefs.numpy(), scorer_2.coefs.numpy(), rtol=1e-3)
|
||||
|
||||
def test_linucb_model_update_equations(self):
|
||||
def test_linucb_model_update_equations(self) -> None:
|
||||
# make sure that the model parameters match hand-computed values
|
||||
scorer = LinearRegressionUCB(self.x_dim)
|
||||
policy = Policy(scorer=scorer, sampler=GreedyActionSampler())
|
||||
|
||||
Reference in New Issue
Block a user