On Mar 27, 11:07 am, joy99 <subhakolkata1...@gmail.com> wrote: > (b) Suppose we have two distributions p(x1) and p(x2), of the Model M, > the E of EM algorithm, without going into much technical details is, > P0(x1,x2), P1(x1,x2) .... > > Now I am taking random.random() to generate both x1 and x2 and trying > to multiply them, is it fine? Or should I take anything else?
Sorry, it's unclear to me what you're asking here. Can you rephrase this as a question about Python's random.random() function? If you're asking whether it's okay to regard your generated x1 and x2 as independent, then the answer is yes. -- Mark -- http://mail.python.org/mailman/listinfo/python-list