Граф коммитов

3258 Коммитов

Автор SHA1 Сообщение Дата
James Lamb 33d90f4640
[ci] [python-package] resolve remaining mypy errors in dask.py (#5858) 2023-05-04 13:51:38 -05:00
James Lamb 11e17f39df
[ci] [python-package] check distributions with pydistcheck (#5838) 2023-05-04 12:02:38 -05:00
James Lamb 9a1c5dc92c
[ci] remove R 3.6 macOS CI jobs (#5859) 2023-05-04 09:48:53 -05:00
James Lamb d0dfceec37
[ci] [python-package] fix mypy errors about Dataset._set_init_score_by_predictor() (#5850) 2023-04-25 19:57:23 -05:00
James Lamb 8670013d81
[python-package] [ci] fix mypy errors in Booster.__inner_predict() (#5852) 2023-04-25 14:34:07 -05:00
James Lamb ef5acfb423
[ci] [python-package] fix mypy errors in Booster.refit() (#5853) 2023-04-25 14:33:45 -05:00
James Lamb 5b72e4ab86
[ci] add tests on cv() with an init_model (#5851) 2023-04-25 10:50:16 -05:00
James Lamb 611ce0d9ab
[ci] [python-package] fix mypy error about dask._predict_part() (#5849) 2023-04-25 10:49:30 -05:00
James Lamb ac37bf8a1d
[ci] [python-package] fix mypy error about return_cvbooster in cv() (#5845) 2023-04-24 11:41:46 -05:00
James Lamb f74875ed60
[python-package] move validation up earlier in cv() and train() (#5836) 2023-04-18 22:20:40 -05:00
James Lamb fd921d5340
[python-package] remove default arguments in internal functions (#5834) 2023-04-18 22:16:47 -05:00
James Lamb f065b436d8
[python-package] fix mypy error about used_indices in Dataset.subset() (#5833) 2023-04-18 22:14:54 -05:00
James Lamb 5989405cd3
[ci] put a temporary ceiling on pip (#5835) 2023-04-17 16:57:04 -05:00
James Lamb ffb298626e
[ci] [dask] fix mypy errors about predict() signature (#5827) 2023-04-11 10:57:51 -05:00
James Lamb 6856a45a86
[python-package] fix mypy error in Dataset.__init_from_list_np2d() (#5826) 2023-04-11 10:41:15 -05:00
James Lamb 7c1e92dd8e
[ci] [python-package] fix mypy errors in cv() (#5828) 2023-04-11 10:40:29 -05:00
James Lamb 99daacf190
[python-package] [docs] complete type annotations for scikit-learn fit() methods (#5816) 2023-04-10 23:27:35 -05:00
James Lamb 638014d5c5
[ci] remove pin on tinytex in R CI jobs (#5821) 2023-04-07 12:37:48 -05:00
James Lamb 1f1ed5b44f
[ci] moving linting into small scripts (fixes #5142) (#5809) 2023-04-01 20:06:09 -05:00
James Lamb da5160cf2d
[python-package] add more type annotations in basic.py (#5812) 2023-03-31 12:35:26 -05:00
James Lamb 6de94ef87f
[python-package] add type annotations on some array methods in basic.py (#5813) 2023-03-31 12:34:48 -05:00
James Lamb 216eaff723
[python-package] add type annotations on Booster.trees_to_dataframe() inner functions (#5811) 2023-03-30 22:14:39 -05:00
James Lamb 5f79626f46
[python-package] fix type annotations for eval result tracking (#5793) 2023-03-30 08:13:13 -05:00
James Lamb 42a4267004
[python-package] fix mypy error in Booster.get_split_value_histogram() (#5794) 2023-03-29 21:48:58 -05:00
James Lamb 9fce6b8f7a
[python-package] fix mypy errors about early stopping rounds (#5795) 2023-03-29 21:48:32 -05:00
James Lamb a528598599
[python-package] fix mypy errors about custom eval and metric functions (#5790) 2023-03-29 21:47:17 -05:00
James Lamb 9f03510071
[python-packages] [docs] add type hints and define 'array-like' for X, y, group in scikit-learn interface (#5757) 2023-03-28 22:52:27 -05:00
José Morales 1113cb7a50
remove unused variables from bin.cpp (#5801) 2023-03-28 22:34:07 -05:00
James Lamb cb89de8b53
[ci] fix LaTeX tools installation in R jobs (fixes #5802) (#5807) 2023-03-27 15:05:05 -05:00
James Lamb 5f261c4235
[python-package] fix mypy errors about scikit-learn properties (#5788)
* [python-package] fix mypy errors about scikit-learn properties

* Update python-package/lightgbm/sklearn.py
2023-03-23 12:51:28 +08:00
shiyu1994 ce0813efea
[CUDA] Add quantile regression objective for new CUDA version (#5605)
* add cuda quantile regression objective

* remove white space

* resolve merge conflicts

* remove useless changes

* remove useless changes

* enable cuda quantile regression objective

* add a test case for quantile regression objective

* remove useless changes

* remove useless changes

* reduce DP_SHARED_HIST_SIZE to 5176 for CUDA 10

---------

Co-authored-by: James Lamb <jaylamb20@gmail.com>
2023-03-21 12:20:56 +08:00
James Lamb 2fe2bf0675
[python-package] add hint on dtypes in Dataset.set_field() (#5787) 2023-03-16 12:04:11 -05:00
James Lamb 178789225a
[python-package] replace uses of scipy.sparse.issparse() with isinstance() (#5784) 2023-03-16 09:10:57 -05:00
James Lamb a6bf4ad40f
[python-package] fix mypy error about cpu_count() methods (#5786) 2023-03-16 09:01:58 -05:00
shiyu1994 54486b4f6b
[CUDA] Add quantile metric for new CUDA version (contribute to #5163) (#5665)
Co-authored-by: James Lamb <jaylamb20@gmail.com>
2023-03-16 18:00:30 +08:00
Aleksandar Bojarov 8811063115
Fix DEBUG-mode GPU builds (#5778)
Fix for DEBUG mode

This commit fixes issue #5777
2023-03-15 13:44:47 +08:00
James Lamb 814a2f1ced
[python-package] fix mypy errors about Dataset.params (#5780) 2023-03-14 22:38:11 -05:00
James Lamb ac3668fa0c
[python-package] ignore some mypy errors in _DaskLGBMModel (#5774) 2023-03-14 22:36:34 -05:00
James Lamb 3855409571
[python-package] fix mypy errors about ctypes pointers (#5779) 2023-03-14 22:33:13 -05:00
James Lamb 125ca033fc
[python-package] fix mypy error about dask._HostWorkers.__eq__() (#5782) 2023-03-14 22:32:16 -05:00
James Lamb cbb9f4e7be
[python-package] fix mypy errors about validation sets in sklearn.py (#5724) 2023-03-10 21:17:48 -06:00
IdoKendo 90a4510c78
[python-package] fix mypy errors about missing annotations and incompatible types (#5672) 2023-03-09 09:03:59 -06:00
James Lamb f585eafa8d
[python-package] add type hints on sklearn properties (#5771) 2023-03-08 22:30:23 -06:00
James Lamb 0cff4f8381
[python-package] add type hints for functions accepting dtypes (#5773) 2023-03-08 22:29:25 -06:00
James Lamb 1585ee1566
[ci] isolate c_api_test library-loading from Python source tree (#5761) 2023-03-07 12:46:56 -06:00
James Lamb bf1a604a5b
[python-package] [dask] add type annotations on dask._HostWorkers (#5766) 2023-03-06 22:51:36 -06:00
James Lamb 98c1db7794
[R-package] use C++17 in the CRAN package (#5690) 2023-03-06 21:57:18 -06:00
James Lamb 709ea4cad3
[python-package] [dask] fix mypy errors about Dask fit() return types (#5756) 2023-03-02 19:37:33 -06:00
James Lamb e4231205a3
[python-package] use keyword arguments in predict() calls (#5755) 2023-02-28 23:35:20 -06:00
James Lamb 27e69e7592
[python-package] add type hints on label (#5754) 2023-02-28 23:34:57 -06:00