You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use guidedlda for one of my data set, but to create the variable 'X' while training the model it is giving problems.
AttributeError
Traceback (most recent call last)
in ()
20 ['price','value','cheap','bill','cost']]
21
---> 22 X=guidedlda.datasets.load_data(guidedlda.datasets.user_rev_spec_ofc_B002O3W4LE_4398.txt)
23
24 word2id = dict((v, idx) for idx, v in enumerate(vocab))
AttributeError: module 'guidedlda.datasets' has no attribute 'user_rev_spec_ofc_B002O3W4LE_4398'
how to process the text file into the dataset.py
The text was updated successfully, but these errors were encountered:
I am trying to use guidedlda for one of my data set, but to create the variable 'X' while training the model it is giving problems.
AttributeError
Traceback (most recent call last)
in ()
20 ['price','value','cheap','bill','cost']]
21
---> 22 X=guidedlda.datasets.load_data(guidedlda.datasets.user_rev_spec_ofc_B002O3W4LE_4398.txt)
23
24 word2id = dict((v, idx) for idx, v in enumerate(vocab))
AttributeError: module 'guidedlda.datasets' has no attribute 'user_rev_spec_ofc_B002O3W4LE_4398'
how to process the text file into the dataset.py
The text was updated successfully, but these errors were encountered: