- 24 Apr, 2022 2 commits
-
-
James Lamb authored
* fix predict() params * [R-package] ensure values in params override keyword arguments to predict() (fixes #4670) * revert accidentally-introduced unrelated test changes * Update R-package/tests/testthat/test_Predictor.R Co-authored-by:
José Morales <jose.morales@kavak.com> * Update R-package/tests/testthat/test_Predictor.R Co-authored-by:
José Morales <jose.morales@kavak.com> * linting * remove nammes in shap test * changes to tests Co-authored-by:
José Morales <jose.morales@kavak.com>
-
James Lamb authored
-
- 23 Apr, 2022 1 commit
-
-
James Lamb authored
-
- 22 Apr, 2022 1 commit
-
-
Miguel Trejo Marrufo authored
[python-package] remove 'fobj' in favor of passing custom objective function in params (fixes #3244) (#5052) * feat: support custom metrics in params * feat: support objective in params * test: custom objective and metric * fix: imports are incorrectly sorted * feat: convert eval metrics str and set to list * feat: convert single callable eval_metric to list * test: single callable objective in params Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * feat: callable fobj in basic cv function Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * test: cv support objective callable Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * fix: assert in cv_res Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * docs: objective callable in params Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * recover test_boost_from_average_with_single_leaf_trees Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * linters fail Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * remove metrics helper functions Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * feat: choose objective through _choose_param_values Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * test: test objective through _choose_param_values Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * test: test objective is callabe in train Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * test: parametrize choose_param_value with objective aliases Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * test: cv booster metric is none Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * fix: if string and callable choose callable Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * test train uses custom objective metrics Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * test: cv uses custom objective metrics Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * refactor: remove fobj parameter in train and cv Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * refactor: objective through params in sklearn API Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * custom objective function in advanced_example Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * fix whitespackes lint * objective is none not a particular case for predict method Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * replace scipy.expit with custom implementation Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * test: set num_boost_round value to 20 Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * fix: custom objective default_value is none Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * refactor: remove self._fobj Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * custom_objective default value is None Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * refactor: variables name reference dummy_obj Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * linter errors * fix: process objective parameter when calling predict Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * linter errors * fix: objective is None during predict call Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com>
-
- 15 Apr, 2022 2 commits
-
-
Samuel Wilson authored
-
James Lamb authored
-
- 14 Apr, 2022 1 commit
-
-
Nikita Titov authored
-
- 13 Apr, 2022 3 commits
-
-
shiyu1994 authored
-
Nikita Titov authored
[python] Use predefined constant in feature importance type comparison instead of raw int literal (#5148)
-
James Lamb authored
* [R-package] reduce cost of repeated parameter alias checks * formatting
-
- 10 Apr, 2022 2 commits
-
-
James Lamb authored
* [ci] update to R 4.1.3 and use macOS-latest for R jobs (fixes #4990) * update Windows version * update docs env * simplify r-package config
-
Pablo Dávila Herrero authored
* Document behaviour of the first linear estimator * Properly update docs Co-authored-by:Pablo-Davila <Pablo-Davila@users.noreply.github.com>
-
- 09 Apr, 2022 1 commit
-
-
James Lamb authored
-
- 06 Apr, 2022 2 commits
-
-
James Lamb authored
* [ci] fail CI jobs earlier when installations fail * more reliable link for R.pkg
-
James Lamb authored
* [ci] use lee-dohm/no-response to close stale issues (fixes #5060) * only run once a day
-
- 05 Apr, 2022 3 commits
-
-
James Lamb authored
-
Nikita Titov authored
* Update test_windows.ps1 * Update .appveyor.yml * Update .appveyor.yml
-
david-cortes authored
* keep row names in prediction output * fix test * fix test * fix test * more tests for row names * redo badly solved merge conflict * comments * update docs * missing closing parentheses * explicitly list assertions in each test * move assertions back into shared function Co-authored-by:James Lamb <jaylamb20@gmail.com>
-
- 04 Apr, 2022 3 commits
-
-
James Lamb authored
-
Michael Mayer authored
-
James Lamb authored
-
- 02 Apr, 2022 2 commits
-
-
José Morales authored
-
Nikita Titov authored
* Update static_analysis.yml * Update README.md * Update README.md
-
- 01 Apr, 2022 2 commits
-
-
david-cortes authored
* change prediction default to reshape=TRUE * remove reshape argument * comments
-
david-cortes authored
[R-package] Promote number of threads to top-level argument in `lightgbm()` and change default to number of cores (#4972)
-
- 31 Mar, 2022 2 commits
-
-
Nikita Titov authored
-
James Lamb authored
-
- 30 Mar, 2022 3 commits
-
-
Nikita Titov authored
* make `log_evaluation` callback pickleable * make callback tests stricter * make `record_evaluation` callback picklable
-
Nikita Titov authored
* make `log_evaluation` callback pickleable * make callback tests stricter
-
shiyu1994 authored
* fix cuda exp with dense row wise * disable usage of multi val group in cuda exp
-
- 28 Mar, 2022 1 commit
-
-
RustingSword authored
* [python] allow to register any custom logger * allow customizable logging method name; add unit test * [python] allow to register any custom logger * allow customizable logging method name; add unit test * update tests * fix lint error * remove unused method * fix docstring style Co-authored-by:gongxudong <gongxudong@kuaishou.com>
-
- 27 Mar, 2022 1 commit
-
-
shiyu1994 authored
* log warnings when number of bins of categorical features exceeds the configured maximum number of bins * log only one warning information for all categorical features * Add #include <memory> for unique_ptr * remove useless param description
-
- 26 Mar, 2022 2 commits
-
-
shiyu1994 authored
-
david-cortes authored
* rename weight -> weights * add test for 'weights' argument * Update R-package/R/lightgbm.R * update docs Co-authored-by:James Lamb <jaylamb20@gmail.com>
-
- 23 Mar, 2022 1 commit
-
-
shiyu1994 authored
* new cuda framework * add histogram construction kernel * before removing multi-gpu * new cuda framework * tree learner cuda kernels * single tree framework ready * single tree training framework * remove comments * boosting with cuda * optimize for best split find * data split * move boosting into cuda * parallel synchronize best split point * merge split data kernels * before code refactor * use tasks instead of features as units for split finding * refactor cuda best split finder * fix configuration error with small leaves in data split * skip histogram construction of too small leaf * skip split finding of invalid leaves stop when no leaf to split * support row wise with CUDA * copy data for split by column * copy data from host to CPU by column for data partition * add synchronize best splits for one leaf from multiple blocks * partition dense row data * fix sync best split from task blocks * add support for sparse row wise for CUDA * remove useless code * add l2 regression objective * sparse multi value bin enabled for CUDA * fix cuda ranking objective * support for number of items <= 2048 per query * speedup histogram construction by interleaving global memory access * split optimization * add cuda tree predictor * remove comma * refactor objective and score updater * before use struct * use structure for split information * use structure for leaf splits * return CUDASplitInfo directly after finding best split * split with CUDATree directly * use cuda row data in cuda histogram constructor * clean src/treelearner/cuda * gather shared cuda device functions * put shared CUDA functions into header file * change smaller leaf from <= back to < for consistent result with CPU * add tree predictor * remove useless cuda_tree_predictor * predict on CUDA with pipeline * add global sort algorithms * add global argsort for queries with many items in ranking tasks * remove limitation of maximum number of items per query in ranking * add cuda metrics * fix CUDA AUC * remove debug code * add regression metrics * remove useless file * don't use mask in shuffle reduce * add more regression objectives * fix cuda mape loss add cuda xentropy loss * use template for different versions of BitonicArgSortDevice * add multiclass metrics * add ndcg metric * fix cross entropy objectives and metrics * fix cross entropy and ndcg metrics * add support for customized objective in CUDA * complete multiclass ova for CUDA * separate cuda tree learner * use shuffle based prefix sum * clean up cuda_algorithms.hpp * add copy subset on CUDA * add bagging for CUDA * clean up code * copy gradients from host to device * support bagging without using subset * add support of bagging with subset for CUDAColumnData * add support of bagging with subset for dense CUDARowData * refactor copy sparse subrow * use copy subset for column subset * add reset train data and reset config for CUDA tree learner add deconstructors for cuda tree learner * add USE_CUDA ifdef to cuda tree learner files * check that dataset doesn't contain CUDA tree learner * remove printf debug information * use full new cuda tree learner only when using single GPU * disable all CUDA code when using CPU version * recover main.cpp * add cpp files for multi value bins * update LightGBM.vcxproj * update LightGBM.vcxproj fix lint errors * fix lint errors * fix lint errors * update Makevars fix lint errors * fix the case with 0 feature and 0 bin fix split finding for invalid leaves create cuda column data when loaded from bin file * fix lint errors hide GetRowWiseData when cuda is not used * recover default device type to cpu * fix na_as_missing case fix cuda feature meta information * fix UpdateDataIndexToLeafIndexKernel * create CUDA trees when needed in CUDADataPartition::UpdateTrainScore * add refit by tree for cuda tree learner * fix test_refit in test_engine.py * create set of large bin partitions in CUDARowData * add histogram construction for columns with a large number of bins * add find best split for categorical features on CUDA * add bitvectors for categorical split * cuda data partition split for categorical features * fix split tree with categorical feature * fix categorical feature splits * refactor cuda_data_partition.cu with multi-level templates * refactor CUDABestSplitFinder by grouping task information into struct * pre-allocate space for vector split_find_tasks_ in CUDABestSplitFinder * fix misuse of reference * remove useless changes * add support for path smoothing * virtual destructor for LightGBM::Tree * fix overlapped cat threshold in best split infos * reset histogram pointers in data partition and spllit finder in ResetConfig * comment useless parameter * fix reverse case when na is missing and default bin is zero * fix mfb_is_na and mfb_is_zero and is_single_feature_column * remove debug log * fix cat_l2 when one-hot fix gradient copy when data subset is used * switch shared histogram size according to CUDA version * gpu_use_dp=true when cuda test * revert modification in config.h * fix setting of gpu_use_dp=true in .ci/test.sh * fix linter errors * fix linter error remove useless change * recover main.cpp * separate cuda_exp and cuda * fix ci bash scripts add description for cuda_exp * add USE_CUDA_EXP flag * switch off USE_CUDA_EXP * revert changes in python-packages * more careful separation for USE_CUDA_EXP * fix CUDARowData::DivideCUDAFeatureGroups fix set fields for cuda metadata * revert config.h * fix test settings for cuda experimental version * skip some tests due to unsupported features or differences in implementation details for CUDA Experimental version * fix lint issue by adding a blank line * fix lint errors by resorting imports * fix lint errors by resorting imports * fix lint errors by resorting imports * merge cuda.yml and cuda_exp.yml * update python version in cuda.yml * remove cuda_exp.yml * remove unrelated changes * fix compilation warnings fix cuda exp ci task name * recover task * use multi-level template in histogram construction check split only in debug mode * ignore NVCC related lines in parameter_generator.py * update job name for CUDA tests * apply review suggestions * Update .github/workflows/cuda.yml Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * Update .github/workflows/cuda.yml Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * update header * remove useless TODOs * remove [TODO(shiyu1994): constrain the split with min_data_in_group] and record in #5062 * #include <LightGBM/utils/log.h> for USE_CUDA_EXP only * fix include order * fix include order * remove extra space * address review comments * add warning when cuda_exp is used together with deterministic * add comment about gpu_use_dp in .ci/test.sh * revert changing order of included headers Co-authored-by:
Yu Shi <shiyu1994@qq.com> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
- 22 Mar, 2022 1 commit
-
-
James Lamb authored
* clarify no-meaningful-features warning in Dataset construction (fixes #5081) * update tests
-
- 19 Mar, 2022 1 commit
-
-
Nikita Titov authored
* Add text file with GitHub commit hash to nightly builds * Update .vsts-ci.yml * Revert "Update .vsts-ci.yml" This reverts commit 75c41893982ab34ef9d7044d8dbf434be184c175.
-
- 18 Mar, 2022 1 commit
-
-
Nikita Titov authored
-
- 17 Mar, 2022 2 commits
-
-
Antoni Baum authored
* Turn `early_stopping` into a Callable class * Fix * Lint * Remove print * Fix order * Revert "Lint" This reverts commit 7ca8b557572446888cf793c0082d9a7efd1e29a7. * Apply suggestion from code review * Nit * Lint * Move callable class outside the func for pickling * Move _pickle and _unpickle to tests utils * Add early stopping callback picklability test * Nit * Fix * Lint * Improve type hint * Lint * Lint * Add cloudpickle to test_windows * Update tests/python_package_test/test_engine.py * Fix * Apply suggestions from code review
-
Nikita Titov authored
* Update r_package.yml * replace R 4.1 with R 3.6 for VS 2019 build
-