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

Feature: parallel manyTopics() #162

Open
wants to merge 6 commits into
base: development
Choose a base branch
from

Conversation

mikajoh
Copy link

@mikajoh mikajoh commented May 29, 2018

manyTopics(), when length(K) > 1, can now run in parallel.

  • manyTopics now run in parallel using parallel::mclapply(), the same approach that were implemented for stm::searchK().
  • It takes a new argument cores, which defaults to parallel::detectCores(), i.e., the amount of available cores on the machine.

@codecov-io
Copy link

codecov-io commented May 30, 2018

Codecov Report

Merging #162 into development will decrease coverage by 1.59%.
The diff coverage is 0%.

Impacted file tree graph

@@              Coverage Diff               @@
##           development     #162     +/-   ##
==============================================
- Coverage        27.75%   26.16%   -1.6%     
==============================================
  Files               59       59             
  Lines             3635     3191    -444     
==============================================
- Hits              1009      835    -174     
+ Misses            2626     2356    -270
Impacted Files Coverage Δ
R/manyTopics.R 0% <0%> (ø) ⬆️
R/stm.R 53.17% <0%> (-13.66%) ⬇️
R/STMconvergence.R 78.26% <0%> (-7.46%) ⬇️
R/textProcessor.R 71.23% <0%> (-7.27%) ⬇️
R/STMoptbeta.R 80% <0%> (-5.72%) ⬇️
R/readCorpus.R 18.75% <0%> (-5.58%) ⬇️
R/plot.STM.R 36.98% <0%> (-5.48%) ⬇️
R/STMinit.R 57.14% <0%> (-5.45%) ⬇️
R/prepDocuments.R 67.74% <0%> (-4.49%) ⬇️
R/STMreport.R 24.24% <0%> (-3.97%) ⬇️
... and 43 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f646bc7...2217218. Read the comment docs.

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.

None yet

3 participants