2.0 KiB
2.0 KiB
XGBoost R Package for Scalable GBM
Resources
- XGBoost R Package Online Documentation
- Check this out for detailed documents, examples and tutorials.
Installation
We are on CRAN now. For stable/pre-compiled(for Windows and OS X) version, please install from CRAN:
install.packages('xgboost')
You can also install from our weekly updated drat repo:
install.packages("drat", repos="https://cran.rstudio.com")
drat:::addRepo("dmlc")
install.packages("xgboost", repos="http://dmlc.ml/drat/", type="source")
Important Due to the usage of submodule, install_github is no longer support to install the
latest version of R package.
For up-to-date version, please install from github. Windows user will need to install RTools first.
git clone --recursive https://github.com/dmlc/xgboost
cd xgboost
make Rbuild
R CMD INSTALL xgboost_0.4-3.tar.gz
For more detailed installation instructions, please see here.
Examples
- Please visit walk through example.
- See also the example scripts for Kaggle Higgs Challenge, including speedtest script on this dataset and the one related to Otto challenge, including a RMarkdown documentation.