SG++
sgpp::datadriven::DataSourceConfig Struct Reference

Configuration structure used for all kinds of SampleProviders including default values. More...

#include <DataSourceConfig.hpp>

Public Attributes

size_t batchSize = 0
 
std::string filePath = ""
 Valid path to a file on disk. More...
 
DataSourceFileType fileType = DataSourceFileType::NONE
 Which type of input file are we dealing with? NONE for auto detection or generated artificial datasets. More...
 
bool isCompressed = false
 The dataset is gzip compressed. More...
 
size_t numBatches = 1
 How many batches should the dataset be split into for batch learning - if 1, take the entire dataset. More...
 

Detailed Description

Configuration structure used for all kinds of SampleProviders including default values.

Member Data Documentation

bool sgpp::datadriven::DataSourceConfig::isCompressed = false
size_t sgpp::datadriven::DataSourceConfig::numBatches = 1

How many batches should the dataset be split into for batch learning - if 1, take the entire dataset.

Referenced by sgpp::datadriven::DataSource::end(), sgpp::datadriven::DataMiningConfigParser::getDataSourceConfig(), sgpp::datadriven::DataSource::getNextSamples(), and sgpp::datadriven::DataSourceBuilder::inBatches().


The documentation for this struct was generated from the following file: