test_cv_splitter

Module: tests.unittests.nodes.splitter.test_cv_splitter

This module contains unittests that test splitter nodes

Author:Jan Hendrik Metzen (jhm@informatik.uni-bremen.de)
Created:2008/12/18

Inheritance diagram for pySPACE.tests.unittests.nodes.splitter.test_cv_splitter:

Inheritance diagram of pySPACE.tests.unittests.nodes.splitter.test_cv_splitter

CrossValidationSplitterTestCase

class pySPACE.tests.unittests.nodes.splitter.test_cv_splitter.CrossValidationSplitterTestCase(methodName='runTest')[source]

Bases: unittest.case.TestCase

setUp()[source]
test_cv_coverage_by_testdata()[source]

Tests that all data points are contained at least once in a test set

test_cv_coverage_by_split()[source]

Tests that each split during crossvalidation covers the whole data set

test_cv_train_test_seperation()[source]

Test that no data point is contained in train and test set

test_cv_no_iterated_splitters()[source]

Splitter cannot be applied to a node chain, that has already been split

test_cv_dependance_on_run_number()[source]

Tests that the splitting of the data by a cv splitter node is randomized by the run number

test_cv_reproducibility()[source]

Tests that the splitting of the data by a cv splitter node is deterministic given the run_number