this function returns a structure that contains the xgb model as well as everything else it needs (normalization factors, levels of variables etc) a predict function would need
1 | train_model_xgb(train_structure, hyperparameters)
|
train_structure |
the data structure generated by prepare_training_set |
hyperparameters |
the list generated by guess_hyperparameters function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.