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

Proper usage of update_every in LdaMulticore #3139

Closed

Conversation

jonaschn
Copy link
Contributor

LdaMulticore offers a different API compared to LdaModel.
This is unnecessary complex.
Neither the removed batch nor the update_every parameters are documented for LdaMulticore.
However, LdaMulticore inherits update_every from LdaMulticore anyway.

This PR removes the batch parameter and uses the update_every parameter analog to it's usage in LdaModel:
batch=True becomes update_every=0
batch=False becomes update_every=1
New: update_every >= 2 (as used in ldamodel.py)

jonaschn added 4 commits May 5, 2021 19:20
The previous link was Matthew Hoffman's Google Scholar profile or not the official one.
Use full author names in the first occurrence and first author only afterward.
and use latex symbols for original parameter names
batch=True --> update_every=0
batch=False --> update_every=1
New: update_every >= 2 (as used in ldamodel.py)
@jonaschn jonaschn force-pushed the ldamulticore/update_every branch from e080811 to 7c0b61b Compare May 12, 2021 14:23
@jonaschn jonaschn marked this pull request as ready for review May 12, 2021 15:20
@piskvorky
Copy link
Owner

You're on a roll @jonaschn :)

@jonaschn jonaschn closed this May 13, 2021
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.

3 participants