mkrcke / strutopy

A Python implementation for Structural Topic Modeling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

STMlncpp

mkrcke opened this issue · comments

Function that performs the update for mu, sigma and beta in the e-step of the STM EM-algorithm.
Uses optim() to find the local optima for the parameter $\eta$ by predefined C++ functions lhoodcpp() and gradcpp()and hpbcpp().

  • [[Rcpp::export]] lhoodcpp
  • [[Rcpp::export]] gradcpp
  • [[Rcpp::export]] hpbcpp

Functionality is done. Some testing still required.