Philip Hyunsu Cho
5b76acccff
Add back xgboost.rabit for backwards compatibility ( #8408 ) ( #8411 )
2022-11-02 07:56:55 -07:00
Rong Ou
668b8a0ea4
[Breaking] Switch from rabit to the collective communicator ( #8257 )
...
* Switch from rabit to the collective communicator
* fix size_t specialization
* really fix size_t
* try again
* add include
* more include
* fix lint errors
* remove rabit includes
* fix pylint error
* return dict from communicator context
* fix communicator shutdown
* fix dask test
* reset communicator mocklist
* fix distributed tests
* do not save device communicator
* fix jvm gpu tests
* add python test for federated communicator
* Update gputreeshap submodule
Co-authored-by: Hyunsu Philip Cho <chohyu01@cs.washington.edu >
2022-10-05 14:39:01 -08:00
Rong Ou
77d4a53c32
use RabitContext intead of init/finalize ( #7911 )
2022-05-17 12:15:41 +08:00
Rong Ou
af907e2d0d
Demo of federated learning using NVFlare ( #7879 )
...
Co-authored-by: jiamingy <jm.yuan@outlook.com >
2022-05-14 22:45:41 +08:00
Jiaming Yuan
f0f76259c9
Remove STRING_TYPES. ( #7827 )
2022-04-22 19:07:51 +08:00
Jiaming Yuan
f08c5dcb06
Cleanup some pylint errors. ( #7667 )
...
* Cleanup some pylint errors.
* Cleanup pylint errors in rabit modules.
* Make data iter an abstract class and cleanup private access.
* Cleanup no-self-use for booster.
2022-02-19 18:53:12 +08:00
Kian Meng Ang
d27a11ff87
Fix typos in python package ( #7432 )
2021-11-14 17:20:19 +08:00
Jiaming Yuan
e48e05e6e2
Add typehint to rabit module. ( #7240 )
2021-09-17 18:31:02 +08:00
Jiaming Yuan
b18f5f61b0
Fix pylint ( #7241 )
2021-09-17 11:50:36 +08:00
Jiaming Yuan
7bc56fa0ed
Use simple print in tracker print function. ( #6609 )
2021-01-21 21:15:43 +08:00
Jiaming Yuan
b180223d18
Cleanup RABIT. ( #6290 )
...
* Remove recovery and MPI speed tests.
* Remove readme.
* Remove Python binding.
* Add checks in C API.
2020-10-27 08:48:22 +08:00
Jiaming Yuan
d61b628bf5
Remove RABIT CMake targets. ( #6275 )
...
* Now it's built as part of libxgboost.
* Set correct C API error in RABIT initialization and finalization.
* Remove redundant message.
* Guard the tracker print C API.
2020-10-27 01:30:20 +08:00
Jiaming Yuan
e49607af19
Add Python binding for rabit ops. ( #5743 )
2020-06-02 19:47:23 +08:00
Jiaming Yuan
6848d0426f
Clean up Python 2 compatibility code. ( #5161 )
2019-12-27 18:34:53 +08:00
AbdealiJK
6f16f0ef58
Use bst_float consistently throughout ( #1824 )
...
* Fix various typos
* Add override to functions that are overridden
gcc gives warnings about functions that are being overridden by not
being marked as oveirridden. This fixes it.
* Use bst_float consistently
Use bst_float for all the variables that involve weight,
leaf value, gradient, hessian, gain, loss_chg, predictions,
base_margin, feature values.
In some cases, when due to additions and so on the value can
take a larger value, double is used.
This ensures that type conversions are minimal and reduces loss of
precision.
2016-11-30 10:02:10 -08:00
Nan Zhu
5217e53156
stylistic fix ( #1789 )
...
* stylistic fix
* try multiple repos
* fix
* fix
2016-11-19 22:03:10 -05:00
tqchen
149589c583
[PYTHON] Refactor trainnig API to use callback
2016-05-19 21:31:23 -07:00
sinhrks
8fc2456c87
Enable flake8
2016-04-24 17:32:31 +09:00
tqchen
49f3892942
allow common python output in single node
2016-04-11 15:48:16 -07:00
tqchen
bec7332eea
Fix rabit
2016-03-06 20:54:27 -08:00
tqchen
ced6d45e01
Update rabit
2016-03-02 20:53:34 -08:00
tqchen
ecb3a271be
[PYTHON-DIST] Distributed xgboost python training API.
2016-02-29 16:54:13 -08:00