do_predict | R Documentation |
Make predictions for new tweets, appending to existing predictions and SHAP values.
do_predict( tweets_transformed, stem = get_valid_stems(), overwrite = TRUE, fit = NULL, path_fit = NULL, ..., .overwrite = list(preds = NULL, shap = NULL), .path = list(preds = NULL, shap = NULL) )
tweets_transformed |
Tweets retrieved from |
stem |
Either |
overwrite |
Whether to overwrite existing fit, predictions, and SHAP values. |
fit |
xgboost fit |
path_fit |
If fit is not provided, then the fit is imported from |
... |
Unused |
.overwrite |
Specific booleans for overwriting specific outputs saved to file. Default is to use same value as |
.path |
Specific paths to export the predictions and SHAP values to. If left as |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.