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

Summation, Hessian updates #223

Open
wants to merge 130 commits into
base: stablesum
Choose a base branch
from
Open

Summation, Hessian updates #223

wants to merge 130 commits into from

Conversation

gomfy
Copy link

@gomfy gomfy commented Jun 3, 2020

  • Updated hpbcpp to use beta without allocating memory.
  • Added n_beta_sumcpp and n_sigma_sumcpp functions that implement the Neumaier summation algorithm in C++. To turn it on use the neum_sum_cpp=TRUE control option as shown below:
stm(poliblog5k.docs, poliblog5k.voc, K=5, prevalence=~rating, data=poliblog5k.meta, max.em.its = 100, control=list(method="BFGS", neum_sum_cpp=TRUE))

Gyorgy Matyasfalvi added 30 commits June 3, 2020 17:48
…mmation for sigma, Removed merge and split functions from STMestep.R that used to be needed for combo summation.
…t, added summation speed comparison tests.
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.

1 participant