dmlfw (Daniyal Machine Learning Framework)
dmlfw_data_encoder.h
Go to the documentation of this file.
1#ifndef __DMLFW__DATA__ENCODER__
2#define __DMLFW__DATA__ENCODER__
56#include <dmlfw_vector.h>
57
82void dmlfw_encoder_encode_one_hot(char *source, char *target, dmlfw_row_vec_string *columns_to_encode);
83
107void dmlfw_encoder_encode_binary(char *source, char *target, dmlfw_row_vec_string *columns_to_encode);
108
133void dmlfw_encoder_encode(char *source, char *target, dmlfw_row_vec_string *columns_to_encode, char *algorithm);
135#endif // __DMLFW__DATA__ENCODER__
void dmlfw_encoder_encode_one_hot(char *source, char *target, dmlfw_row_vec_string *columns_to_encode)
Encodes specified columns in a CSV file using one-hot encoding.
void dmlfw_encoder_encode_binary(char *source, char *target, dmlfw_row_vec_string *columns_to_encode)
Encodes specified columns in a CSV file using binary encoding.
void dmlfw_encoder_encode(char *source, char *target, dmlfw_row_vec_string *columns_to_encode, char *algorithm)
Generic encoder API. Dispatches by algorithm string.
Core vector types and utilities for double and string data.
struct __dmlfw_row_vec_string dmlfw_row_vec_string
Opaque structure representing a row vector of strings.
Definition dmlfw_vec_string.h:82