Integration with pyLDAvis
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 113
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
Dear Leland,
I tried to use pyLDAvis with enstop, following same API as the sklearn topic models. I did essentially what is shown here https://nbviewer.jupyter.org/github/bmabey/pyLDAvis/blob/master/notebooks/sklearn.ipynb and replaced scikit-learn's LatentDirichletAllocation with enstop's EnsembleTopics.
I got this error:
```
ValidationError:
* Not all rows (distributions) in doc_topic_dists sum to 1.
```
Can you help to sort it out?
Thank you in advance
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the pyLDAvis sklearn notebook linked in the issue and the EnsembleTopics output passed to pyLDAvis. Investigate why doc_topic_dists rows do not sum to 1, then verify the integration accepts the resulting distributions without ValidationError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100