GuidedLDA icon indicating copy to clipboard operation
GuidedLDA copied to clipboard

How to use one dataset other than the ones already existing in guidelda dataset

Open Subhajyotidas opened this issue 5 years ago • 0 comments

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

Subhajyotidas avatar Jan 19 '20 10:01 Subhajyotidas