View source: R/stylest2_predict.R
term_influence | R Documentation |
Internal stylest2 function to return the influence of each term in predicting authorship.
term_influence(pred_docs_dfm, eta_tv, model)
pred_docs_dfm |
A document-feature matrix for the texts to be predicted. |
eta_tv |
The author-level term weights from a stylest2 model. |
model |
A stylest2 model. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.