Learn R Programming

xgb2sql (version 0.1.2)

Convert Trained 'XGBoost' Model to SQL Query

Description

This tool enables in-database scoring of 'XGBoost' models built in R, by translating trained model objects into SQL query. 'XGBoost' provides parallel tree boosting (also known as gradient boosting machine, or GBM) algorithms in a highly efficient, flexible and portable way. GBM algorithm is introduced by Friedman (2001) , and more details on 'XGBoost' can be found in Chen & Guestrin (2016) .

Copy Link

Version

Install

install.packages('xgb2sql')

Monthly Downloads

233

Version

0.1.2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Chengjun Hou

Last Published

March 13th, 2019

Functions in xgb2sql (0.1.2)

booster2sql

Transform XGBoost model object to SQL query.
onehot2sql

Prepare training data in R so that it is ready for XGBoost model fitting. Meta information is stored so the exact transformation can be applied to any new data. It also outputs SQL query performing the exact one-hot encoding for in-database data preparation.