test_all_train_splitter

Module: tests.unittests.nodes.splitter.test_all_train_splitter

A module that tests the all_train_splitter node

Author:Andrei Ignat (Andrei_Cristian.Ignat@dfki.de)
Created:2014/06/04

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

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

AllTrainSplitterTestCase

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

Bases: unittest.case.TestCase

The test itself is an embarrassingly simple one since the only thing that the node should do is classify all the data points as training data points. Therefore, the scenario of the test is to create an input node, feed it some data points and then just check if all the data points were classified as training data.

Class Components Summary

setUp()
test_split()
setUp()[source]
test_split()[source]