rstudio - R crashes when STM model converge -
relatively r crashes when stm model converge. see image below 1 example after 30h+ estimation session. has happened on 2 different computers, different data sizes. have not been able identify specific patterns leading these crashes—as crashes not seem deterministic.
the model estimation settings
# full year <- year(df$date) # year data environment stmfit.full <- stm(out$documents, out$vocab, k = 0, prevalence =~ s(year) , max.em.its = 150, init.type = "spectral", seed = 300, verbose = t)
any ideas how solve this?
additional information: a)
> #systeminfo > > library(stm) stm v1.2.2 (2017-03-28) loaded. see ?stm help. > > sessioninfo() r version 3.4.1 (2017-06-30) platform: x86_64-w64-mingw32/x64 (64-bit) running under: windows >= 8 x64 (build > 9200) > > matrix products: default > > locale: [1] lc_collate=swedish_sweden.1252 > lc_ctype=swedish_sweden.1252 lc_monetary=swedish_sweden.1252 > lc_numeric=c lc_time=swedish_sweden.1252 > > attached base packages: [1] stats graphics grdevices utils > datasets methods base > > other attached packages: [1] stm_1.2.2 > > loaded via namespace (and not attached): [1] compiler_3.4.1 > matrix_1.2-10 tools_3.4.1 rcpp_0.12.12 grid_3.4.1 > data.table_1.10.4 lattice_0.20-35 > >
b) have filed report on development site in github: https://github.com/bstewart/stm/issues/89
c) image of crash:
we have solved issue. see github @ : https://github.com/bstewart/stm/issues/89
Comments
Post a Comment