SG++-Doxygen-Documentation
python.learner.folding.RandomFoldingPolicy.RandomFoldingPolicy Class Reference

Provides functionality for accomplishment of learning with cross-validation by generating a set of training data/validation data pairs randomly This class corresponds to the old doFold() method. More...

Inheritance diagram for python.learner.folding.RandomFoldingPolicy.RandomFoldingPolicy:

Public Member Functions

def __init__ (self, dataContainer, level=1, seed=None)
 Constructor. More...
 

Public Attributes

 random
 Random number generator. More...
 
 seed
 
 seq
 
 window
 

Detailed Description

Provides functionality for accomplishment of learning with cross-validation by generating a set of training data/validation data pairs randomly This class corresponds to the old doFold() method.

Constructor & Destructor Documentation

◆ __init__()

def python.learner.folding.RandomFoldingPolicy.RandomFoldingPolicy.__init__ (   self,
  dataContainer,
  level = 1,
  seed = None 
)

Constructor.

Parameters
dataContainerDataContainer with data set
levelInteger folding level, default value: 1
seedInteger seed, default None so it is set to the timestamp

Member Data Documentation

◆ random

python.learner.folding.RandomFoldingPolicy.RandomFoldingPolicy.random

Random number generator.

◆ seed

python.learner.folding.RandomFoldingPolicy.RandomFoldingPolicy.seed

◆ seq

python.learner.folding.RandomFoldingPolicy.RandomFoldingPolicy.seq

◆ window

python.learner.folding.RandomFoldingPolicy.RandomFoldingPolicy.window

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