Commit Graph
69 Commits
Author SHA1 Message Date
david-cortes f52f11e1d7 [R] Allow passing data.frame to SHAP (#10744) 2024-09-02 19:44:12 +08:00
david-cortes 15b72571f3 [R] update serialization advise for new xgboost class (#10794) 2024-09-02 02:46:11 +08:00
david-cortesandJiaming Yuan 3043827efc [R] Update vignette "XGBoost presentation" (#10749)
---------

Co-authored-by: Jiaming Yuan <jm.yuan@outlook.com>
2024-08-28 16:22:54 +08:00
david-cortes 12c6b7ceea [R] Remove demos (#10750) 2024-08-27 04:16:36 +08:00
david-cortes 479ae8081b [R] Add class names to coefficients (#10745) 2024-08-25 04:41:58 +08:00
david-cortes e9f1abc1f0 [R] keep row names in predictions (#10727) 2024-08-21 05:49:02 +08:00
david-cortes adf87b27c5 [doc] Fix tutorial for advanced objectives (#10725) 2024-08-21 02:52:50 +08:00
david-cortes caabee2135 [R] remove 'reshape' argument, let shapes be handled by core cpp library (#10330) 2024-08-18 23:31:38 +08:00
david-cortesandMichael Mayer ab982e7873 [R] Redesigned xgboost() interface skeleton (#10456)
---------

Co-authored-by: Michael Mayer <mayermichael79@gmail.com>
2024-07-15 18:44:58 +08:00
david-cortesandJiaming Yuan 8d0f2bfbaa [doc] Add more detailed explanations for advanced objectives (#10283)
---------

Co-authored-by: Jiaming Yuan <jm.yuan@outlook.com>
2024-07-08 19:17:31 +08:00
david-cortes 61ac8eec8a [R] use Rf_ prefix for R C functions. (#10465) 2024-06-21 14:37:18 +08:00
david-cortes 8998733ef4 [R] Rename BIAS -> (Intercept) (#10337) 2024-05-30 19:43:32 +08:00
david-cortes 949f062229 [R] Fix incorrect division of classification/ranking objectives (#10327) 2024-05-27 10:27:32 +08:00
david-cortes b2008773bb [R] Update docs for custom user functions (#10328) 2024-05-27 10:26:34 +08:00
david-cortes 5086decb0c [R] Reshape predictions for custom eval metric when they are 2D (#10323) 2024-05-24 17:28:30 +08:00
david-cortesandPhilip Hyunsu Cho bc9ea62ec0 [R] Make xgb.cv work with xgb.DMatrix only, adding support for survival and ranking fields (#10031)
---------

Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>
2024-03-31 21:53:00 +08:00
david-cortes b023a253b4 [R] Rename watchlist -> evals (#10032) 2024-03-10 06:48:06 +08:00
david-cortes 2c12b956da [R] Refactor callback structure and attributes (#9957) 2024-03-01 15:57:47 +08:00
david-cortesandHyunsu Cho f7005d32c1 [R] Use inplace predict (#9829)
---------

Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>
2024-02-24 02:03:54 +08:00
david-cortes 6e3c899ba7 [R] Don't cap global number of threads for serialization (#10028) 2024-02-20 11:13:00 +08:00
david-cortes 4de866211d [R] switch to URI reader (#10024) 2024-02-05 05:03:38 +08:00
david-cortes a730c7e67e [R] allow using seed with regular RNG (#10029) 2024-02-04 16:22:22 +08:00
david-cortesandJiaming Yuan 662854c7d7 [R] Document handling of indexes (#10019)
---------

Co-authored-by: Jiaming Yuan <jm.yuan@outlook.com>
2024-02-02 05:39:09 +08:00
david-cortes 0955213220 [R] rename proxy dmatrix -> data batch (#10016) 2024-01-31 15:43:58 +08:00
david-cortes 1e72dc1276 [R] Add optional check on column names matching in predict (#10020) 2024-01-31 15:43:22 +08:00
david-cortes 5e00a71671 [R] rename slice to avoid dplyr conflict (#10017) 2024-01-31 05:33:37 +08:00
david-cortes df7cf744b4 [R] Remove enable_categorical parameter (#10018) 2024-01-31 05:17:36 +08:00
david-cortes 3abbbe41ac [R] Add data iterator, quantile dmatrix, external memory, and missing feature_types (#9913) 2024-01-30 19:26:44 +08:00
david-cortes 5062a3ab46 [R] Support booster slicing. (#9948) 2024-01-21 05:11:26 +08:00
david-cortes c5d0608057 [R] Remove parameters and attributes related to ntree and rebase iterationrange (#9935) 2024-01-21 00:56:57 +08:00
david-cortes 60b9d2eeb9 [R] Avoid memory copies in predict (#9902) 2024-01-21 00:53:18 +08:00
david-cortes 547abb8c12 [R] Remove unusable 'feature_names' argument and make 'model' first argument in inspection functions (#9939) 2024-01-15 17:16:30 +08:00
david-cortesandJiaming Yuan d3a8d284ab [R] On-demand serialization + standardization of attributes (#9924)
---------

Co-authored-by: Jiaming Yuan <jm.yuan@outlook.com>
2024-01-11 05:08:42 +08:00
david-cortes bed0349954 [R] Don't write files to user's directory (#9966) 2024-01-09 03:43:48 +08:00
david-cortes 7ff6d44efa [R] Use R's error stream for printing warnings (#9965) 2024-01-09 03:43:21 +08:00
david-cortes db396ee340 [R] make sure output fits into int32 (#9949) 2024-01-04 16:51:22 +08:00
david-cortesandJiaming Yuan 3c004a4145 [R] Add missing DMatrix functions (#9929)
* `XGDMatrixGetQuantileCut`
* `XGDMatrixNumNonMissing`
* `XGDMatrixGetDataAsCSR`

---------

Co-authored-by: Jiaming Yuan <jm.yuan@outlook.com>
2024-01-03 17:29:21 +08:00
david-cortes 49247458f9 [R] Minor improvements for evaluation printing (#9940) 2024-01-03 15:26:55 +08:00
david-cortes 9e33a10202 [R] Replace xgboost() with xgb.train() in most tests and examples (#9941) 2024-01-02 21:20:01 +08:00
david-cortes 32cbab1cc0 [R] put 'verbose' in correct argument (#9942) 2024-01-02 15:20:51 +08:00
david-cortes 73713de601 [R] rename Quality -> Gain (#9938) 2023-12-31 13:01:00 +08:00
david-cortes 8b9c98b65b [R] Clearer function signatures for S3 methods (#9937) 2023-12-31 10:45:04 +08:00
david-cortes e40c4260ed [R] Enable 'dot' dump format (#9930) 2023-12-30 13:28:27 +08:00
david-cortes a197899161 [R] avoid leaking exception objects (#9916) 2023-12-26 20:29:55 +08:00
david-cortes 252e018275 correct name of function in header (#9905) 2023-12-20 10:52:00 +08:00
david-cortes ae32936ba2 [R] Catch C++ exceptions (#9903) 2023-12-19 10:45:03 +08:00
david-cortes ff3d82c006 [R] Refactor field logic for dmatrix (#9901) 2023-12-18 20:31:01 +08:00
david-cortes db7f952ed6 update docs for parameters (#9900) 2023-12-16 12:19:22 +08:00
david-cortes cd473c9da3 [R] enable multi-dimensional base_margin (#9885) 2023-12-14 09:16:53 +08:00
david-cortes 42173d7bc3 [doc] Clarify the effect of enable_categorical (#9877) 2023-12-13 08:39:41 +08:00
david-cortes ddab49a8be [doc][R] Update arguments for ellipsis in predict (#9868) 2023-12-12 12:13:47 +08:00
david-cortes 562352101d [R] Move all DMatrix fields to function arguments (#9862) 2023-12-10 02:45:28 +08:00
david-cortes 2c0fc97306 Remove note about multi-quantile being python-only (#9854) 2023-12-07 05:17:15 +08:00
david-cortes 9e9d41b95c [R] Add note about serialization of DMatrix objects (#9853) 2023-12-07 03:11:15 +08:00
david-cortes 1de3f4135c [R] Enable vector-valued parameters (#9849) 2023-12-06 20:32:20 +08:00
david-cortes 0716c64ef7 [R] Error out on multidimensional arrays (#9852) 2023-12-06 17:43:51 +08:00
david-cortes 62571b79eb [R] Enable multi-output objectives (#9839) 2023-12-06 03:13:14 +08:00
david-cortes 9c56916fd7 [R] Very small performance tweaks (#9837) 2023-12-04 18:40:45 +08:00
david-cortes 7196c9d95e [R] Fix memory safety issues (#9823) 2023-12-02 13:43:50 +08:00
david-cortes 95af5c074b more usage of array interface, fix potential memory leaks of std::string (#9824) 2023-12-01 00:06:59 +08:00
david-cortesandJiaming Yuan 37da66f865 [R] Use array interface for dense DMatrix creation (#9816)
---------

Co-authored-by: Jiaming Yuan <jm.yuan@outlook.com>
2023-11-30 04:35:05 +08:00
david-cortes c0ef2f8dce [R] Fix potential memory leaks in case of R allocation failures (#9817) 2023-11-29 13:14:17 +08:00
david-cortes bfa1252fca [R][doc] Update docs about fitting from CSR (#9818) 2023-11-29 05:42:41 +08:00
david-cortes be20df8c23 [Python] Accept numpy generators as random_state (#9743)
* accept numpy generators for random_state

* make linter happy

* fix tests
2023-11-01 16:20:44 -07:00
david-cortes d3f0646779 [R] Avoid modifying importance dt in-place, fix aggregation (#9740) 2023-11-01 05:10:59 +08:00
david-cortes 7f738e7f6f [R] Accept CSR data for predictions (#7615) 2022-01-30 00:54:57 +08:00
david-cortes 4f93e5586a Improve wording for warning (#7248)
This warning sounds  a bit ungrammatical. Additionally, the second part of the warning is not clear. This PR changes the wording to make it clearer.
2021-09-21 10:48:11 +08:00
david-cortes 61a619b5c3 [R] Avoid symbol naming conflicts with other packages (#7245)
* don't register all R symbols

* typo
2021-09-19 11:17:08 -07:00
david-cortes 4e1a8b1fe5 Update R handles in-place (#6903)
* update R handles in-place #fixes 6896

* update test to expect non-null handle

* remove unused variable

* fix failing tests

* solve linter complains
2021-04-29 12:50:46 -07:00