The goal of add2xgb is to help translate XGBoost model R object into SQL statement. In production, I translate model file into a sixty-thousand-line SQL code and run it into impala within 1 minute. Thus, It is fine to do this workflow in the model deployment.
The development version from GitHub with:
# install.packages("devtools")
devtools::install_github("JiaxiangBU/add2xgb")
This is a basic example which shows you how to solve a common problem:
library(add2xgb)
## basic example code
See the vignettes.
Jiaxiang Li. (2019, August 2). JiaxiangBU/add2xgb: add2xgb 0.1.0 (Version v0.1.0). Zenodo. http://doi.org/10.5281/zenodo.3358328
@misc{jiaxiang_li_2019_3358328,
author = {Jiaxiang Li},
title = {JiaxiangBU/add2xgb: add2xgb 0.1.0},
month = aug,
year = 2019,
doi = {10.5281/zenodo.3358328},
url = {https://doi.org/10.5281/zenodo.3358328}
}
If you use add2xgb, I would be very grateful if you can add a citation in your published work. By citing add2xgb, beyond acknowledging the work, you contribute to make it more visible and guarantee its growing and sustainability. For citation, please use the BibTex or the citation content.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.