SG++
sgpp::datadriven::TestingConfiguration Struct Reference

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

#include <ScorerConfig.hpp>

Public Attributes

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...
 
double testingPortion = 0.3
 value between 0 and 1 to specify the ratio between testing set and training set. More...
 

Detailed Description

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

Member Data Documentation

ScorerMetricType sgpp::datadriven::TestingConfiguration::metric

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

Referenced by sgpp::datadriven::SplittingScorerFactory::buildScorer(), and sgpp::datadriven::DataMiningConfigParser::getScorerTestingConfig().

int64_t sgpp::datadriven::TestingConfiguration::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::SplittingScorerFactory::buildScorer(), and sgpp::datadriven::DataMiningConfigParser::getScorerTestingConfig().

ScorerShufflingType sgpp::datadriven::TestingConfiguration::shuffling = ScorerShufflingType::random

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

Referenced by sgpp::datadriven::SplittingScorerFactory::buildScorer(), and sgpp::datadriven::DataMiningConfigParser::getScorerTestingConfig().

double sgpp::datadriven::TestingConfiguration::testingPortion = 0.3

value between 0 and 1 to specify the ratio between testing set and training set.

Referenced by sgpp::datadriven::SplittingScorerFactory::buildScorer(), and sgpp::datadriven::DataMiningConfigParser::getScorerTestingConfig().


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