1. 14 Feb, 2023 1 commit
  2. 12 Jan, 2023 2 commits
  3. 29 Dec, 2022 1 commit
  4. 19 Jun, 2022 2 commits
  5. 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
  6. 30 Nov, 2021 1 commit
  7. 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
  8. 30 Oct, 2021 1 commit
  9. 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
  10. 26 Apr, 2021 1 commit
  11. 15 Mar, 2021 1 commit
  12. 23 Feb, 2021 1 commit
  13. 16 Feb, 2021 2 commits
  14. 29 Jan, 2021 1 commit
  15. 26 Jan, 2021 2 commits
  16. 25 Jan, 2021 1 commit
  17. 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
  18. 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
  19. 19 Dec, 2019 1 commit
  20. 27 Oct, 2019 1 commit
  21. 13 Aug, 2019 1 commit
  22. 21 Feb, 2019 1 commit
  23. 04 Feb, 2019 1 commit
  24. 16 Oct, 2018 1 commit
  25. 28 Sep, 2018 1 commit
  26. 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
  27. 20 Jun, 2018 1 commit
  28. 11 May, 2018 1 commit
  29. 25 Dec, 2017 1 commit
  30. 13 Nov, 2017 1 commit
    • Nikita Titov's avatar
      [python] max_bin parameter deprecated (#1046) · bd5e5e3e
      Nikita Titov authored
      * made max_bin parameter deprecated
      
      * fixed accidental docstrings in Sphinx
      
      * concrete version when deprecated stuff will be removed
      
      * added warnings in case of duplicated params to Dataset
      
      * fixed indents in docs
      bd5e5e3e
  31. 30 Oct, 2017 1 commit
    • Nikita Titov's avatar
      [docs] fixed building at Python 2.x (#997) · d94ec89b
      Nikita Titov authored
      * fixed docs building at Python 2.x
      
      * updated docs building guide
      
      * get back Python 3 at Travis
      
      * test commit for OSX
      
      * be more precise with python version inpylint task
      
      * turned warnings into errors
      
      * removed linkchecker validation from osx
      
      * removed warning about not included into any toctree
      
      * docs config cleanup
      
      * refined deprecation warnings mechanism
      
      * refine docs mock mechanism
      
      * be more precise with python version in check-docs task
      
      * redused the number of code lines
      
      * refined venv deployment
      
      * rollback python version in check-docs task
      
      * revert 'refine docs mock mechanism'. autodoc_mock_imports seems to be not working
      
      * added targets for big images
      
      * rollback to default python version in check-docs task
      
      * break long lines for mobile view
      
      * replaced pip with conda where it's possible
      d94ec89b
  32. 05 Sep, 2017 1 commit
    • Nikita Titov's avatar
      [python] improved sklearn interface (#870) · 015c8fff
      Nikita Titov authored
      * improved sklearn interface; added sklearns' tests
      
      * moved best_score into the if statement
      
      * improved docstrings; simplified LGBMCheckConsistentLength
      
      * fixed typo
      
      * pylint
      
      * updated example
      
      * fixed Ranker interface
      
      * added missed boosting_type
      
      * fixed more comfortable autocomplete without unused objects
      
      * removed check for None of eval_at
      
      * fixed according to review
      
      * fixed typo
      
      * added description of fit return type
      
      * dictionary->dict for short
      
      * markdown cleanup
      015c8fff
  33. 26 Apr, 2017 1 commit
  34. 01 Mar, 2017 2 commits
  35. 03 Feb, 2017 1 commit