Source code for moe.tests.bandit.epsilon.epsilon_test_case
# -*- coding: utf-8 -*-
"""Base test case class for bandit epsilon tests; includes different epsilon values to test."""
from moe.bandit.constant import DEFAULT_EPSILON
from moe.tests.bandit.bandit_test_case import BanditTestCase
[docs]class EpsilonTestCase(BanditTestCase):
"""Base test case for the bandit library.
Test different epsilon values.
"""
epsilons_to_test = [DEFAULT_EPSILON, 0.0, 0.5, 1.0]