moe.tests.bandit.bla package

Submodules

moe.tests.bandit.bla.bla_test module

Test UCB1 bandit implementation.

Test that the one arm case returns the given arm as the winning arm. Test that two-arm cases with specified random seeds return expected results.

class moe.tests.bandit.bla.bla_test.TestBLA[source]

Bases: moe.tests.bandit.bandit_test_case.BanditTestCase

Verify that different historical infos return correct results.

bandit_class

alias of BLA

test_one_arm()[source]

Check that the one-arm case always returns the given arm as the winning arm and the allocation is 1.0.

test_two_arms_one_winner()[source]

Check that the two-arms case with random seed 0 always allocate arm1:1.0 and arm2:0.0.

Module contents

Testing code for the (Python) BLA bandit policies.

Files in this package * moe.tests.bandit.bla.bla_test: tests for moe.bandit.bla.bla.BLA