SG++
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

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

python.learner.folding.RandomFoldingPolicy.RandomFoldingPolicy.random

Random number generator.

python.learner.folding.RandomFoldingPolicy.RandomFoldingPolicy.seed
python.learner.folding.RandomFoldingPolicy.RandomFoldingPolicy.seq
python.learner.folding.RandomFoldingPolicy.RandomFoldingPolicy.window

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