View source: R/bt_d2v_preprocess.R
bt_d2v_preprocess | R Documentation |
To be used when a model is classifying docs based on one string (e.g. paste(AA, title,description))
bt_d2v_preprocess(model.w2v, doc_id, text, as.df = T)
model.w2v |
pretrained word embeddings |
doc_id |
the doc ids, probably the BID with Bastiat |
text |
character vector of words separated by spaces |
as.df |
return as a dataframe? if F, returns a matrix |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.