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

Update distribution.md #2162

Merged
merged 1 commit into from
Oct 2, 2024
Merged

Update distribution.md #2162

merged 1 commit into from
Oct 2, 2024

Conversation

saikumaru
Copy link
Contributor

topic_distr provides topic scores for each doc, i.e. n- documents and m- topics for each of that doc

What does this PR do?

There is a documentation typo thats confusing and needs correction.

Eg

topic_distr, _ = topic_model.approximate_distribution(documents_array, window=4)

len(topic_distr)#n- number of documents
#output 4172
len(topic_distr[0])#m- number of topics
#output 60

Before submitting

  • This PR fixes a typo or improves the docs (if yes, ignore all other checks!).
  • Did you read the contributor guideline?
  • Was this discussed/approved via a Github issue? Please add a link to it if that's the case.
  • Did you make sure to update the documentation with your changes (if applicable)?
  • Did you write any new necessary tests?

topic_distr provides topic scores for each doc, i.e. n- documents and m- topics for each of that doc
@MaartenGr
Copy link
Owner

Thanks for the PR, LGTM!

@MaartenGr MaartenGr merged commit 4042e74 into MaartenGr:master Oct 2, 2024
@saikumaru saikumaru deleted the patch-1 branch October 2, 2024 16:49
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

Successfully merging this pull request may close these issues.

2 participants