xgboost: Extreme Gradient Boosting

Extreme Gradient Boosting, which is an efficient implementation of the gradient boosting framework from Chen & Guestrin (2016) <doi:10.1145/2939672.2939785>. This package is its R interface. The package includes efficient linear model solver and tree learning algorithms. The package can automatically do parallel computation on a single machine which could be more than 10 times faster than existing gradient boosting packages. It supports various objective functions, including regression, classification and ranking. The package is made to be extensible, so that users are also allowed to define their own objectives easily.

AuthorTianqi Chen <tianqi.tchen@gmail.com>, Tong He <hetong007@gmail.com>, Michael Benesty <michael@benesty.fr>, Vadim Khotilovich <khotilovich@gmail.com>, Yuan Tang <terrytangyuan@gmail.com>
Date of publication2017-01-05 10:40:06
MaintainerTong He <hetong007@gmail.com>
LicenseApache License (== 2.0) | file LICENSE
Version0.6-4
https://github.com/dmlc/xgboost

View on CRAN

Man pages

agaricus.test: Test part from Mushroom Data Set

agaricus.train: Training part from Mushroom Data Set

callbacks: Callback closures for booster training.

cb.cv.predict: Callback closure for returning cross-validation based...

cb.early.stop: Callback closure to activate the early stopping.

cb.evaluation.log: Callback closure for logging the evaluation history

cb.print.evaluation: Callback closure for printing the result of evaluation

cb.reset.parameters: Callback closure for restetting the booster's parameters at...

cb.save.model: Callback closure for saving a model file.

dimnames.xgb.DMatrix: Handling of column names of 'xgb.DMatrix'

dim.xgb.DMatrix: Dimensions of xgb.DMatrix

getinfo: Get information of an xgb.DMatrix object

predict.xgb.Booster: Predict method for eXtreme Gradient Boosting model

print.xgb.Booster: Print xgb.Booster

print.xgb.cv: Print xgb.cv result

print.xgb.DMatrix: Print xgb.DMatrix

setinfo: Set information of an xgb.DMatrix object

slice.xgb.DMatrix: Get a new DMatrix containing the specified rows of orginal...

xgb.attr: Accessors for serializable attributes of a model.

xgb.create.features: Create new features from a previously learned model

xgb.cv: Cross Validation

xgb.DMatrix: Contruct xgb.DMatrix object

xgb.DMatrix.save: Save xgb.DMatrix object to binary file

xgb.dump: Save xgboost model to text file

xgb.importance: Show importance of features in a model

xgb.load: Load xgboost model from binary file

xgb.model.dt.tree: Parse a boosted tree model text dump

xgboost-deprecated: Deprecation notices.

xgb.parameters: Accessors for model parameters.

xgb.plot.deepness: Plot model trees deepness

xgb.plot.importance: Plot feature importance as a bar graph

xgb.plot.multi.trees: Project all trees on one tree and plot it

xgb.plot.tree: Plot a boosted tree model

xgb.save: Save xgboost model to binary file

xgb.save.raw: Save xgboost model to R's raw vector, user can call xgb.load...

xgb.train: eXtreme Gradient Boosting Training

Files in this package

