xgboost/R-package
Ajinkya Kale 0c8c231949 Fixing duplicate params in demo
Issue in "demo(package="xgboost", custom_objective)"

> bst <- xgb.train(param, dtrain, num_round, watchlist, 
+                  objective=logregobj, eval_metric=evalerror)
Error in xgb.train(param, dtrain, num_round, watchlist, objective = logregobj,  : 
  Duplicated term in parameters. Please check your list of params.
2015-07-29 14:28:34 -07:00
..
2015-01-20 15:51:42 -08:00
2015-07-29 14:28:34 -07:00
2015-05-25 11:51:01 -07:00
2015-07-24 19:11:08 +00:00
2015-07-24 11:58:02 -07:00
2015-07-24 11:58:02 -07:00
2015-05-06 15:23:37 -07:00

R package for xgboost

Installation

For up-to-date version (which is recommended), please install from github. Windows user will need to install RTools first.

devtools::install_github('dmlc/xgboost',subdir='R-package')

Examples

Notes

If you face an issue installing the package using devtools::install_github, something like this (even after updating libxml and RCurl as lot of forums say) -

devtools::install_github('dmlc/xgboost',subdir='R-package')
Downloading github repo dmlc/xgboost@master
Error in function (type, msg, asError = TRUE)  : 
  Peer certificate cannot be authenticated with given CA certificates

To get around this you can build the package locally as mentioned here -

1. Clone the current repository and set your workspace to xgboost/R-package/
2. Run R CMD INSTALL --build . in terminal to get the tarball.
3. Run install.packages('path_to_the_tarball',repo=NULL) in R to install.