weecology / LDATS

Latent Dirichlet Allocation coupled with Bayesian Time Series analyses
https://weecology.github.io/LDATS
Other
25 stars 5 forks source link

Shorten run time and reduce memory of initial example #115

Closed ethanwhite closed 5 years ago

ethanwhite commented 5 years ago

The demo example provided in the README and on the first page of the website takes a long time and a lot of memory to run. I stopped at 15+ minutes and over 3 GB of RAM. I think we want something that will run in no more than 2-3 minutes so that folks can get up and running quickly and doesn't require any more than 2 GB of free RAM so that folks running this on low resource laptops don't crash before they get started.

Dropping the ~newmoon formula and dropping to nchangepoints = 0:1 accomplishes this.