Nikita Titov
adef94f4fa
[R-package] [test] add reference to the original issue in R-package test ( #4720 )
2021-10-26 13:19:13 -05:00
Jacob Stevenson
1cc84b35f8
[python] Improve error message for plot_metric with Booster ( #4709 )
...
* Improve error message for plot_metric with Booster
* Update error message
2021-10-26 23:19:23 +08:00
James Lamb
f497068664
[R-package] allow for small numerical differences in Booster test ( #4714 )
...
* [R-package] allow for small numerical differences in Booster test
* only use less-strict test on Windows
2021-10-26 17:33:27 +03:00
shiyu1994
717f037c3a
[docs] Add Tong Wu and Zhiyuan He as code owners ( #4717 )
...
* add hzy46 and tongwu-msft as code owners
* fix github link for Zhiyuan He
2021-10-26 16:01:06 +08:00
Nikita Titov
df12c1b955
[docs] fix R API link to point to the current version of docs ( #4691 )
...
* fix R API link to point to the current version of docs
2021-10-24 22:28:29 -05:00
Zhiyuan He
dc02dcaf02
Fix some paramater hints when loading from binary file ( #4701 )
...
Co-authored-by: hzy46 <email@example.com>
2021-10-25 09:48:02 +08:00
Nikita Titov
51cd8fc2e2
[docs] update comment about preinstalled Java version for SWIG build ( #4710 )
2021-10-24 16:41:29 -04:00
Nikita Titov
47554c3794
[ci] fix CI Windows script to use downloaded SWIG, not the pre-installed one ( #4711 )
2021-10-23 22:06:38 +03:00
david-cortes
a2b60e84c1
[R-package] expand user paths in file names ( #4687 )
2021-10-21 23:40:14 -04:00
Nikita Titov
d88b44566e
[docs] fix C API docs rendering ( #4688 )
...
* fix C API docs rendering
* place comments before members they describe
2021-10-22 02:21:05 +03:00
david-cortes
13ed38ca55
Fix ASAN issues with `std::function` usage ( #4673 )
...
* don't compare std::function to nullptr ref #4633
* Update dataset_loader.h
2021-10-20 15:49:30 +08:00
Nikita Titov
fddff1ad5a
[docs] Add avatar to Yu Shi in R docs ( #4690 )
2021-10-17 22:28:28 -04:00
Nikita Titov
f2221b6b97
[ci] Rename RTD config file ( #4689 )
2021-10-17 21:15:50 +03:00
Nikita Titov
d7ab735395
[ci] Bump Google Test version from `1.10.0` to `1.11.0` ( #4683 )
2021-10-16 03:33:38 +03:00
Rakshit P
18a300aa3e
fix mypy error in engine.py ( #4675 )
2021-10-15 17:18:18 +08:00
Rakshit P
b1b6db4bd7
[python] fix mypy error in setup.py ( #4671 )
2021-10-13 13:09:21 -05:00
Nikita Titov
a572fdbbff
update Guolin's e-mail in `setup.py` ( #4663 )
...
* update Guolin's e-mail in `setup.py`
* change maintainer's info
2021-10-13 11:45:17 +08:00
Nikita Titov
d130bb198b
fix behavior for default objective and metric ( #4660 )
2021-10-13 11:44:22 +08:00
Nikita Titov
5c8a331bf5
Replace deprecated `licenseUrl` field with `license` one in `.nuspec` file ( #4669 )
...
* Replace deprecated `licenseUrl` field with `license` one in `.nuspec` file
* Update create_nuget.py
2021-10-12 11:11:38 +08:00
Nikita Titov
f3987f3724
[python][sklearn] use `__sklearn_is_fitted__()` in all estimator fitness checks ( #4654 )
2021-10-10 01:11:38 +03:00
Nikita Titov
9247359251
[ci] Bump version for development ( #4662 )
...
* Update .appveyor.yml
* Update VERSION.txt
* Auto-update configure
Co-authored-by: GitHub Actions Bot <githubactionsbot@users.noreply.github.com>
2021-10-10 01:10:26 +03:00
James Lamb
fa4ecf4c4d
v3.3.0 release ( fixes #4310 ) ( #4633 )
...
* v3.3.0 release
* Auto-update configure
* Update R-package/DESCRIPTION
Co-authored-by: GitHub Actions Bot <githubactionsbot@users.noreply.github.com>
Co-authored-by: Nikita Titov <nekit94-12@hotmail.com>
2021-10-08 20:06:38 -05:00
James Lamb
1c558a54e9
fix possible precision loss in xentropy and fair loss objectives ( #4651 )
2021-10-08 11:04:20 +08:00
José Morales
29857c8adb
[tests][python-package] refactor list_to_1d_numpy test to run without pandas installed ( #4639 )
...
Co-authored-by: Nikita Titov <nekit94-12@hotmail.com>
2021-10-07 19:30:20 +03:00
strobel
7fa07ee205
[python] add type hints to _safe_call ( #4641 )
...
Co-authored-by: strobel <thaddaeus.strobel@ai4bd.com>
Co-authored-by: Nikita Titov <nekit94-12@hotmail.com>
2021-10-07 19:29:54 +03:00
James Lamb
df8c10bac5
remove unused `DCGCalculator::CalDCGAtK()` ( #4650 )
2021-10-06 00:16:41 +03:00
Nikita Titov
4b140bcc97
[python][sklearn] add `__sklearn_is_fitted__()` method to be better compatible with scikit-learn API ( #4636 )
2021-10-06 00:07:20 +03:00
Nikita Titov
01aa295a04
[ci] Use the latest gcc version in macOS CI jobs ( #4640 )
...
* Use the latest gcc version in macOS CI jobs
* test: swap compilers
* Revert "test: swap compilers"
* Revert "test: swap compilers"
2021-10-06 00:06:24 +03:00
Drew Miller
f3037c1843
allow inclusion in C programs ( #4608 )
...
* allow inclusion in C programs
* adding documentation to macro
* Support for ANSI C, _Thread_local where available.
* fix macro for docs
2021-10-06 00:05:09 +03:00
Nikita Titov
e95d5ab849
add param aliases from scikit-learn ( #4637 )
2021-10-05 10:45:29 +08:00
Nikita Titov
2543c8edcc
remove duplicated debug printing in `CMakeLists.txt` for MPI ( #4644 )
2021-10-05 10:45:11 +08:00
James Lamb
e81eaaaf98
remove unused BinMapper::SizeForSpecificBin() ( #4643 )
...
Co-authored-by: Nikita Titov <nekit94-12@hotmail.com>
2021-10-05 10:44:44 +08:00
James Lamb
10e0edc453
[ci] ignore certificates for kitware apt channel in CUDA jobs ( fixes #4646 ) ( #4648 )
...
* [ci] ignore certificates for kitware apt channel in CUDA jobs (fixes #4646 )
* try building from a fork
* Update .gitmodules
2021-10-05 01:34:52 +03:00
Nikita Titov
a77260f03e
[ci] bump CUDA version from 11.4.0 to 11.4.2 at CI ( #4628 )
...
* [ci] bump CUDA version from 11.4.0 to 11.4.2 at CI
* Update cuda.yml
2021-09-26 03:00:59 +03:00
James Lamb
f8010d61db
[R-package] fix segfaults caused by missing Booster and Dataset handles ( fixes #4208 ) ( #4586 )
...
* [R-package] fix segfaults caused by missing Booster and Dataset handles (fixes #4208 )
* fix test errors
* fixes for cpplint
* Update R-package/tests/testthat/test_dataset.R
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
* fix tests
* Apply suggestions from code review
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
* move asserts inside try-catch
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2021-09-26 00:30:18 +08:00
James Lamb
d46297277f
[R-package] introduce Dataset methods set_field() and get_field() ( #4571 )
...
* [R-package] introduce Dataset set_field() and get_field()
* fix incorrect fields
* update pkgdown
* fix example
* fix another example
* Apply suggestions from code review
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
* update docs
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
2021-09-26 00:28:00 +08:00
Nikita Titov
74c7904b97
[python] deprecate "auto" value of ylabel argument of plot_metric() function ( #4624 )
2021-09-25 16:58:49 +03:00
Nikita Titov
b78175b746
[python] add placeholders to titles in plotting functions ( #4614 )
2021-09-23 18:50:20 +03:00
shiyu1994
b1c261a5d3
[ci] Recover running CUDA tests at CI ( fixed #4611 ) ( #4621 )
...
Co-authored-by: Yu Shi <shiyu1994@qq.com>
2021-09-23 09:55:35 +08:00
James Lamb
e157279490
move Network method implementations from network.h to network.cpp ( fixes #4464 ) ( #4496 )
2021-09-22 20:13:40 -05:00
James Lamb
b52ecb1668
simplify and speed up comparisons for splits with identical gains ( #4542 )
...
* fix incorrect behavior of SplitInfo == operator for splits with identical gains
* LightSplitInfo too, and improve comment
* dont check features unnecessarily
* update LightSplitInfo too
2021-09-22 20:11:35 -05:00
david-cortes
75979baccf
[R-package] prevent memory leak if pointer fails to allocate ( #4613 )
2021-09-22 15:37:00 -05:00
Nikita Titov
c3b60c289b
[ci] Run cmakelint at CI and fix some errors ( #4617 )
2021-09-21 19:46:13 -05:00
Nikita Titov
b5557b6b98
[docs] add Mars to docs ( #4616 )
...
* Update README.md
* Update Parallel-Learning-Guide.rst
* Update README.md
* Update docs/Parallel-Learning-Guide.rst
Co-authored-by: James Lamb <jaylamb20@gmail.com>
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2021-09-21 21:55:25 +03:00
Nikita Titov
6a3f2a96fe
[python] initialize installation options with boolean values in `setup.py` ( #4620 )
2021-09-20 22:17:44 -05:00
Nikita Titov
702fff227d
fix mypy error ( #4615 )
2021-09-20 11:46:31 -05:00
Nikita Titov
d10f9d43c4
[docs] update link to MinGW-w64 site ( #4606 )
...
* Update README.rst
* Update README.md
* Update Installation-Guide.rst
2021-09-17 21:50:14 +03:00
José Morales
f1f5ba15c2
[python-package] Support 2d collections as input for `init_score` in multiclass classification task ( #4150 )
...
* initial implementation of init_score for multiclass classification
* check for 1d or 2d collection in init_score
* remove dataset import
* initial comments
* update dask test and docstrings
* update docstrings
* move logic to set_field. reshape back on get_field
* add type hints and update docstrings for dask. fix Dataset.set_field
* revert wrong docstrings and type hints
* add extra comma for consistency
* prefix private functions with underscore
add type hints to new functions
make commas consistent in dask and basic
* add missing spaces after type hint
* remove shape condition for dataframe in is_2d_collection
Co-authored-by: Nikita Titov <nekit94-12@hotmail.com>
2021-09-17 21:44:03 +03:00
david-cortes
eda0d3cae3
[R-package] Fix R memory leaks ( fixes #4282 , fixes #3462 ) ( #4597 )
...
* fix R memory leaks
* attempt at solving linter complaints
* fix compilation on windows
* move R_API_BEGIN to correct place
* make sure exception objects reach out of scope
* better way to solve rchk complaints
* remove goto statement
2021-09-17 20:38:06 +03:00
Nikita Titov
2c8bb45b2c
[ci] Stop running CUDA tests at CI ( #4611 )
2021-09-17 19:48:22 +03:00