The input data generator 

It creates dependent and independent binary sequence.
For dependent binary sequence, it predefine the parameter. 
Use the numpy.rand, which generate the uniform distribution data.