nvdm icon indicating copy to clipboard operation
nvdm copied to clipboard

neural variational document model

Results 7 nvdm issues
Sort by recently updated
recently updated
newest added

I ran into minor issues when using Python 3. 1) 'xrange' changed to 'range' 2) change the lines of the function, 'create_batches' from `ids=range(data_size)` to ` ids = np.arange(data_size)` which...

Hi, I am having trouble with running the script. Here is the error code: ![error](https://user-images.githubusercontent.com/55608428/107721479-59addb80-6ca2-11eb-8611-5f6b866d2a23.PNG) could anyone take a look at the code? It seems there are errors in utility...

Hi! So the perplexity calculation here is (per line 140 from "train" in nvdm.py): `print_ppx = np.exp(loss_sum / word_count)` However, loss_sum is based on the sum of "loss" which is...

I can't understand why setting `matrix_start_zero=True` when computing `logsigm` at *line 54, nvdm.py* , would you mind making a brief explanation, thanks.

I assume that row number of each word in vocabs.new is the index of the word, and the integer after each word is counts of that word in corpus, am...

Thank you! (for my purposes a commercially-friendly license, e.g. Apache / MIT / Berkeley would be awesome.)

I ran the following with Python 2.7, tensorflow 1.x: ``` $ python nvdm.py --data_dir data/20news ``` It produced this error: ``` Traceback (most recent call last): File "nvdm.py", line 227,...