Commit Graph

6721 Commits

Author SHA1 Message Date
Jiaming Yuan
0798e36d73 [breaking] Remove deprecated parameters in the skl interface. (#9986) 2024-01-15 20:40:05 +08:00
greydoubt
2de85d3241 [doc] slight cleanup (#9988) 2024-01-15 19:09:20 +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
Philip Hyunsu Cho
1168a68872 [jvm-packages] Update release scripts (#9983)
* [jvm-packages] Add Scala version suffix to xgboost-jvm package (#9776)

* Update JVM script (#9714)

* Revamp pom.xml

* Update instructions in prepare_jvm_release.py

* Fix formatting

* [jvm-packages] Fix POM for xgboost-jvm metapackage (#9893)

* [jvm-packages] Fix POM for xgboost-jvm metapackage

* Add script for updating the Scala version

* Update change_scala_version.py to also change scala.version property (#9897)

* Remove 'release-cpu-only' profile

* Remove scala-2.13 profile; enable gpu package for Scala 2.13
2024-01-12 10:37:55 -08:00
Bobby Wang
f88c43801f [jvm-packages] update rapids dep to 23.12.1 (#9951)
With this PR, XGBoost GPU can support scala 2.13
2024-01-11 14:04:32 -08:00
rpopescu
73b3955dd4 Fix FieldEntry ctor specialisation syntax error (#9980)
Co-authored-by: Radu Popescu <radu.popescu@aptportfolio.com>
2024-01-11 12:10:21 +08:00
david-cortes
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
Jiaming Yuan
01c4711556 Check __cuda_array_interface__ instead of cupy class. (#9971)
* Now XGBoost can directly consume CUDA data from torch.
2024-01-09 19:59:01 +08:00
Jiaming Yuan
2f57bbde3c Additional tests for attributes and model booosted rounds. (#9962) 2024-01-09 09:54:39 +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
Jiaming Yuan
b3eb5d0945 Use UBJ in Python checkpoint. (#9958) 2024-01-09 03:22:15 +08:00
Jiaming Yuan
fa5e2f6c45 Synthesize the AMES housing dataset for tests. (#9963) 2024-01-09 00:54:23 +08:00
Jiaming Yuan
9a30bdd313 Test loading models with invalid file extensions. (#9955) 2024-01-08 19:26:24 +08:00
Bobby Wang
3ff3a5f1ed [jvm-packages] support jdk 17 for test (#9959) 2024-01-08 17:30:49 +08:00
Jiaming Yuan
3976455af9 [jvm-packages] Use UBJ for checkpoints. (#9954) 2024-01-08 13:26:12 +08:00
Jiaming Yuan
38dd91f491 Save model in ubj as the default. (#9947) 2024-01-05 17:53:36 +08:00
Jiaming Yuan
c03a4d5088 Check support status for categorical features. (#9946) 2024-01-04 16:51:33 +08:00
david-cortes
db396ee340 [R] make sure output fits into int32 (#9949) 2024-01-04 16:51:22 +08:00
Jiaming Yuan
621348abb3 Fix multi-output with alternating strategies. (#9933)
---------

Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>
2024-01-04 16:41:13 +08:00
Jiaming Yuan
5f7b5a6921 Add tests for pickling with custom obj and metric. (#9943) 2024-01-04 14:52:48 +08:00
Jiaming Yuan
26a5436a65 [doc] Describe feature info behavior. [skip ci] (#9866) 2024-01-04 14:52:19 +08:00
Jiaming Yuan
9f73127a23 Cleanup Python GPU tests. (#9934)
* Cleanup Python GPU tests.

- Remove the use of `gpu_hist` and `gpu_id` in cudf/cupy tests.
- Move base margin test into the testing directory.
2024-01-04 13:15:18 +08:00
david-cortes
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
Philip Hyunsu Cho
ef8bdaa047 [CI] Update machine images (#9932) 2023-12-29 11:15:38 -08:00
Jiaming Yuan
a7226c0222 Fix feature names with special characters. (#9923) 2023-12-28 22:45:13 +08:00
david-cortes
a197899161 [R] avoid leaking exception objects (#9916) 2023-12-26 20:29:55 +08:00
Michael Mayer
52620fdb34 [R] Improve more docstrings (#9919) 2023-12-26 17:30:13 +08:00
Jiaming Yuan
6a5f6ba694 [CI] Add timeout for distributed GPU tests. (#9917) 2023-12-24 00:09:05 +08:00
Michael Mayer
b807f3e30c [R] improve docstrings for "xgb.Booster.R" (#9906) 2023-12-21 10:01:30 +08:00
david-cortes
252e018275 correct name of function in header (#9905) 2023-12-20 10:52:00 +08:00
Jiaming Yuan
9d122293bc [doc] Fix typo. [skip ci] (#9904) 2023-12-20 09:17: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
Jiaming Yuan
0edd600f3d [doc] Brief introduction to base_score. (#9882) 2023-12-17 13:34:34 +08:00
david-cortes
db7f952ed6 update docs for parameters (#9900) 2023-12-16 12:19:22 +08:00
Dmitry Razdoburdin
2a6ab2547d SYCL inference optimization (#9876)
---------

Co-authored-by: Dmitry Razdoburdin <>
2023-12-15 11:04:39 +08:00
Jiaming Yuan
1c6e031c75 [R] Fix clang warning. (#9874) 2023-12-15 01:30:43 +08:00
Jiaming Yuan
125bc812f8 [doc] Reference enable_categorical doc in sklearn. (#9884) 2023-12-14 23:29:19 +08:00
Jiaming Yuan
1aa8c8d9be Support more scipy types. (#9881) 2023-12-14 18:28:37 +08:00
david-cortes
cd473c9da3 [R] enable multi-dimensional base_margin (#9885) 2023-12-14 09:16:53 +08:00
Philip Hyunsu Cho
936b22fdf3 [CI] Upload libxgboost4j.dylib (M1) to S3 bucket (#9886)
* [CI] Upload libxgboost4j.dylib (M1) to S3 bucket

* Fix typo
2023-12-13 15:25:51 -08:00
david-cortes
42173d7bc3 [doc] Clarify the effect of enable_categorical (#9877) 2023-12-13 08:39:41 +08:00
github-actions[bot]
d530d37707 [CI] Update RAPIDS to latest stable (#9857) 2023-12-12 22:58:03 +09:00