def _getSimplePatterns(self, numOnes, numPatterns):
numCols = numOnes * numPatterns<EOL>p = []<EOL>for i in range(numPatterns):<EOL><INDENT>x = numpy.zeros(numCols, dtype='<STR_LIT>')<EOL>x[i*numOnes:(i+<NUM_LIT:1>)*numOnes] = <NUM_LIT:1><EOL>p.append(x)<EOL><DEDENT>return p<EOL>
Very simple patterns. Each pattern has numOnes consecutive
        bits on. There are numPatterns*numOnes bits in the vector. These patterns
        are used as elements of sequences when building up a training set.