OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OneHotEncoder.h File Reference
#include "QueryEngine/heavydbTypes.h"
#include "Shared/funcannotations.h"
#include <vector>
+ Include dependency graph for OneHotEncoder.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TableFunctions_Namespace::OneHotEncoder_Namespace::OneHotEncodingInfo
 
struct  TableFunctions_Namespace::OneHotEncoder_Namespace::OneHotEncodedCol< F >
 

Namespaces

 TableFunctions_Namespace
 
 TableFunctions_Namespace::OneHotEncoder_Namespace
 

Functions

template<typename F >
NEVER_INLINE HOST
OneHotEncodedCol< F > 
TableFunctions_Namespace::OneHotEncoder_Namespace::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-hot encoding process and returns an object containing the one-hot encoded columns and their corresponding categorical features. More...
 
template<typename F >
NEVER_INLINE HOST std::vector
< OneHotEncodedCol< F > > 
TableFunctions_Namespace::OneHotEncoder_Namespace::one_hot_encode (const ColumnList< TextEncodingDict > &text_cols, const std::vector< TableFunctions_Namespace::OneHotEncoder_Namespace::OneHotEncodingInfo > &one_hot_encoding_infos)
 One-hot encode multiple columns of text-encoded data in a column list, given a vector of one-hot encoding information for each column. More...