knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

add2xgb

DOI

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.

Installation

The development version from GitHub with:

# install.packages("devtools")
devtools::install_github("JiaxiangBU/add2xgb")

Example

This is a basic example which shows you how to solve a common problem:

library(add2xgb)
## basic example code

See the vignettes.

Citations

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")



JiaxiangBU/add2xgb documentation built on July 15, 2020, 8:32 a.m.