Changes

Jump to: navigation, search

GPU621/Jedd Clan

2 bytes added, 16:20, 11 August 2021
How To Load Data
string dataFileName = "/path/to/file/datafile.csv";
const int nRows = 1000; // number of rows to be read
 
// Create the data source
FileDataSource<CSVFeatureManager> dataSource(dataFileName,
DataSource::doAllocateNumericTable,
DataSource::doDictionaryFromContext);
 
// Load data from the CSV file
dataSource.loadDataBlock(nRows);
49
edits

Navigation menu