log_ratio_sample | R Documentation |
Log-Ratio Sampling
log_ratio_sample(docs, out, dfm, mu, tau, max_query, edge, regions)
docs |
[dataframe] Documents with log ratio and cumulative sum columns. |
out |
[list] List of output objects from 'EM()' function. |
dfm |
[quanteda dfm] Quanteda dfm object. |
mu |
Error acceptance rate for first region. |
max_query |
[integer] Number of documents to be queried. |
edge |
[logical] Whether we sample from documents that have very high/low posterior |
eta |
Error acceptance rate for second region. |
Sampled documents.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.