knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
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.
citations <- add2pkg::add_zenodo_citation("README.Rmd")
cat(citations$Cite)
cat(paste0("```BibTex\n",citations$BibTex,"\n```"))
cat(citations$Comments)
r add2pkg::add_disclaimer("Roland Stevenson;Jiaxiang Li")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.