"src/objective/cuda/cuda_multiclass_objective.cpp" did not exist on "2e9848c67f2aceef05f80db7301c52a8a9fa14c9"
  1. 30 Mar, 2022 1 commit
  2. 17 Mar, 2022 1 commit
    • Antoni Baum's avatar
      [python] make `early_stopping` callback pickleable (#5012) · f77e0adf
      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
      f77e0adf
  3. 15 Feb, 2022 1 commit
  4. 26 Dec, 2021 1 commit
  5. 18 Dec, 2021 1 commit
  6. 10 Dec, 2021 1 commit
  7. 05 Dec, 2021 1 commit
  8. 02 Dec, 2021 1 commit
  9. 26 Nov, 2021 1 commit
  10. 10 Nov, 2021 1 commit
  11. 15 Sep, 2021 1 commit
  12. 12 Sep, 2021 1 commit
  13. 30 Aug, 2021 1 commit
  14. 27 Aug, 2021 1 commit
  15. 05 Jul, 2021 1 commit
  16. 12 May, 2021 1 commit
  17. 10 Apr, 2021 1 commit
  18. 15 Mar, 2021 1 commit
  19. 24 Jan, 2021 1 commit
  20. 09 Dec, 2020 1 commit
    • Nikita Titov's avatar
      [python] Drop Python 2 support (#3581) · 44a6fb7f
      Nikita Titov authored
      * Update setup.py
      
      * Update .appveyor.yml
      
      * Update .travis.yml
      
      * Update .vsts-ci.yml
      
      * Update __init__.py
      
      * Update test.sh
      
      * Update test_windows.ps1
      
      * Update advanced_example.py
      
      * Update requirements_base.txt
      
      * Update conf.py
      
      * Update conf.py
      
      * Update test_engine.py
      
      * Update utils.py
      
      * Update dockerfile-r
      
      * Update README.md
      
      * Update dockerfile.gpu
      
      * Update test_consistency.py
      
      * Update basic.py
      
      * Update compat.py
      
      * Update engine.py
      
      * Update sklearn.py
      
      * Update sklearn.py
      
      * Update callback.py
      
      * Update setup.py
      
      * Update __init__.py
      
      * Update plotting.py
      
      * Update sklearn.py
      
      * Update engine.py
      
      * Update compat.py
      
      * Update callback.py
      
      * Update basic.py
      
      * Update compat.py
      
      * Update basic.py
      
      * Update basic.py
      
      * Update compat.py
      
      * Update compat.py
      
      * Update plotting.py
      
      * Update engine.py
      
      * Update basic.py
      
      * Update sklearn.py
      
      * Update compat.py
      
      * Update engine.py
      
      * Update engine.py
      
      * Update callback.py
      
      * Update basic.py
      
      * Update basic.py
      
      * Update basic.py
      
      * Update basic.py
      
      * Update basic.py
      
      * Update sklearn.py
      
      * Update sklearn.py
      
      * Update plotting.py
      
      * Update sklearn.py
      
      * Update compat.py
      
      * Update compat.py
      
      * Update engine.py
      
      * Update plotting.py
      
      * Update sklearn.py
      
      * Update basic.py
      
      * Update basic.py
      
      * Update basic.py
      
      * Update basic.py
      
      * Update compat.py
      
      * Update compat.py
      
      * Update compat.py
      
      * Update engine.py
      
      * Update basic.py
      
      * Update compat.py
      
      * Update basic.py
      
      * Update basic.py
      
      * Update basic.py
      
      * Update compat.py
      
      * Update compat.py
      
      * Update basic.py
      
      * Update basic.py
      
      * Update .vsts-ci.yml
      
      * Update .vsts-ci.yml
      
      * Update conf.py
      
      * Revert "Update dockerfile-r"
      
      This reverts commit 4ff6ffc7e3eeda24cc6a59a3bb0c973f02d9d71c.
      44a6fb7f
  21. 03 Feb, 2020 1 commit
  22. 27 Oct, 2019 1 commit
  23. 22 Oct, 2019 1 commit
  24. 26 Sep, 2019 1 commit
  25. 15 Sep, 2019 1 commit
    • kenmatsu4's avatar
      [python] Bug fix for first_metric_only on earlystopping. (#2209) · 84754399
      kenmatsu4 authored
      * Bug fix for first_metric_only if the first metric is train metric.
      
      * Update bug fix for feval issue.
      
      * Disable feval for first_metric_only.
      
      * Additional test items.
      
      * Fix wrong assertEqual settings & formating.
      
      * Change dataset of test.
      
      * Fix random seed for test.
      
      * Modiry assumed test result due to different sklearn verion between CI and local.
      
      * Remove f-string
      
      * Applying variable  assumed test result for test.
      
      * Fix flake8 error.
      
      * Modifying  in accordance with review comments.
      
      * Modifying for pylint.
      
      * simplified tests
      
      * Deleting error criteria `if eval_metric is None`.
      
      * Delete test items of classification.
      
      * Simplifying if condition.
      
      * Applying first_metric_only for sklearn wrapper.
      
      * Modifying test_sklearn for comforming to python 2.x
      
      * Fix flake8 error.
      
      * Additional fix for sklearn and add tests.
      
      * Bug fix and add test cases.
      
      * some refactor
      
      * fixed lint
      
      * fixed lint
      
      * Fix duplicated metrics scores to pass the test.
      
      * Fix the case first_metric_only not in params.
      
      * Converting metrics aliases.
      
      * Add comment.
      
      * Modify comment for pylint.
      
      * Modify comment for pydocstyle.
      
      * Using split test set for two eval_set.
      
      * added test case for metric aliases and length checks
      
      * minor style fixes
      
      * fixed rmse name and alias position
      
      * Fix the case metric=[]
      
      * Fix using env.model._train_data_name
      
      * Fix wrong test condition.
      
      * Move initial process to _init() func.
      
      * Modify test setting for test_sklearn & training data matching on callback.py
      
      * test_sklearn.py
      -> A test case for training is wrong, so fixed.
      
      * callback.py
      -> A condition of if statement for detecting test dataset is wrong, so fixed.
      
      * Support composite name metrics.
      
      * Remove metric check process & reduce redundant test cases.
      
      For #2273 fixed not only the order of metrics in cpp, removing metric check process at callback.py
      
      * Revised according to the matters pointed out on a review.
      
      * increased code readability
      
      * Fix the issue of order of validation set.
      
      * Changing to OrderdDict from default dict for score result.
      
      * added missed check in cv function for first_metric_only and feval co-occurrence
      
      * keep order only for metrics but not for datasets in best_score
      
      * move OrderedDict initialization to init phase
      
      * fixed minor printing issues
      
      * move first metric detection to init phase and split can be performed without checks
      
      * split only once during callback
      
      * removed excess code
      
      * fixed typo in variable name and squashed ifs
      
      * use setdefault
      
      * hotfix
      
      * fixed failing test
      
      * refined tests
      
      * refined sklearn test
      
      * Making "feval" effective on early stopping.
      
      * allow feval and first_metric_only for cv
      
      * removed unused code
      
      * added tests for feval
      
      * fixed printing
      
      * add note about whitespaces in feval name
      
      * Modifying final iteration process in case valid set is  training data.
      84754399
  26. 25 Mar, 2019 1 commit
    • kenmatsu4's avatar
      [python] Use first_metric_only flag for early_stopping function. (#2049) · 011cc90a
      kenmatsu4 authored
      * Use first_metric_only flag for early_stopping function.
      
      In order to apply early stopping with only first metric, applying first_metric_only flag for early_stopping function.
      
      * upcate comment
      
      * Revert "upcate comment"
      
      This reverts commit 1e75a1a415cc16cfbe795181e148ebfe91469be4.
      
      * added test
      
      * fixed docstring
      
      * cut comment and save one line
      
      * document new feature
      011cc90a
  27. 30 Jan, 2019 1 commit
    • Guolin Ke's avatar
      fix nan in eval results (#1973) · feeaf38f
      Guolin Ke authored
      * always save the score of the first round in early stopping
      
      fix #1971
      
      * avoid using std::log on non-positive numbers
      
      * remove unnecessary changes
      
      * add tests
      
      * Update test_sklearn.py
      
      * enhanced tests
      feeaf38f
  28. 10 Dec, 2018 1 commit
  29. 16 Oct, 2018 1 commit
  30. 25 Sep, 2018 1 commit
  31. 27 Aug, 2018 1 commit
  32. 31 Jul, 2018 1 commit
  33. 24 May, 2018 1 commit
  34. 23 Dec, 2017 1 commit
  35. 07 Sep, 2017 1 commit
    • Nikita Titov's avatar
      [docs] [python] docstrings improving (#894) · de51990e
      Nikita Titov authored
      * fixed description of Dataset
      
      * fixed description of Booster
      
      * fixed description of train
      
      * fixed description of cv
      
      * fixed description of callbacks
      
      * fixed description of plotting
      
      * hotfixes
      de51990e
  36. 06 Jul, 2017 1 commit
  37. 15 Apr, 2017 1 commit
  38. 28 Mar, 2017 1 commit
  39. 16 Jan, 2017 1 commit
  40. 10 Jan, 2017 1 commit
    • wxchan's avatar
      refine compatibility (#186) · 76c44d78
      wxchan authored
      * add compat.py
      
      * unify types
      
      * range/xrange -> range_
      
      * move argc_ to compat.py; add is_numeric error type
      
      * use simplejson for json
      
      * move json to compat.py
      
      * move pandas to compat.py
      
      * move sklearn to compat.py
      
      * remove unused function
      
      * fix 'unify types'
      
      * argc_ (lambda -> def)
      76c44d78