def test_buildTestSet(self): classOne = array([[1., 2, 3], [1, 3, 2], [2, 1, 3], [2, 3, 1], [3, 1, 2], [3, 2, 1]]) classTwo = array([[4., 5, 6], [4, 6, 5], [5, 4, 6], [5, 6, 4], [6, 4, 5], [6, 5, 4]]) n = NetworkDataUtil() print n.buildTestSet(classOne, classTwo)
def _buildXORData(self): ndu = NetworkDataUtil() return ndu.createXORData()