SG++
sgpp::datadriven::CrossValidationConfiguration Struct Reference

Set of parameters required to fully configure sgpp::datadriven::CrossValidation objects. More...

#include <ScorerConfig.hpp>

Public Attributes

size_t folds = 5
 Number of folds used for cross validation. More...
 
ScorerMetricType metric
 Type of metric that should be used to calculate the accuracy of the fit. More...
 
int64_t randomSeed = -1
 Random seed used for permutation of samples in the shuffling functor. More...
 
ScorerShufflingType shuffling = ScorerShufflingType::random
 Type of shuffling operator to be used for rearrangement of samples in the parsed dataset. More...
 

Detailed Description

Set of parameters required to fully configure sgpp::datadriven::CrossValidation objects.

Member Data Documentation

size_t sgpp::datadriven::CrossValidationConfiguration::folds = 5
ScorerMetricType sgpp::datadriven::CrossValidationConfiguration::metric

Type of metric that should be used to calculate the accuracy of the fit.

Referenced by sgpp::datadriven::CrossValidationScorerFactory::buildScorer(), and sgpp::datadriven::DataMiningConfigParser::getScorerCrossValidationConfig().

int64_t sgpp::datadriven::CrossValidationConfiguration::randomSeed = -1

Random seed used for permutation of samples in the shuffling functor.

For each random seed, the same set of random numbers are generated, meaning that same random seeds generate the same sequence of random numbers. Default value of -1 indicates to generate an arbitrary random seed.

Referenced by sgpp::datadriven::CrossValidationScorerFactory::buildScorer(), and sgpp::datadriven::DataMiningConfigParser::getScorerCrossValidationConfig().

ScorerShufflingType sgpp::datadriven::CrossValidationConfiguration::shuffling = ScorerShufflingType::random

Type of shuffling operator to be used for rearrangement of samples in the parsed dataset.

Referenced by sgpp::datadriven::CrossValidationScorerFactory::buildScorer(), and sgpp::datadriven::DataMiningConfigParser::getScorerCrossValidationConfig().


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