Description Usage Arguments Value Examples
Sets up VW model together with parameters and data
1 2 3 4 5 6 7 8 9 | vwsetup(algorithm = c("sgd", "bfgs", "ftrl", "pistol", "ksvm",
"OjaNewton", "svrg"), general_params = list(),
feature_params = list(), optimization_params = list(),
dir = tempdir(), model = NULL, params_str = NULL, option = c("",
"binary", "oaa", "ect", "csoaa", "wap", "log_multi", "recall_tree",
"lda", "multilabel_oaa", "classweight", "new_mf", "lrq", "stage_poly",
"bootstrap", "autolink", "replay", "explore_eval", "cb", "cb_explore",
"cbify", "multiworld_test_check", "nn", "topk", "search", "boosting",
"marginal"), ...)
|
algorithm |
[string] Optimzation algorithm
|
general_params |
List of parameters:
|
feature_params |
List of parameters: More information about "interactions" option (also "quadratic", "cubic") avaliable here https://github.com/VowpalWabbit/vowpal_wabbit/wiki/Command-line-arguments#example-manipulation-options
|
optimization_params |
List of parameters:
Additional parameters depending on
|
dir |
[string] Working directory path, default is tempdir() |
model |
[string] File name for model weights or path to existng model file. |
params_str |
[string] Pass cmd line parameters directly, bypassing the default approach. For compatibility, parameters from vwtrain,vwtest, predict.vw can't be used here and functions add_option, vwparams aren't supported. |
option |
[string] Add Learning algorithm / reduction option:
|
... |
Additional options for a learning algorithm / reduction
|
vwmodel list class
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.