Jiaming Yuan
0d3da9869c
Require isort on all Python files. ( #8420 )
2022-11-08 12:59:06 +08:00
James Lamb
bf8de227a9
[CI] remove unused import in python tests ( #8409 )
2022-11-03 22:27:25 +08:00
James Lamb
b1b2524dbb
add files from python tests to .gitignore ( #8410 )
2022-11-03 07:57:45 +08:00
Rong Ou
99fa8dad2d
Add back xgboost.rabit for backwards compatibility ( #8408 )
...
* Add back xgboost.rabit for backwards compatibility
* fix my errors
* Fix lint
* Use FutureWarning
Co-authored-by: Hyunsu Philip Cho <chohyu01@cs.washington.edu>
2022-11-01 21:47:41 -07:00
Philip Hyunsu Cho
0db903b471
Fix formatting in NEWS.md [skip ci]
2022-10-31 15:42:31 -07:00
Jiaming Yuan
917cbc0699
1.7 release note. [skip ci] ( #8374 )
...
* Draft for 1.7 release note. [skip ci]
* Wording [skip ci]
* Update with backports [skip ci]
* Apply suggestions from code review [skip ci]
* Apply suggestions from code review [skip ci]
Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>
* Update NEWS.md [skip ci]
Co-authored-by: Rory Mitchell <r.a.mitchell.nz@gmail.com>
Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>
Co-authored-by: Rory Mitchell <r.a.mitchell.nz@gmail.com>
2022-10-31 09:32:33 -07:00
Jiaming Yuan
2ed3c29c8a
[CI] Cleanup github action tests. ( #8397 )
...
- Merge doxygen build with sphinx.
- Use mamba on non-windows Github Action.
2022-10-29 06:04:27 +08:00
Joyce
7174d60ed2
Fix Scorecard Github Action not working ( #8402 )
...
* chore: create security policy
Signed-off-by: Joyce Brum <joycebrumu.u@gmail.com>
* chore: only latest release on security police
Signed-off-by: Joyce Brum <joycebrumu.u@gmail.com>
* chore: security policy support on effort base
Signed-off-by: Joyce Brum <joycebrumu.u@gmail.com>
* Use dedicated e-mail address for security reporting
* fix: upgrade scorecard action version
Signed-off-by: Joyce Brum <joycebrum@google.com>
Signed-off-by: Joyce Brum <joycebrumu.u@gmail.com>
Signed-off-by: Joyce Brum <joycebrum@google.com>
Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>
2022-10-28 16:25:43 -04:00
Jiaming Yuan
a408c34558
Update JSON parser demo with categorical feature. ( #8401 )
...
- Parse categorical features in the Python example.
- Add tests.
- Update document.
2022-10-28 20:57:43 +08:00
Jiaming Yuan
cfd2a9f872
Extract dask and spark test into distributed test. ( #8395 )
...
- Move test files.
- Run spark and dask separately to prevent conflicts.
- Gather common code into the testing module.
2022-10-28 16:24:32 +08:00
Jiaming Yuan
f73520bfff
Bump development version to 2.0. ( #8390 )
2022-10-28 15:21:19 +08:00
Christian Clauss
ae27e228c4
xrange() was removed in Python 3 in favor or range() ( #8371 )
2022-10-27 16:36:14 +08:00
Yizhi Liu
5699f60a88
Type fix for WebAssembly: use bst_ulong instead of size_t for ncol in CSR conversion. ( #8369 )
2022-10-26 19:21:45 +08:00
Jiaming Yuan
a2593e60bf
Speedup R test on github. ( #8388 )
2022-10-26 18:02:27 +08:00
Jiaming Yuan
786aa27134
[doc] Additional notes for release [skip ci] ( #8367 )
2022-10-26 17:55:15 +08:00
Jiaming Yuan
cf70864fa3
Move Python testing utilities into xgboost module. ( #8379 )
...
- Add typehints.
- Fixes for pylint.
Co-authored-by: Hyunsu Philip Cho <chohyu01@cs.washington.edu>
2022-10-26 16:56:11 +08:00
Jiaming Yuan
7e53189e7c
[pyspark] Improve tutorial on enabling GPU support. ( #8385 )
...
- 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 15:45:54 +08:00
Thomas Stanley
ba9cc43464
Fix acronym ( #8386 )
2022-10-26 06:22:30 +08:00
Philip Hyunsu Cho
8bb55949ef
Fix building XGBoost with libomp 15 ( #8384 )
2022-10-25 12:01:11 -07:00
Jiaming Yuan
d0b99bdd95
[pyspark] Add type hint to basic utilities. ( #8375 )
2022-10-25 17:26:25 +08:00
Jiaming Yuan
1d2f6de573
remove travis status [skip ci] ( #8382 )
2022-10-24 14:37:33 +08:00
Jiaming Yuan
a3b8bca46a
Remove travis configuration file. [skip ci] ( #8381 )
2022-10-23 02:49:29 +08:00
Jiaming Yuan
bb5e18c29c
Fix CUDA async stream. ( #8380 )
2022-10-22 23:13:28 +08:00
Christian Clauss
5761f27e5e
Use ==/!= to compare constant literals (str, bytes, int, float, tuple) ( #8372 )
2022-10-22 21:53:03 +08:00
Jiaming Yuan
99467f3999
[doc] Cleanup outdated documents for GPU. [skip ci] ( #8378 )
2022-10-21 20:13:31 +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
Dmitry Razdoburdin
5bd849f1b5
Unify the partitioner for hist and approx.
...
Co-authored-by: dmitry.razdoburdin <drazdobu@jfldaal005.jf.intel.com>
Co-authored-by: jiamingy <jm.yuan@outlook.com>
2022-10-20 02:49:20 +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
Joyce
52977f0cdf
Create Security Police ( #8360 )
...
* chore: create security policy
Signed-off-by: Joyce Brum <joycebrumu.u@gmail.com>
* chore: only latest release on security police
Signed-off-by: Joyce Brum <joycebrumu.u@gmail.com>
* chore: security policy support on effort base
Signed-off-by: Joyce Brum <joycebrumu.u@gmail.com>
* Use dedicated e-mail address for security reporting
Signed-off-by: Joyce Brum <joycebrumu.u@gmail.com>
Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>
2022-10-18 17:15:30 -07:00
luca-s
c47c71e34f
XGBRanker documentation: few clarifications ( #8356 )
2022-10-19 01:54:14 +08:00
Bobby Wang
76f95a6667
[pyspark] Filter out the unsupported train parameters ( #8355 )
2022-10-18 23:26:02 +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
Rong Ou
521086d56b
Make federated client more robust ( #8351 )
2022-10-18 13:52:44 +08:00
luca-s
5647fc6542
XGBRanker documentation: missing default objective ( #8347 )
2022-10-18 10:43:29 +08:00
Rong Ou
8f3dee58be
Speed up tests with federated learning enabled ( #8350 )
...
* Speed up tests with federated learning enabled
* Re-enable timeouts
Co-authored-by: Hyunsu Philip Cho <chohyu01@cs.washington.edu>
2022-10-17 15:17:04 -07: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
Rong Ou
80e10e02ab
Avoid blank lines with federated training ( #8342 )
2022-10-14 14:55:01 +08:00
Rong Ou
b3208aac4e
Fix NVFLARE demo ( #8340 )
2022-10-14 12:18:34 +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
Philip Hyunsu Cho
29595102b9
[CI] Set up test analytics for CPU Python tests ( #8333 )
...
* [CI] Set up test analytics for CPU Python tests
* Install test collector
2022-10-12 23:15:50 -07:00
Philip Hyunsu Cho
2faa744aba
[CI] Test federated learning plugin in the CI ( #8325 )
2022-10-12 13:57:39 -07:00
Jiaming Yuan
97a5b088a5
[pyspark] Use quantile dmatrix. ( #8284 )
2022-10-12 20:38:53 +08:00
Rory Mitchell
ce0382dcb0
[CI] Refactor tests to reduce CI time. ( #8312 )
2022-10-12 11:32:06 +02:00
Rong Ou
39afdac3be
Better error message when world size and rank are set as strings ( #8316 )
...
Co-authored-by: jiamingy <jm.yuan@outlook.com>
2022-10-12 15:53:25 +08:00
Rory Mitchell
210915c985
Use integer gradients in gpu_hist split evaluation ( #8274 )
2022-10-11 12:16:27 +02:00