View source: R/bt_update_news_classifier.R
bt_update_news_classifier | R Documentation |
Pulls news leads from the Ricardomain database and trains a new Mrs Hudson model based on these leads, then saves it.
bt_update_news_classifier(
db.connection = NULL,
show.text.summary = T,
create.training.testing.split = F,
training.testing.split = 0.9,
mrs.h.method = "d2v",
mrs.h.gen.alg = "XGB",
use.tf.idf = TRUE
)
db.connection |
Database connection, should default to the correct one. |
show.text.summary |
Do you want to see a summary of the input training data wordcounts? |
create.training.testing.split |
Do you want to test the model on part of the training data and see its precision and recall? |
training.testing.split |
Proportion to split for training and testing. |
Void. Returns a summary of the precision and recall of the model if create.training.testing.split=T
www.globaltradealert.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.