1. 04 Mar, 2024 1 commit
  2. 27 Feb, 2024 1 commit
  3. 04 Dec, 2023 1 commit
  4. 13 Nov, 2023 1 commit
  5. 09 Nov, 2023 1 commit
  6. 07 Nov, 2023 1 commit
  7. 01 Nov, 2023 1 commit
  8. 20 Jun, 2023 1 commit
  9. 16 Mar, 2023 1 commit
  10. 14 Feb, 2023 1 commit
  11. 12 Jan, 2023 2 commits
  12. 29 Dec, 2022 1 commit
  13. 19 Jun, 2022 2 commits
  14. 24 Feb, 2022 1 commit
    • José Morales's avatar
      [python-package] add support for pandas nullable types (fixes #4173) (#4927) · f1856956
      José Morales authored
      
      
      * map nullable dtypes to regular float dtypes
      
      * cast x3 to float after introducing missing values
      
      * add test for regular dtypes
      
      * use .astype and then values. update nullable_dtypes test and include test for regular numpy dtypes
      
      * more specific allowed dtypes. test no copy when single float dtype df
      
      * use np.find_common_type. set np.float128 to None when it isn't supported
      
      * set default as type(None)
      
      * move tests that use lgb.train to test_engine
      
      * include np.float32 when finding common dtype
      
      * Apply suggestions from code review
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * add linebreak
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      f1856956
  15. 30 Nov, 2021 1 commit
  16. 12 Nov, 2021 1 commit
    • Roman Shaptala's avatar
      [python] Faster categorical column names selection (#4787) · 6cbb3586
      Roman Shaptala authored
      * Faster categorical column names selection (#1)
      
      * Faster categorical column names selection
      
      Change slow and redundant dataframe query by select_dtypes into a dataframe.dtypes list comprehension
      
      * Update compat with CategoricalDtype
      
      * sort imports
      
      * import CategoricalDtype from pandas.api.types
      
      * add categorical import try/except
      6cbb3586
  17. 30 Oct, 2021 1 commit
  18. 07 Jul, 2021 1 commit
    • James Lamb's avatar
      [dask] Make output of feature contribution predictions for sparse matrices... · b09da434
      James Lamb authored
      
      [dask] Make output of feature contribution predictions for sparse matrices match those from sklearn estimators (fixes #3881) (#4378)
      
      * test_classifier working
      
      * adding tests
      
      * docs
      
      * tests
      
      * revert unnecessary changes in tests
      
      * test output type
      
      * linting
      
      * linting
      
      * use from_delayed() instead
      
      * docstring pycodestyle is happy with
      
      * isort
      
      * put pytest skips back
      
      * respect sparse return type
      
      * fix doc
      
      * remove unnecessary dask_array_concatenate()
      
      * Apply suggestions from code review
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * Apply suggestions from code review
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * update predict_proba() docstring
      
      * remove unnecessary np.array()
      
      * Update python-package/lightgbm/dask.py
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * fix assertion
      
      * fix test use of len()
      
      * restore np.array() in tests
      
      * use np.asarray() instead
      
      * use toarray()
      
      * remove empty functions in compat
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      b09da434
  19. 26 Apr, 2021 1 commit
  20. 15 Mar, 2021 1 commit
  21. 23 Feb, 2021 1 commit
  22. 16 Feb, 2021 2 commits
  23. 29 Jan, 2021 1 commit
  24. 26 Jan, 2021 2 commits
  25. 25 Jan, 2021 1 commit
  26. 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
  27. 10 Apr, 2020 1 commit
    • Nikita Titov's avatar
      [python] Re-enable scikit-learn 0.22+ support (#2949) · c633c6c2
      Nikita Titov authored
      * Revert "specify the last supported version of scikit-learn (#2637)"
      
      This reverts commit d1002776.
      
      * ban scikit-learn 0.22.0 and skip broken test
      
      * fix updated test
      
      * fix lint test
      
      * Revert "fix lint test"
      
      This reverts commit 8b4db0805fe7a9e7f7eb0be3eac231f85026d196.
      c633c6c2
  28. 19 Dec, 2019 1 commit
  29. 27 Oct, 2019 1 commit
  30. 13 Aug, 2019 1 commit
  31. 21 Feb, 2019 1 commit
  32. 04 Feb, 2019 1 commit
  33. 16 Oct, 2018 1 commit
  34. 28 Sep, 2018 1 commit
  35. 29 Aug, 2018 1 commit
    • Nikita Titov's avatar
      [python] add possibility to predict dataset with nrow > max_int32 (#1615) · f8ffd988
      Nikita Titov authored
      * added possibility to predict numpy array with nrow > max_int32
      
      * save memory more efficient
      
      * better variable name
      
      * added possibility to predict scipy.sparse.csr matrix with nrow > max_int32
      
      * added possibility to predict scipy.sparse.csc matrix with nrow > max_int32
      
      * reworked numpy array case
      f8ffd988
  36. 20 Jun, 2018 1 commit