moe.tests.views.rest package¶
Submodules¶
moe.tests.views.rest.bandit_bla_test module¶
Test class for bandit_bla view.
- class moe.tests.views.rest.bandit_bla_test.TestBanditBLAViews[source]¶
Bases: moe.tests.views.rest.bandit_test.TestBanditViews
Integration test for the /bandit/bla endpoint.
moe.tests.views.rest.bandit_epsilon_test module¶
Test class for bandit_epsilon view.
- class moe.tests.views.rest.bandit_epsilon_test.TestBanditEpsilonViews[source]¶
Bases: moe.tests.views.rest.bandit_test.TestBanditViews
Integration test for the /bandit/epsilon endpoint.
- test_epsilon_first_hyperparameters_passed_through()[source]¶
Test that the hyperparameters get passed through to the epsilon-first endpoint.
- test_epsilon_greedy_hyperparameters_passed_through()[source]¶
Test that the hyperparameters get passed through to the epsilon-greedy endpoint.
moe.tests.views.rest.bandit_test module¶
Test class for bandit views.
- class moe.tests.views.rest.bandit_test.TestBanditViews[source]¶
Bases: moe.tests.bandit.bandit_test_case.BanditTestCase, moe.tests.views.rest_test_case.RestTestCase
Integration test for the /bandit endpoints.
moe.tests.views.rest.bandit_ucb_test module¶
Test class for bandit_ucb view.
- class moe.tests.views.rest.bandit_ucb_test.TestBanditUCBViews[source]¶
Bases: moe.tests.views.rest.bandit_test.TestBanditViews
Integration test for the /bandit/ucb endpoint.
moe.tests.views.rest.gp_ei_test module¶
Test class for gp_mean_var view.
- class moe.tests.views.rest.gp_ei_test.TestGpEiView[source]¶
Bases: moe.tests.optimal_learning.python.gaussian_process_test_case.GaussianProcessTestCase, moe.tests.views.rest_test_case.RestTestCase
Test that the /gp/ei endpoint does the same thing as the C++ interface.
- endpoint = '/gp/ei'¶
- precompute_gaussian_process_data = True¶
moe.tests.views.rest.gp_hyper_opt_test module¶
Test class for gp_hyper_opt view.
- class moe.tests.views.rest.gp_hyper_opt_test.TestGpHyperOptViews[source]¶
Bases: moe.tests.optimal_learning.python.gaussian_process_test_case.GaussianProcessTestCase, moe.tests.views.rest_test_case.RestTestCase
Integration test for the /gp/hyper_opt endpoint.
- precompute_gaussian_process_data = True¶
moe.tests.views.rest.gp_mean_var_test module¶
Test class for gp_mean_var view.
- class moe.tests.views.rest.gp_mean_var_test.TestGpMeanVarView[source]¶
Bases: moe.tests.optimal_learning.python.gaussian_process_test_case.GaussianProcessTestCase, moe.tests.views.rest_test_case.RestTestCase
Test that the /gp/mean_var endpoint does the same thing as the C++ interface.
- endpoint = '/gp/mean_var'¶
- num_sampled_list = (1, 2, 3, 11, 20)¶
- precompute_gaussian_process_data = True¶
moe.tests.views.rest.gp_next_points_test module¶
Test class for gp_next_points_epi view.
- class moe.tests.views.rest.gp_next_points_test.TestGpNextPointsViews[source]¶
Bases: moe.tests.optimal_learning.python.gaussian_process_test_case.GaussianProcessTestCase, moe.tests.views.rest_test_case.RestTestCase
Integration test for the /gp/next_points/* endpoints.
- num_sampled_list = (1, 2, 10)¶
- precompute_gaussian_process_data = True¶
Module contents¶
Tests for the MOE REST interface.