Vowpal Wabbit
|
#include "gtest/gtest.h"
#include "gmock/gmock.h"
#include "ut_util.h"
#include <vector>
#include <sstream>
#include "explore.h"
#include "vw_slim_predict.h"
Go to the source code of this file.
Functions | |
TEST (ExploreTestSuite, EpsilonGreedy) | |
TEST (ExploreTestSuite, EpsilonGreedyTopActionOutOfBounds) | |
TEST (ExploreTestSuite, EpsilonGreedy_bad_range) | |
TEST (ExploreTestSuite, Softmax) | |
TEST (ExploreTestSuite, SoftmaxInBalanced) | |
TEST (ExploreTestSuite, SoftmaxInBalanced2) | |
TEST (ExploreTestSuite, Softmax_bad_range) | |
TEST (ExploreTestSuite, Bag) | |
TEST (ExploreTestSuite, Bag10) | |
TEST (ExploreTestSuite, BagEmpty) | |
TEST (ExploreTestSuite, Bag_bad_range) | |
TEST (ExploreTestSuite, enforce_minimum_probability) | |
TEST (ExploreTestSuite, enforce_minimum_probability_no_zeros) | |
TEST (ExploreTestSuite, enforce_minimum_probability_uniform) | |
TEST (ExploreTestSuite, enforce_minimum_probability_uniform_no_zeros) | |
TEST (ExploreTestSuite, enforce_minimum_probability_bad_range) | |
TEST (ExploreTestSuite, sampling) | |
TEST (PairIteratorTestSuite, simple_test) | |
TEST (ExploreTestSuite, sampling_rank) | |
TEST (ExploreTestSuite, sampling_rank_bad_range) | |
TEST (ExploreTestSuite, sampling_rank_zero_pdf) | |
TEST (ExploreTestSuite, sampling_rank_negative_pdf) | |
TEST | ( | ExploreTestSuite | , |
EpsilonGreedy | |||
) |
Definition at line 10 of file ut_explore.cc.
References f, exploration::generate_epsilon_greedy(), and S_EXPLORATION_OK.
TEST | ( | ExploreTestSuite | , |
EpsilonGreedyTopActionOutOfBounds | |||
) |
Definition at line 17 of file ut_explore.cc.
References f, exploration::generate_epsilon_greedy(), and S_EXPLORATION_OK.
TEST | ( | ExploreTestSuite | , |
EpsilonGreedy_bad_range | |||
) |
Definition at line 24 of file ut_explore.cc.
References E_EXPLORATION_BAD_RANGE, f, and exploration::generate_epsilon_greedy().
TEST | ( | ExploreTestSuite | , |
Softmax | |||
) |
Definition at line 33 of file ut_explore.cc.
References f, exploration::generate_softmax(), and S_EXPLORATION_OK.
TEST | ( | ExploreTestSuite | , |
SoftmaxInBalanced | |||
) |
Definition at line 41 of file ut_explore.cc.
References f, exploration::generate_softmax(), and S_EXPLORATION_OK.
TEST | ( | ExploreTestSuite | , |
SoftmaxInBalanced2 | |||
) |
Definition at line 49 of file ut_explore.cc.
References f, exploration::generate_softmax(), and S_EXPLORATION_OK.
TEST | ( | ExploreTestSuite | , |
Softmax_bad_range | |||
) |
Definition at line 57 of file ut_explore.cc.
References E_EXPLORATION_BAD_RANGE, f, and exploration::generate_softmax().
TEST | ( | ExploreTestSuite | , |
Bag | |||
) |
Definition at line 67 of file ut_explore.cc.
References f, exploration::generate_bag(), and S_EXPLORATION_OK.
TEST | ( | ExploreTestSuite | , |
Bag10 | |||
) |
Definition at line 75 of file ut_explore.cc.
References f, exploration::generate_bag(), and S_EXPLORATION_OK.
TEST | ( | ExploreTestSuite | , |
BagEmpty | |||
) |
Definition at line 83 of file ut_explore.cc.
References f, exploration::generate_bag(), and S_EXPLORATION_OK.
TEST | ( | ExploreTestSuite | , |
Bag_bad_range | |||
) |
Definition at line 91 of file ut_explore.cc.
References E_EXPLORATION_BAD_RANGE, and exploration::generate_bag().
TEST | ( | ExploreTestSuite | , |
enforce_minimum_probability | |||
) |
Definition at line 102 of file ut_explore.cc.
References exploration::enforce_minimum_probability(), and f.
TEST | ( | ExploreTestSuite | , |
enforce_minimum_probability_no_zeros | |||
) |
Definition at line 109 of file ut_explore.cc.
References exploration::enforce_minimum_probability(), f, and S_EXPLORATION_OK.
TEST | ( | ExploreTestSuite | , |
enforce_minimum_probability_uniform | |||
) |
Definition at line 116 of file ut_explore.cc.
References exploration::enforce_minimum_probability(), f, and S_EXPLORATION_OK.
TEST | ( | ExploreTestSuite | , |
enforce_minimum_probability_uniform_no_zeros | |||
) |
Definition at line 123 of file ut_explore.cc.
References exploration::enforce_minimum_probability(), f, and S_EXPLORATION_OK.
TEST | ( | ExploreTestSuite | , |
enforce_minimum_probability_bad_range | |||
) |
Definition at line 130 of file ut_explore.cc.
References E_EXPLORATION_BAD_RANGE, exploration::enforce_minimum_probability(), and f.
TEST | ( | ExploreTestSuite | , |
sampling | |||
) |
Definition at line 138 of file ut_explore.cc.
References f, and exploration::sample_after_normalizing().
TEST | ( | PairIteratorTestSuite | , |
simple_test | |||
) |
Definition at line 158 of file ut_explore.cc.
References f.
TEST | ( | ExploreTestSuite | , |
sampling_rank | |||
) |
Definition at line 188 of file ut_explore.cc.
References f, S_EXPLORATION_OK, and exploration::sample_after_normalizing().
TEST | ( | ExploreTestSuite | , |
sampling_rank_bad_range | |||
) |
Definition at line 250 of file ut_explore.cc.
References E_EXPLORATION_BAD_RANGE, and exploration::sample_after_normalizing().
TEST | ( | ExploreTestSuite | , |
sampling_rank_zero_pdf | |||
) |
Definition at line 263 of file ut_explore.cc.
References f, S_EXPLORATION_OK, and exploration::sample_after_normalizing().
TEST | ( | ExploreTestSuite | , |
sampling_rank_negative_pdf | |||
) |
Definition at line 276 of file ut_explore.cc.
References f, S_EXPLORATION_OK, and exploration::sample_after_normalizing().