Jiaming Yuan
573f1c7db4
[backport] Fix monotone constraints on CPU. ( #9122 ) ( #9287 )
...
* [backport] Fix monotone constraints on CPU. (#9122 )
2023-06-11 17:51:25 +08:00
Jiaming Yuan and Philip Hyunsu Cho
abc80d2a6d
[backport] Improve doxygen ( #8959 ) ( #9284 )
...
* Remove Sphinx build from GH Action
* Build Doxygen as part of RTD build
* Add jQuery
Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu >
2023-06-11 13:22:23 +08:00
Jiaming Yuan and WeichenXu
e882fb3262
[backport] [spark] Make spark model have the same UID with its estimator ( #9022 ) ( #9285 )
...
Signed-off-by: Weichen Xu <weichen.xu@databricks.com >
Co-authored-by: WeichenXu <weichen.xu@databricks.com >
2023-06-11 13:18:23 +08:00
Jiaming Yuan
3218f6cd3c
[backport] Disable dense opt for distributed training. ( #9272 ) ( #9288 )
2023-06-11 11:08:45 +08:00
Jiaming Yuan
a962611de7
Disable SHAP test on 1.7 ( #9290 )
2023-06-11 02:13:36 +08:00
Jiaming Yuan
14476e8868
[backport] Fix tests with pandas 2.0. ( #9014 ) ( #9289 )
...
* Fix tests with pandas 2.0.
- `is_categorical` is replaced by `is_categorical_dtype`.
- one hot encoding returns boolean type instead of integer type.
2023-06-11 00:52:44 +08:00
Jiaming Yuan and Bobby Wang
03f3879b71
[backport] [doc] fix the cudf installation [skip ci] ( #9106 ) ( #9286 )
...
Co-authored-by: Bobby Wang <wbo4958@gmail.com >
2023-06-10 04:09:27 +08:00
Jiaming Yuan
21d95f3d8f
[backport] [doc][R] Update link. ( #8998 ) ( #9001 )
2023-03-30 20:02:31 +08:00
Jiaming Yuan
5cd4015d70
[backport] Fill column size. ( #8997 )
2023-03-30 15:21:42 +08:00
Jiaming Yuan
b8c6b86792
Bump version to 1.7.5. ( #8994 )
2023-03-29 21:41:10 +08:00
Jiaming Yuan and Philip Hyunsu Cho
1baebe231b
[backport] [CI] Fix Windows wheel to be compatible with Poetry ( #8991 ) ( #8992 )
...
* [CI] Fix Windows wheel to be compatible with Poetry
Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu >
2023-03-29 14:26:20 +08:00
Jiaming Yuan
365da0b8f4
[backport] [doc] Add missing document for pyspark ranker. ( #8692 ) ( #8990 )
2023-03-29 12:02:51 +08:00
Jiaming Yuan and Rong Ou
f5f03dfb61
[backport] Update dmlc-core to get C++17 deprecation warning ( #8855 ) ( #8982 )
...
Co-authored-by: Rong Ou <rong.ou@gmail.com >
2023-03-27 21:31:30 +08:00
Jiaming Yuan
a1c209182d
[backport] Update c++ requirement to 17 for the R package. ( #8860 ) ( #8983 )
2023-03-27 18:24:25 +08:00
Jiaming Yuan and Rory Mitchell
4be75d852c
[backport] Fix scope of feature set pointers ( #8850 ) ( #8972 )
...
---------
Co-authored-by: Rory Mitchell <r.a.mitchell.nz@gmail.com >
2023-03-27 00:33:08 +08:00
Jiaming Yuan and Philip Hyunsu Cho
ba50e6eb62
[backport] [CI] Require C++17 + CMake 3.18; Use CUDA 11.8 in CI ( #8853 ) ( #8971 )
...
Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu >
2023-03-26 00:10:03 +08:00
Jiaming Yuan
36ad160501
Bump version to 1.7.4. ( #8805 )
2023-02-16 06:40:01 +08:00
Jiaming Yuan
c22f6db4bf
[backport] Fix CPU bin compression with categorical data. ( #8809 ) ( #8810 )
...
* [backport] Fix CPU bin compression with categorical data. (#8809 )
* Fix CPU bin compression with categorical data.
* The bug causes the maximum category to be lesser than 256 or the maximum number of bins when
the input data is dense.
* Avoid test symbol.
2023-02-16 06:39:25 +08:00
Jiaming Yuan
f15a6d2b19
[backport] Fix ranking with quantile dmatrix and group weight. ( #8762 ) ( #8800 )
...
* [backport] Fix ranking with quantile dmatrix and group weight. (#8762 )
* backport test utilities.
2023-02-15 02:45:09 +08:00
Jiaming Yuan and WeichenXu
08a547f5c2
[backport] Fix feature types param ( #8772 ) ( #8801 )
...
Signed-off-by: Weichen Xu <weichen.xu@databricks.com >
Co-authored-by: WeichenXu <weichen.xu@databricks.com >
2023-02-15 01:39:20 +08:00
Jiaming Yuan
60303db2ee
[backport] Fix GPU L1 error. ( #8749 ) ( #8770 )
...
* [backport] Fix GPU L1 error. (#8749 )
* Fix backport.
2023-02-09 20:16:39 +08:00
Jiaming Yuan and Rory Mitchell
df984f9c43
[backport] Fix different number of features in gpu_hist evaluator. ( #8754 ) ( #8769 )
...
Co-authored-by: Rory Mitchell <r.a.mitchell.nz@gmail.com >
2023-02-09 18:31:49 +08:00
Jiaming Yuan
2f22f8d49b
[backport] Make sure input numpy array is aligned. ( #8690 ) ( #8696 ) ( #8734 )
...
* [backport] Make sure input numpy array is aligned. (#8690 )
- use `np.require` to specify that the alignment is required.
- scipy csr as well.
- validate input pointer in `ArrayInterface`.
* Workaround CUDA warning. (#8696 )
* backport from half type support for alignment.
* fix import.
2023-02-06 16:58:15 +08:00
Jiaming Yuan and James Lamb
68d86336d7
[backport] [R] fix OpenMP detection on macOS ( #8684 ) ( #8732 )
...
Co-authored-by: James Lamb <jaylamb20@gmail.com >
2023-01-29 12:43:10 +08:00
Jiaming Yuan
76bdca072a
[R] Fix threads used to create DMatrix in predict. ( #8681 ) ( #8682 )
2023-01-15 04:00:31 +08:00
Jiaming Yuan
021e6a842a
[backport] [R] Get CXX flags from R CMD config. ( #8669 ) ( #8680 )
2023-01-14 18:46:59 +08:00
Jiaming Yuan
e5bef4ffce
[backport] Fix threads in DMatrix slice. ( #8667 ) ( #8679 )
2023-01-14 18:46:04 +08:00
Jiaming Yuan
10bb0a74ef
[backport] [CI] Skip pyspark sparse tests. ( #8675 ) ( #8678 )
2023-01-14 06:40:17 +08:00
Jiaming Yuan
e803d06d8c
[backport] [R] Remove unused assert definition. ( #8526 ) ( #8668 )
2023-01-13 04:55:29 +08:00
Jiaming Yuan
ccf43d4ba0
Bump R package version to 1.7.3. ( #8649 )
2023-01-06 20:34:05 +08:00
Jiaming Yuan
dd58c2ac47
Bump version to 1.7.3. ( #8646 )
2023-01-06 17:55:51 +08:00
Jiaming Yuan
899e4c8988
[backport] Do not return internal value for get_params. ( #8634 ) ( #8642 )
2023-01-06 02:28:39 +08:00
Jiaming Yuan
a2085bf223
[backport] Fix loading GPU pickle with a CPU-only xgboost distribution. ( #8632 ) ( #8641 )
...
We can handle loading the pickle on a CPU-only machine if the XGBoost is built with CUDA
enabled (Linux and Windows PyPI package), but not if the distribution is CPU-only (macOS
PyPI package).
2023-01-06 02:28:21 +08:00
Jiaming Yuan
067b704e58
[backport] Fix inference with categorical feature. ( #8591 ) ( #8602 ) ( #8638 )
...
* Fix inference with categorical feature. (#8591 )
* Fix windows build on buildkite. (#8602 )
* workaround.
2023-01-06 01:17:49 +08:00
Jiaming Yuan
1a834b2b85
Fix linalg iterator. ( #8603 ) ( #8639 )
2023-01-05 23:16:10 +08:00
Jiaming Yuan and Philip Hyunsu Cho
162b48a1a4
[backport] [CI] Disable gtest with RMM ( #8620 ) ( #8640 )
...
Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu >
2023-01-05 23:13:45 +08:00
Jiaming Yuan and Rong Ou
83a078b7e5
[backport] Fix sklearn test that calls a removed field ( #8579 ) ( #8636 )
...
Co-authored-by: Rong Ou <rong.ou@gmail.com >
2023-01-05 21:17:05 +08:00
Jiaming Yuan
575fba651b
[backport] [CI] Fix CI with updated dependencies. ( #8631 ) ( #8635 )
2023-01-05 19:10:58 +08:00
Jiaming Yuan
62ed8b5fef
Bump release version to 1.7.2. ( #8569 )
2022-12-08 21:46:26 +08:00
Jiaming Yuan and Matthew Rocklin
a980e10744
Properly await async method client.wait_for_workers ( #8558 ) ( #8567 )
...
* Properly await async method client.wait_for_workers
* ignore mypy error.
Co-authored-by: jiamingy <jm.yuan@outlook.com >
Co-authored-by: Matthew Rocklin <mrocklin@gmail.com >
2022-12-07 23:25:05 +08:00
Jiaming Yuan and WeichenXu
59c54e361b
[pyspark] Make QDM optional based on cuDF check ( #8471 ) ( #8556 )
...
Co-authored-by: WeichenXu <weichen.xu@databricks.com >
2022-12-07 03:19:35 +08:00
Jiaming Yuan and Bobby Wang
60a8c8ebba
[pyspark] sort qid for SparkRanker ( #8497 ) ( #8555 )
...
* [pyspark] sort qid for SparkRandker
* resolve comments
Co-authored-by: Bobby Wang <wbo4958@gmail.com >
2022-12-07 02:07:37 +08:00
Jiaming Yuan
58bc225657
[backport] [CI] Fix github action mismatched glibcxx. ( #8551 ) ( #8552 )
...
Split up the Linux test to use the toolchain from conda forge.
2022-12-06 21:35:26 +08:00
Jiaming Yuan
850b53100f
[backport] [doc] Fix outdated document [skip ci] ( #8527 ) ( #8553 )
...
* [doc] Fix document around categorical parameters. [skip ci]
* note on validate parameter [skip ci]
* Fix dask doc as well [skip ci]
2022-12-06 18:21:14 +08:00
Jiaming Yuan
1136a7e0c3
Fix CRAN note on cleanup. ( #8447 )
2022-11-09 14:22:54 +08:00
Jiaming Yuan
a347cd512b
[backport] [R] Fix CRAN test notes. ( #8428 ) ( #8440 )
...
- Limit the number of used CPU cores in examples.
- Add a note for the constraint.
- Bring back the cleanup script.
2022-11-09 07:12:46 +08:00
Jiaming Yuan
9ff0c0832a
Fix 1.7.1 version file. ( #8427 )
2022-11-06 03:19:54 +08:00
Jiaming Yuan and Yizhi Liu
e43cd60c0e
[backport] Type fix for WebAssembly. ( #8369 ) ( #8394 )
...
Co-authored-by: Yizhi Liu <liuyizhi@apache.org >
2022-10-26 20:47:16 +08:00
Jiaming Yuan
3f92970a39
[backport] Fix CUDA async stream. ( #8380 ) ( #8392 )
2022-10-26 20:46:38 +08:00
Jiaming Yuan
e17f7010bf
[backport][doc] Cleanup outdated documents for GPU. [skip ci] ( #8378 ) ( #8393 )
2022-10-26 19:49:00 +08:00
Jiaming Yuan and Philip Hyunsu Cho
aa30ce10da
[backport][pyspark] Improve tutorial on enabling GPU support. ( #8385 ) [skip ci] ( #8391 )
...
- Quote the databricks doc on how to manage dependencies.
- Some wording changes.
Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu >
2022-10-26 19:31:34 +08:00
Jiaming Yuan
463313d9be
Remove cleanup script in R package. ( #8370 )
2022-10-20 14:22:13 +08:00
Jiaming Yuan
7cf58a2c65
Make 1.7.0rc1. ( #8365 )
2022-10-20 12:01:18 +08:00
Jiaming Yuan
28a466ab51
Fixes for R checks. ( #8330 )
...
- Bump configure.ac version.
- Remove amalgamation to reduce the build time for a single object with the added benefit that we can use parallel build during development.
- Fix c function prototype warning.
- Remove Windows automake file generation step to make the build script easier to understand.
2022-10-20 02:52:54 +08:00
Jiaming Yuan
c69af90319
Fix github action r tests. ( #8364 )
2022-10-20 01:07:18 +08:00
Jiaming Yuan
c884b9e888
Validate features for inplace predict. ( #8359 )
2022-10-19 23:05:36 +08:00
Jiaming Yuan
3901f5d9db
[pyspark] Cleanup data processing. ( #8344 )
...
* Enable additional combinations of ctor parameters.
* Unify procedures for QuantileDMatrix and DMatrix.
2022-10-18 14:56:23 +08:00
Jiaming Yuan
031d66ec27
Configuration for init estimation. ( #8343 )
...
* Configuration for init estimation.
* Check whether the model needs configuration based on const attribute `ModelFitted`
instead of a mutable state.
* Add parameter `boost_from_average` to tell whether the user has specified base score.
* Add tests.
2022-10-18 01:52:24 +08:00
Jiaming Yuan
2176e511fc
Disable pytest-timeout for now. ( #8348 )
2022-10-17 23:06:10 +08:00
Jiaming Yuan
fcddbc9264
FIx incorrect function name. ( #8346 )
2022-10-17 19:28:20 +08:00
Jiaming Yuan
748d516c50
[pyspark] Enable running GPU tests on variable number of GPUs. ( #8335 )
2022-10-13 21:03:45 +08:00
Jiaming Yuan
4633b476e9
[doc] Display survival demos in sphinx doc. [skip ci] ( #8328 )
2022-10-13 20:51:23 +08:00
Jiaming Yuan
3ef1703553
Allow using string view to find JSON value. ( #8332 )
...
- Allow comparison between string and string view.
- Fix compiler warnings.
2022-10-13 17:10:13 +08:00
Jiaming Yuan
97a5b088a5
[pyspark] Use quantile dmatrix. ( #8284 )
2022-10-12 20:38:53 +08:00
Jiaming Yuan
c68684ff4c
Update parameter for categorical feature. ( #8285 )
2022-10-10 19:48:29 +08:00
Jiaming Yuan
5545c49cfc
Require keyword args for data iterator. ( #8327 )
2022-10-10 17:47:13 +08:00
Jiaming Yuan
e1f9f80df2
Use gpu predictor for get csr test. ( #8323 )
2022-10-10 16:12:37 +08:00
Jiaming Yuan
e47b3a3da3
Upgrade mypy. ( #8302 )
...
Some breaking changes were made in mypy.
2022-10-05 14:31:59 +08:00
Jiaming Yuan
97c3a80a34
Add C document to sphinx, fix arrow. ( #8300 )
...
- Group C API.
- Add C API sphinx doc.
- Consistent use of `OptionalArg` and the parameter name `config`.
- Remove call to deprecated functions in demo.
- Fix some formatting errors.
- Add links to c examples in the document (only visible with doxygen pages)
- Fix arrow.
2022-10-05 09:52:15 +08:00
Jiaming Yuan
299e5000a4
Fix buildkite label. ( #8287 )
2022-09-29 17:33:19 -07:00
Jiaming Yuan
55cf24cc32
Obtain CSR matrix from DMatrix. ( #8269 )
2022-09-29 20:41:43 +08:00
Jiaming Yuan
6925b222e0
Fix mixed types with cuDF. ( #8280 )
2022-09-29 00:57:52 +08:00
Jiaming Yuan
f835368bcf
Mark next release as 1.7 instead of 2.0 ( #8281 )
2022-09-28 14:33:37 +08:00
Jiaming Yuan and Hyunsu Philip Cho
6d1452074a
Remove MGPU cpp tests. ( #8276 )
...
Co-authored-by: Hyunsu Philip Cho <chohyu01@cs.washington.edu >
2022-09-27 21:18:23 +08:00
Jiaming Yuan
fcab51aa82
Support more pandas nullable types ( #8262 )
...
- Float32/64
- Category.
2022-09-27 01:59:50 +08:00
Jiaming Yuan
4056974e37
Fix sparse threshold warning. ( #8268 )
2022-09-26 22:22:11 +08:00
Jiaming Yuan
0cd11b893a
[doc] Fix sphinx build. ( #8270 )
2022-09-26 12:33:31 +08:00
Jiaming Yuan
3fd331f8f2
Add checks to C pointer arguments. ( #8254 )
2022-09-22 19:02:22 +08:00
Jiaming Yuan
b791446623
Initial support for IPv6 ( #8225 )
...
- Merge rabit socket into XGBoost.
- Dask interface support.
- Add test to the socket.
2022-09-21 18:06:50 +08:00
Jiaming Yuan
fffb1fca52
Calculate base_score based on input labels for mae. ( #8107 )
...
Fit an intercept as base score for abs loss.
2022-09-20 20:53:54 +08:00
Jiaming Yuan
2e63af6117
Mitigate flaky data iter test. ( #8244 )
...
- Reduce the number of batches.
- Verify labels.
2022-09-14 17:54:14 +08:00
Jiaming Yuan
bdf265076d
Make QuantileDMatrix default to sklearn esitmators. ( #8220 )
2022-09-13 13:52:19 +08:00
Jiaming Yuan
bc818316f2
Prepare for improving Windows networking compatibility. ( #8234 )
...
* Prepare for improving Windows networking compatibility.
* Include dmlc filesystem indirectly as dmlc/filesystem.h includes windows.h, which
conflicts with winsock2.h
* Define `NOMINMAX` conditionally.
* Link the winsock library when mysys32 is used.
* Add config file for read the doc.
2022-09-10 15:16:49 +08:00
Jiaming Yuan
dd44ac91b8
[CI] Use binary R dependencies on Windows. ( #8241 )
2022-09-09 19:51:15 -07:00
Jiaming Yuan
b5eb36f1af
Add max_cat_threshold to GPU and handle missing cat values. ( #8212 )
2022-09-07 00:57:51 +08:00
Jiaming Yuan
441ffc017a
Copy data from Ellpack to GHist. ( #8215 )
2022-09-06 23:05:49 +08:00
Jiaming Yuan
ada4a86d1c
Fix dask interface with latest cupy. ( #8210 )
2022-09-03 03:10:43 +08:00
Jiaming Yuan
8dac90a593
Mark parameter validation non-experimental. ( #8206 )
2022-08-30 15:49:43 +08:00
Jiaming Yuan
9b32e6e2dc
Fix release script. ( #8187 ) ( #8195 )
2022-08-23 15:08:30 +08:00
Jiaming Yuan
16bca5d4a1
Support CPU input for device QuantileDMatrix. ( #8136 )
...
- Copy `GHistIndexMatrix` to `Ellpack` when needed.
2022-08-11 21:21:26 +08:00
Jiaming Yuan
36e7c5364d
[dask] Deterministic rank assignment. ( #8018 )
2022-08-11 19:17:58 +08:00
Jiaming Yuan
d868126c39
[CI] Fix R build on Jenkins. ( #8154 )
2022-08-11 14:50:03 +08:00
Jiaming Yuan
570f8ae4ba
Use black on more Python files. ( #8137 )
2022-08-11 01:38:11 +08:00
Jiaming Yuan
bdb291f1c2
[doc] Clarification for feature importance. ( #8151 )
2022-08-11 00:30:42 +08:00
Jiaming Yuan
446d536c23
Fix loading DMatrix binary in distributed env. ( #8149 )
...
- Try to load DMatrix binary before trying to parse text input.
- Remove some unmaintained code.
2022-08-10 22:53:16 +08:00
Jiaming Yuan
8fc60b31bc
Update PyPi wheel size limit. ( #8150 )
2022-08-10 18:49:57 +08:00
Jiaming Yuan
9ae547f994
Use config_context in sklearn interface. ( #8141 )
2022-08-09 14:48:54 +08:00
Jiaming Yuan
bcc8679a05
Update CUDA docker image and NCCL. ( #8139 )
2022-08-07 16:32:41 +08:00
Jiaming Yuan
d87f69215e
Quantile DMatrix for CPU. ( #8130 )
...
- Add a new `QuantileDMatrix` that works for both CPU and GPU.
- Deprecate `DeviceQuantileDMatrix`.
2022-08-02 15:51:23 +08:00
Jiaming Yuan
2cba1d9fcc
Fix compatibility with latest cupy. ( #8129 )
...
* Fix compatibility with latest cupy.
* Freeze mypy.
2022-08-01 15:24:42 +08:00