Skip to content

Commit

Permalink
minor refactoring
Browse files Browse the repository at this point in the history
Decoupled multiprocessing code from EnsembleLda class.  This reduces the
length of the class by several hundred lines, making it slightly easier
to understand.

Added _generate_topic_models_worker function to clarify distinction
between single-process and multi-process code.

Fixed flake8 problem (l is an ambiguous variable name)

Adjusted _teardown function (removed i parameter, it's only for logs)

Moved _MAX_RANDOM_STATE to module level
  • Loading branch information
mpenkov committed Jul 18, 2021
1 parent c35fb01 commit 71b33dd
Showing 1 changed file with 311 additions and 280 deletions.
Loading

0 comments on commit 71b33dd

Please sign in to comment.