Methods of the class to preprocess data represented in the CSV format.
More...
◆ CSVFeatureManager()
◆ parseRowAsDictionary()
virtual void parseRowAsDictionary |
( |
char * |
rawRowData, |
|
|
size_t |
rawDataSize, |
|
|
DataSourceDictionary * |
dict |
|
) |
| |
|
inlinevirtual |
Parses a string that represents features of a data set and constructs a dictionary
- Parameters
-
[in] | rawRowData | Array of characters with a string that contains information about features of the data set |
[in] | rawDataSize | Size of the rawRowData array |
[out] | dict | Pointer to the dictionary constructed from the string |
Implements StringRowFeatureManagerIface.
◆ parseRowIn()
Parses a string that represents a feature vector and converts it into a numeric representation
- Parameters
-
[in] | rawRowData | Array of characters with the string that represents the feature vector |
[in] | rawDataSize | Size of the rawRowData array |
[in] | dict | Pointer to the dictionary |
[out] | nt | Pointer to a Numeric Table to store the result of parsing |
[in] | ntRowIndex | Position in the Numeric Table at which to store the result of parsing |
Implements StringRowFeatureManagerIface.
◆ setDelimiter()
void setDelimiter |
( |
char |
delimiter | ) |
|
|
inline |
Sets a new character as a delimiter for parsing CSV data (default ',')
The documentation for this class was generated from the following file: