Philip Hyunsu Cho
cd0821500c
Add Saturn Cloud Dask XGBoost tutorial to Awesome XGBoost [skip ci] ( #6532 )
2020-12-19 15:57:05 -08:00
Philip Hyunsu Cho
380f6f4ab8
Remove cupy.array_equal, since it's not compatible with cuPy 7.8 ( #6528 )
2020-12-18 09:16:52 -08:00
Jiaming Yuan
ca3da55de4
Support early stopping with training continuation, correct num boosted rounds. ( #6506 )
...
* Implement early stopping with training continuation.
* Add new C API for obtaining boosted rounds.
* Fix off by 1 in `save_best`.
Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>
2020-12-17 19:59:19 +08:00
Philip Hyunsu Cho
125b3c0f2d
Lazy import cuDF and Dask ( #6522 )
...
* Lazy import cuDF
* Lazy import Dask
Co-authored-by: PSEUDOTENSOR / Jonathan McKinney <pseudotensor@gmail.com>
* Fix lint
Co-authored-by: PSEUDOTENSOR / Jonathan McKinney <pseudotensor@gmail.com>
2020-12-17 01:51:35 -08:00
Philip Hyunsu Cho
ad1a527709
Enable loading model from <1.0.0 trained with objective='binary:logitraw' ( #6517 )
...
* Enable loading model from <1.0.0 trained with objective='binary:logitraw'
* Add binary:logitraw in model compatibility testing suite
* Feedback from @trivialfis: Override ProbToMargin() for LogisticRaw
Co-authored-by: Jiaming Yuan <jm.yuan@outlook.com>
2020-12-16 16:53:46 -08:00
Philip Hyunsu Cho
bf6cfe3b99
[Breaking] Upgrade cuDF and RMM to 0.18 nightlies; require RMM 0.18+ for RMM plugin ( #6510 )
...
* [CI] Upgrade cuDF and RMM to 0.18 nightlies
* Modify RMM plugin to be compatible with RMM 0.18
* Update src/common/device_helpers.cuh
Co-authored-by: Mark Harris <mharris@nvidia.com>
Co-authored-by: Mark Harris <mharris@nvidia.com>
2020-12-16 10:07:52 -08:00
Jiaming Yuan
d8d684538c
[CI] Split up main.yml, add mypy. ( #6515 )
2020-12-17 00:15:44 +08:00
Jiaming Yuan
c5876277a8
Drop saving binary format for memory snapshot. ( #6513 )
2020-12-17 00:14:57 +08:00
Jiaming Yuan
0e97d97d50
Fix merge conflict. ( #6512 )
2020-12-16 18:02:25 +08:00
hzy001
749364f25d
Update the C API comments ( #6457 )
...
Signed-off-by: Hao Ziyu <haoziyu@qiyi.com>
Co-authored-by: Hao Ziyu <haoziyu@qiyi.com>
2020-12-16 14:56:13 +08:00
Jiaming Yuan
347f593169
Accept numpy array for DMatrix slice index. ( #6368 )
2020-12-16 14:42:52 +08:00
Jiaming Yuan
ef4a0e0aac
Fix DMatrix feature names/types IO. ( #6507 )
...
* Fix feature names/types IO
Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>
2020-12-16 14:24:27 +08:00
Jiaming Yuan
886486a519
Support categorical data in GPU weighted sketching. ( #6508 )
2020-12-16 14:23:28 +08:00
Igor Rukhovich
5c8ccf4455
Improved InitSampling function speed by 2.12 times ( #6410 )
...
* Improved InitSampling function speed by 2.12 times
* Added explicit conversion
2020-12-15 20:59:24 -08:00
Jiaming Yuan
3c3f026ec1
Move metric configuration into booster. ( #6504 )
2020-12-16 05:35:04 +08:00
Jiaming Yuan
d45c0d843b
Show partition status in dask error. ( #6366 )
2020-12-16 02:58:21 +08:00
James Lamb
1e2c3ade9e
[doc] [dask] Add example on early stopping with Dask ( #6501 )
...
Co-authored-by: fis <jm.yuan@outlook.com>
2020-12-15 22:23:23 +08:00
ShvetsKS
8139849ab6
Fix handling of print period in EvaluationMonitor ( #6499 )
...
Co-authored-by: Kirill Shvets <kirill.shvets@intel.com>
2020-12-15 19:20:19 +08:00
Philip Hyunsu Cho
9a194273cd
Add conda-forge badge ( #6502 )
2020-12-14 18:58:03 -08:00
Philip Hyunsu Cho
aac4eba2ef
Add release note for 1.3.0 in NEWS.md ( #6495 )
...
* Add release note for 1.3.0
* Address reviewer's comment
* Fix silly mistake
* Apply suggestions from code review
Co-authored-by: John Zedlewski <904524+JohnZed@users.noreply.github.com>
Co-authored-by: John Zedlewski <904524+JohnZed@users.noreply.github.com>
2020-12-14 14:42:30 -08:00
James Lamb
afc4567268
[doc] [dask] fix partitioning in Dask example ( #6389 )
2020-12-14 18:37:49 +08:00
Jiaming Yuan
a30461cf87
[dask] Support all parameters in regressor and classifier. ( #6471 )
...
* Add eval_metric.
* Add callback.
* Add feature weights.
* Add custom objective.
2020-12-14 07:35:56 +08:00
Philip Hyunsu Cho
c31e3efa7c
Pass correct split_type to GPU predictor ( #6491 )
...
* Pass correct split_type to GPU predictor
* Add a test
2020-12-11 19:30:00 -08:00
Philip Hyunsu Cho
0d483cb7c1
Bump version to 1.4.0 snapshot in master ( #6486 )
2020-12-10 07:38:08 -08:00
Philip Hyunsu Cho
b8044e6136
[CI] Use manylinux2010_x86_64 container to vendor libgomp ( #6485 )
2020-12-10 07:37:15 -08:00
Jiaming Yuan
0ffaf0f5be
Fix dask ip resolution. ( #6475 )
...
This adopts the solution used in dask/dask-xgboost#40 which employs the get_host_ip from dmlc-core tracker.
2020-12-07 16:36:23 -08:00
Jiaming Yuan
47b86180f6
Don't validate feature when number of rows is 0. ( #6472 )
2020-12-07 18:08:51 +08:00
Philip Hyunsu Cho
55bdf084cb
[Doc] Document that AUC and AUCPR are for binary classification/ranking [skip ci] ( #5899 )
2020-12-06 22:17:20 -08:00
Jiaming Yuan
703c2d06aa
Fix global config default value. ( #6470 )
2020-12-06 06:15:33 +08:00
Jiaming Yuan
d6386e45e8
Fix filtering callable objects in skl xgb param. ( #6466 )
...
Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>
2020-12-05 17:20:36 +08:00
Philip Hyunsu Cho
05e5563c2c
[CI] Fix CentOS 6 Docker images ( #6467 )
2020-12-04 21:33:11 -08:00
Philip Hyunsu Cho
84b726ef53
Vendor libgomp in the manylinux Python wheel ( #6461 )
...
* Vendor libgomp in the manylinux2014_aarch64 wheel
* Use vault repo, since CentOS 6 has reached End-of-Life on Nov 30
* Vendor libgomp in the manylinux2010_x86_64 wheel
* Run verification step inside the container
2020-12-03 19:55:32 -08:00
Philip Hyunsu Cho
c103ec51d8
Enforce row-major order in cuPy array ( #6459 )
2020-12-03 18:29:10 -08:00
Philip Hyunsu Cho
4f70e14031
Fix docstring of config.py to use correct versionadded ( #6458 )
2020-12-03 10:41:53 -08:00
Philip Hyunsu Cho
fb56da5e8b
Add global configuration ( #6414 )
...
* Add management functions for global configuration: XGBSetGlobalConfig(), XGBGetGlobalConfig().
* Add Python interface: set_config(), get_config(), and config_context().
* Add unit tests for Python
* Add R interface: xgb.set.config(), xgb.get.config()
* Add unit tests for R
Co-authored-by: Jiaming Yuan <jm.yuan@outlook.com>
2020-12-03 00:05:18 -08:00
hzy001
c2ba4fb957
Fix broken links. ( #6455 )
...
Co-authored-by: Hao Ziyu <haoziyu@qiyi.com>
Co-authored-by: fis <jm.yuan@outlook.com>
2020-12-02 17:39:12 +08:00
Jiaming Yuan
927c316aeb
Fix period in evaluation monitor. ( #6441 )
2020-11-29 03:18:33 +08:00
Jiaming Yuan
f4ff1c53fd
Fix CLI ranking demo. ( #6439 )
...
Save model at final round.
2020-11-29 03:12:06 +08:00
Honza Sterba
b0036b339b
Optionaly fail when gpu_id is set to invalid value ( #6342 )
2020-11-28 15:14:12 +08:00
ShvetsKS
956beead70
Thread local memory allocation for BuildHist ( #6358 )
...
* thread mem locality
* fix apply
* cleanup
* fix lint
* fix tests
* simple try
* fix
* fix
* apply comments
* fix comments
* fix
* apply simple comment
Co-authored-by: ShvetsKS <kirill.shvets@intel.com>
2020-11-25 17:50:12 +03:00
Philip Hyunsu Cho
4dbbeb635d
[CI] Upgrade cuDF and RMM to 0.17 nightlies ( #6434 )
2020-11-24 13:21:41 -08:00
Philip Hyunsu Cho
0c85b90671
[R] Fix R package installation via CMake ( #6423 )
2020-11-22 05:49:09 -08:00
Jiaming Yuan
42d31d9dcb
Fix MPI build. ( #6403 )
2020-11-21 13:38:21 +08:00
Jiaming Yuan
2ce2a1a4d8
[SKL] Propagate parameters to booster during set_param. ( #6416 )
2020-11-20 20:37:35 +08:00
zhang_jf
cc581b3b6b
Misleading exception information: no such param of "allow_non_zero_missing" ( #6418 )
2020-11-20 19:33:34 +08:00
Jiaming Yuan
00218d065a
[dask] Update document. [skip ci] ( #6413 )
2020-11-20 19:16:19 +08:00
Jiaming Yuan
c120822a24
Fix flaky sparse page dmatrix test. ( #6417 )
2020-11-20 19:15:45 +08:00
Jiaming Yuan
a7b42adb74
Fix dask predict ( #6412 )
2020-11-20 10:10:52 +08:00
Jiaming Yuan
44a9d69efb
Small cleanup to evaluator. ( #6400 )
2020-11-20 09:33:51 +08:00
Philip Hyunsu Cho
9c9070aea2
Use pytest conventions consistently ( #6337 )
...
* Do not derive from unittest.TestCase (not needed for pytest)
* assertRaises -> pytest.raises
* Simplify test_empty_dmatrix with test parametrization
* setUpClass -> setup_class, tearDownClass -> teardown_class
* Don't import unittest; import pytest
* Use plain assert
* Use parametrized tests in more places
* Fix test_gpu_with_sklearn.py
* Put back run_empty_dmatrix_reg / run_empty_dmatrix_cls
* Fix test_eta_decay_gpu_hist
* Add parametrized tests for monotone constraints
* Fix test names
* Remove test parametrization
* Revise test_slice to be not flaky
2020-11-19 17:00:15 -08:00