Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Subhajyotidas opened this issue Jan 19, 2020 · 0 comments

Comments

@Subhajyotidas
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant