Vowpal Wabbit
|
Functions | |
template<typename It > | |
int | generate_epsilon_greedy (float epsilon, uint32_t top_action, It pmf_first, It pmf_last, std::random_access_iterator_tag) |
template<typename InputIt , typename OutputIt > | |
int | generate_softmax (float lambda, InputIt scores_first, InputIt scores_last, std::input_iterator_tag, OutputIt pmf_first, OutputIt pmf_last, std::random_access_iterator_tag) |
template<typename InputIt , typename OutputIt > | |
int | generate_bag (InputIt top_actions_first, InputIt top_actions_last, std::input_iterator_tag, OutputIt pmf_first, OutputIt pmf_last, std::random_access_iterator_tag) |
template<typename It > | |
int | enforce_minimum_probability (float uniform_epsilon, bool consider_zero_valued_elements, It pmf_first, It pmf_last, std::random_access_iterator_tag) |
template<typename It > | |
int | mix_with_uniform (float uniform_epsilon, It pmf_first, It pmf_last, std::random_access_iterator_tag) |
template<typename It > | |
int | sample_after_normalizing (uint64_t seed, It pmf_first, It pmf_last, uint32_t &chosen_index, std::input_iterator_tag) |
template<typename It > | |
int | sample_after_normalizing (const char *seed, It pmf_first, It pmf_last, uint32_t &chosen_index, std::random_access_iterator_tag pmf_category) |
template<typename ActionIt > | |
int | swap_chosen (ActionIt action_first, ActionIt action_last, std::forward_iterator_tag, uint32_t chosen_index) |
template<typename It > | |
int | sample_scores (uint64_t *p_seed, It scores_first, It scores_last, uint32_t &chosen_index, std::random_access_iterator_tag) |
template<typename It > | |
int | sample_pdf (uint64_t *p_seed, It pdf_first, It pdf_last, float &chosen_value, float &pdf_value, std::random_access_iterator_tag) |
int VW::explore::details::enforce_minimum_probability | ( | float | uniform_epsilon, |
bool | consider_zero_valued_elements, | ||
It | pmf_first, | ||
It | pmf_last, | ||
std::random_access_iterator_tag | |||
) |
int VW::explore::details::generate_bag | ( | InputIt | top_actions_first, |
InputIt | top_actions_last, | ||
std::input_iterator_tag | , | ||
OutputIt | pmf_first, | ||
OutputIt | pmf_last, | ||
std::random_access_iterator_tag | |||
) |
int VW::explore::details::generate_epsilon_greedy | ( | float | epsilon, |
uint32_t | top_action, | ||
It | pmf_first, | ||
It | pmf_last, | ||
std::random_access_iterator_tag | |||
) |
int VW::explore::details::generate_softmax | ( | float | lambda, |
InputIt | scores_first, | ||
InputIt | scores_last, | ||
std::input_iterator_tag | , | ||
OutputIt | pmf_first, | ||
OutputIt | pmf_last, | ||
std::random_access_iterator_tag | |||
) |
int VW::explore::details::mix_with_uniform | ( | float | uniform_epsilon, |
It | pmf_first, | ||
It | pmf_last, | ||
std::random_access_iterator_tag | |||
) |
int VW::explore::details::sample_after_normalizing | ( | const char * | seed, |
It | pmf_first, | ||
It | pmf_last, | ||
uint32_t & | chosen_index, | ||
std::random_access_iterator_tag | pmf_category | ||
) |
int VW::explore::details::sample_after_normalizing | ( | uint64_t | seed, |
It | pmf_first, | ||
It | pmf_last, | ||
uint32_t & | chosen_index, | ||
std::input_iterator_tag | |||
) |
int VW::explore::details::sample_pdf | ( | uint64_t * | p_seed, |
It | pdf_first, | ||
It | pdf_last, | ||
float & | chosen_value, | ||
float & | pdf_value, | ||
std::random_access_iterator_tag | |||
) |
int VW::explore::details::sample_scores | ( | uint64_t * | p_seed, |
It | scores_first, | ||
It | scores_last, | ||
uint32_t & | chosen_index, | ||
std::random_access_iterator_tag | |||
) |
int VW::explore::details::swap_chosen | ( | ActionIt | action_first, |
ActionIt | action_last, | ||
std::forward_iterator_tag | , | ||
uint32_t | chosen_index | ||
) |