View source: R/init_and_install.R
install_scoring_model | R Documentation |
Install a Scoring Model
install_scoring_model( model = c("en.large", "en", "multi.large", "multi"), scoring = c("xgb", "glm"), scoring_version = "1.0", ... )
model |
The embedding model, one of c("en.large", "en", "multi.large", "multi"). |
scoring |
The scoring model, currently one of:
|
scoring_version |
Version of scoring model (will add more over time) |
... |
Additional options to the function, including:
|
This downloads the scoring models from a set repository in order to keep the main package within CRAN size limits.
In the future, this will also make it possible for the community to add new and improved models!
0 if model did not need to be downloaded. 1 if model needed to be downloaded.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.