26 namespace TableFunctions_Namespace {
28 namespace OneHotEncoder_Namespace {
43 , top_k_attrs(top_k_attrs)
44 , min_attr_proportion(min_attr_proportion)
45 , include_others_attr(include_others_attr) {}
73 one_hot_encoding_info);
92 one_hot_encoding_infos);
98 #endif // #ifndef __CUDACC__
OneHotEncodingInfo(const std::vector< std::string > &cat_features)
NEVER_INLINE HOST OneHotEncodedCol< F > one_hot_encode(const Column< TextEncodingDict > &text_col, const TableFunctions_Namespace::OneHotEncoder_Namespace::OneHotEncodingInfo &one_hot_encoding_info)
Takes a column of text-encoded data and one-hot encoding information as input. It performs the one-ho...
float min_attr_proportion
std::vector< std::string > cat_features
bool g_enable_smem_group_by true
std::vector< std::vector< F > > encoded_buffers
std::vector< std::string > cat_features
bool g_enable_watchdog false
OneHotEncodingInfo(const int32_t top_k_attrs, const float min_attr_proportion, const bool include_others_attr)