LDA example from iclr2017


The LDA example at iclr is not working. At least on my computer, the problem is at

z = [[0] * N] * D
w = [[0] * N] * D

The error is
TypeError: can't multiply sequence by non-int of type 'list'

I’m running the newest version of Edward on python3.


That’s a Python error and is unrelated to Edward. Check that N and D are integers.