xgboost
xgboost/inst
xgboost/inst/doc
xgboost/inst/doc/xgboost.Rnw
xgboost/inst/doc/xgboost.R
xgboost/inst/doc/xgboostPresentation.Rmd
xgboost/inst/doc/discoverYourData.R
xgboost/inst/doc/discoverYourData.Rmd
xgboost/inst/doc/discoverYourData.html
xgboost/inst/doc/xgboostPresentation.R
xgboost/inst/doc/xgboostPresentation.html
xgboost/inst/doc/xgboost.pdf
xgboost/configure.ac
xgboost/tests
xgboost/tests/testthat.R
xgboost/tests/testthat
xgboost/tests/testthat/test_callbacks.R
xgboost/tests/testthat/test_parameter_exposure.R
xgboost/tests/testthat/test_glm.R
xgboost/tests/testthat/test_lint.R
xgboost/tests/testthat/test_monotone.R
xgboost/tests/testthat/test_poisson_regression.R
xgboost/tests/testthat/test_dmatrix.R
xgboost/tests/testthat/test_update.R
xgboost/tests/testthat/test_basic.R
xgboost/tests/testthat/test_helpers.R
xgboost/tests/testthat/test_custom_objective.R
xgboost/tests/testthat/test_gc_safety.R
xgboost/src
xgboost/src/src
xgboost/src/src/c_api
xgboost/src/src/c_api/c_api.cc
xgboost/src/src/c_api/c_api_error.cc
xgboost/src/src/c_api/c_api_error.h
xgboost/src/src/objective
xgboost/src/src/objective/multiclass_obj.cc
xgboost/src/src/objective/rank_obj.cc
xgboost/src/src/objective/regression_obj.cc
xgboost/src/src/objective/objective.cc
xgboost/src/src/metric
xgboost/src/src/metric/elementwise_metric.cc
xgboost/src/src/metric/multiclass_metric.cc
xgboost/src/src/metric/metric.cc
xgboost/src/src/metric/rank_metric.cc
xgboost/src/src/learner.cc
xgboost/src/src/cli_main.cc
xgboost/src/src/data
xgboost/src/src/data/sparse_page_dmatrix.cc
xgboost/src/src/data/sparse_page_source.cc
xgboost/src/src/data/sparse_page_raw_format.cc
xgboost/src/src/data/sparse_batch_page.h
xgboost/src/src/data/sparse_page_source.h
xgboost/src/src/data/sparse_page_dmatrix.h
xgboost/src/src/data/simple_csr_source.h
xgboost/src/src/data/sparse_page_writer.cc
xgboost/src/src/data/data.cc
xgboost/src/src/data/simple_dmatrix.h
xgboost/src/src/data/simple_dmatrix.cc
xgboost/src/src/data/simple_csr_source.cc
xgboost/src/src/common
xgboost/src/src/common/common.h
xgboost/src/src/common/base64.h
xgboost/src/src/common/random.h
xgboost/src/src/common/config.h
xgboost/src/src/common/common.cc
xgboost/src/src/common/math.h
xgboost/src/src/common/bitmap.h
xgboost/src/src/common/sync.h
xgboost/src/src/common/thread_local.h
xgboost/src/src/common/io.h
xgboost/src/src/common/group_data.h
xgboost/src/src/common/quantile.h
xgboost/src/src/gbm
xgboost/src/src/gbm/gbm.cc
xgboost/src/src/gbm/gblinear.cc
xgboost/src/src/gbm/gbtree.cc
xgboost/src/src/tree
xgboost/src/src/tree/updater_histmaker.cc
xgboost/src/src/tree/updater_colmaker.cc
xgboost/src/src/tree/updater_skmaker.cc
xgboost/src/src/tree/tree_model.cc
xgboost/src/src/tree/updater_sync.cc
xgboost/src/src/tree/updater_refresh.cc
xgboost/src/src/tree/tree_updater.cc
xgboost/src/src/tree/updater_prune.cc
xgboost/src/src/tree/param.h
xgboost/src/src/tree/updater_basemaker-inl.h
xgboost/src/src/logging.cc
xgboost/src/dmlc-core
xgboost/src/dmlc-core/src
xgboost/src/dmlc-core/src/io.cc
xgboost/src/dmlc-core/src/io
xgboost/src/dmlc-core/src/io/s3_filesys.h
xgboost/src/dmlc-core/src/io/hdfs_filesys.h
xgboost/src/dmlc-core/src/io/line_split.h
xgboost/src/dmlc-core/src/io/recordio_split.cc
xgboost/src/dmlc-core/src/io/uri_spec.h
xgboost/src/dmlc-core/src/io/filesys.h
xgboost/src/dmlc-core/src/io/hdfs_filesys.cc
xgboost/src/dmlc-core/src/io/local_filesys.cc
xgboost/src/dmlc-core/src/io/single_file_split.h
xgboost/src/dmlc-core/src/io/input_split_base.cc
xgboost/src/dmlc-core/src/io/local_filesys.h
xgboost/src/dmlc-core/src/io/azure_filesys.h
xgboost/src/dmlc-core/src/io/line_split.cc
xgboost/src/dmlc-core/src/io/s3_filesys.cc
xgboost/src/dmlc-core/src/io/input_split_base.h
xgboost/src/dmlc-core/src/io/recordio_split.h
xgboost/src/dmlc-core/src/io/azure_filesys.cc
xgboost/src/dmlc-core/src/io/cached_input_split.h
xgboost/src/dmlc-core/src/io/threaded_input_split.h
xgboost/src/dmlc-core/src/config.cc
xgboost/src/dmlc-core/src/data
xgboost/src/dmlc-core/src/data/parser.h
xgboost/src/dmlc-core/src/data/basic_row_iter.h
xgboost/src/dmlc-core/src/data/row_block.h
xgboost/src/dmlc-core/src/data/strtonum.h
xgboost/src/dmlc-core/src/data/libsvm_parser.h
xgboost/src/dmlc-core/src/data/csv_parser.h
xgboost/src/dmlc-core/src/data/disk_row_iter.h
xgboost/src/dmlc-core/src/data/text_parser.h
xgboost/src/dmlc-core/src/recordio.cc
xgboost/src/dmlc-core/src/data.cc
xgboost/src/dmlc-core/include
xgboost/src/dmlc-core/include/dmlc
xgboost/src/dmlc-core/include/dmlc/json.h
xgboost/src/dmlc-core/include/dmlc/any.h
xgboost/src/dmlc-core/include/dmlc/array_view.h
xgboost/src/dmlc-core/include/dmlc/common.h
xgboost/src/dmlc-core/include/dmlc/serializer.h
xgboost/src/dmlc-core/include/dmlc/omp.h
xgboost/src/dmlc-core/include/dmlc/memory_io.h
xgboost/src/dmlc-core/include/dmlc/registry.h
xgboost/src/dmlc-core/include/dmlc/parameter.h
xgboost/src/dmlc-core/include/dmlc/input_split_shuffle.h
xgboost/src/dmlc-core/include/dmlc/memory.h
xgboost/src/dmlc-core/include/dmlc/recordio.h
xgboost/src/dmlc-core/include/dmlc/base.h
xgboost/src/dmlc-core/include/dmlc/config.h
xgboost/src/dmlc-core/include/dmlc/timer.h
xgboost/src/dmlc-core/include/dmlc/threadediter.h
xgboost/src/dmlc-core/include/dmlc/concurrency.h
xgboost/src/dmlc-core/include/dmlc/type_traits.h
xgboost/src/dmlc-core/include/dmlc/lua.h
xgboost/src/dmlc-core/include/dmlc/thread_local.h
xgboost/src/dmlc-core/include/dmlc/data.h
xgboost/src/dmlc-core/include/dmlc/io.h
xgboost/src/dmlc-core/include/dmlc/logging.h
xgboost/src/amalgamation
xgboost/src/amalgamation/xgboost-all0.cc
xgboost/src/amalgamation/dmlc-minimum0.cc
xgboost/src/xgboost_custom.cc
xgboost/src/rabit
xgboost/src/rabit/src
xgboost/src/rabit/src/engine_mpi.cc
xgboost/src/rabit/src/c_api.cc
xgboost/src/rabit/src/allreduce_robust-inl.h
xgboost/src/rabit/src/engine_mock.cc
xgboost/src/rabit/src/allreduce_base.h
xgboost/src/rabit/src/engine.cc
xgboost/src/rabit/src/engine_base.cc
xgboost/src/rabit/src/allreduce_mock.h
xgboost/src/rabit/src/thread_local.h
xgboost/src/rabit/src/engine_empty.cc
xgboost/src/rabit/src/allreduce_base.cc
xgboost/src/rabit/src/allreduce_robust.h
xgboost/src/rabit/src/socket.h
xgboost/src/rabit/src/allreduce_robust.cc
xgboost/src/rabit/include
xgboost/src/rabit/include/dmlc
xgboost/src/rabit/include/dmlc/serializer.h
xgboost/src/rabit/include/dmlc/base.h
xgboost/src/rabit/include/dmlc/type_traits.h
xgboost/src/rabit/include/dmlc/io.h
xgboost/src/rabit/include/dmlc/logging.h
xgboost/src/rabit/include/rabit
xgboost/src/rabit/include/rabit/internal
xgboost/src/rabit/include/rabit/internal/rabit-inl.h
xgboost/src/rabit/include/rabit/internal/timer.h
xgboost/src/rabit/include/rabit/internal/utils.h
xgboost/src/rabit/include/rabit/internal/io.h
xgboost/src/rabit/include/rabit/internal/engine.h
xgboost/src/rabit/include/rabit/rabit.h
xgboost/src/rabit/include/rabit/c_api.h
xgboost/src/rabit/include/rabit/serializable.h
xgboost/src/xgboost_R.h
xgboost/src/xgboost_R.cc
xgboost/src/xgboost_assert.c
xgboost/src/Makevars.in
xgboost/src/Makevars.win
xgboost/src/include
xgboost/src/include/xgboost
xgboost/src/include/xgboost/learner.h
xgboost/src/include/xgboost/base.h
xgboost/src/include/xgboost/feature_map.h
xgboost/src/include/xgboost/tree_updater.h
xgboost/src/include/xgboost/objective.h
xgboost/src/include/xgboost/c_api.h
xgboost/src/include/xgboost/data.h
xgboost/src/include/xgboost/metric.h
xgboost/src/include/xgboost/tree_model.h
xgboost/src/include/xgboost/logging.h
xgboost/src/include/xgboost/gbm.h
xgboost/NAMESPACE
xgboost/demo
xgboost/demo/generalized_linear_model.R
xgboost/demo/predict_leaf_indices.R
xgboost/demo/cross_validation.R
xgboost/demo/basic_walkthrough.R
xgboost/demo/custom_objective.R
xgboost/demo/early_stopping.R
xgboost/demo/poisson_regression.R
xgboost/demo/00Index
xgboost/demo/create_sparse_matrix.R
xgboost/demo/predict_first_ntree.R
xgboost/demo/tweedie_regression.R
xgboost/demo/caret_wrapper.R
xgboost/demo/boost_from_prediction.R
xgboost/data
xgboost/data/agaricus.test.rda
xgboost/data/agaricus.train.rda
xgboost/R
xgboost/R/xgb.save.R xgboost/R/utils.R xgboost/R/xgboost.R xgboost/R/xgb.Booster.R xgboost/R/xgb.ggplot.R xgboost/R/xgb.model.dt.tree.R xgboost/R/xgb.plot.multi.trees.R xgboost/R/xgb.DMatrix.R xgboost/R/xgb.plot.deepness.R xgboost/R/xgb.load.R xgboost/R/xgb.importance.R xgboost/R/xgb.plot.importance.R xgboost/R/xgb.DMatrix.save.R xgboost/R/xgb.plot.tree.R xgboost/R/xgb.train.R xgboost/R/xgb.dump.R xgboost/R/callbacks.R xgboost/R/xgb.save.raw.R xgboost/R/xgb.cv.R xgboost/R/xgb.create.features.R
xgboost/vignettes
xgboost/vignettes/xgboost.Rnw
xgboost/vignettes/xgboostPresentation.Rmd
xgboost/vignettes/discoverYourData.Rmd
xgboost/vignettes/xgboost.bib
xgboost/vignettes/vignette.css
xgboost/MD5
xgboost/build
xgboost/build/vignette.rds
xgboost/DESCRIPTION
xgboost/configure
xgboost/man
xgboost/man/cb.early.stop.Rd xgboost/man/dim.xgb.DMatrix.Rd xgboost/man/getinfo.Rd xgboost/man/cb.reset.parameters.Rd xgboost/man/setinfo.Rd xgboost/man/predict.xgb.Booster.Rd xgboost/man/callbacks.Rd xgboost/man/xgb.plot.deepness.Rd xgboost/man/agaricus.test.Rd xgboost/man/xgb.DMatrix.save.Rd xgboost/man/xgboost-deprecated.Rd xgboost/man/xgb.save.Rd xgboost/man/cb.save.model.Rd xgboost/man/print.xgb.DMatrix.Rd xgboost/man/print.xgb.Booster.Rd xgboost/man/print.xgb.cv.Rd xgboost/man/xgb.plot.multi.trees.Rd xgboost/man/cb.evaluation.log.Rd xgboost/man/cb.print.evaluation.Rd xgboost/man/xgb.plot.importance.Rd xgboost/man/xgb.model.dt.tree.Rd xgboost/man/xgb.create.features.Rd xgboost/man/agaricus.train.Rd xgboost/man/xgb.attr.Rd xgboost/man/xgb.plot.tree.Rd xgboost/man/xgb.load.Rd xgboost/man/xgb.cv.Rd xgboost/man/xgb.DMatrix.Rd xgboost/man/cb.cv.predict.Rd xgboost/man/dimnames.xgb.DMatrix.Rd xgboost/man/xgb.save.raw.Rd xgboost/man/xgb.importance.Rd xgboost/man/xgb.train.Rd xgboost/man/xgb.parameters.Rd xgboost/man/slice.xgb.DMatrix.Rd xgboost/man/xgb.dump.Rd
xgboost/cleanup
xgboost/LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.