1. 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
  2. 27 Jan, 2019 1 commit
    • Nikita Titov's avatar
      [tests][python] added tests for metrics' behavior and fixed case for... · f9a1465d
      Nikita Titov authored
      [tests][python] added tests for metrics' behavior and fixed case for multiclass task with custom objective (#1954)
      
      * added metrics test for standard interface
      
      * simplified code
      
      * less trees
      
      * less trees
      
      * use dummy custom objective and metric
      
      * added tests for multiclass metrics aliases
      
      * fixed bug in case of custom obj and num_class > 1
      
      * added metric test for sklearn wrapper
      f9a1465d
  3. 20 Dec, 2018 1 commit
  4. 11 Oct, 2018 1 commit
  5. 10 Oct, 2018 1 commit
  6. 28 Sep, 2018 1 commit
  7. 25 Jul, 2018 1 commit
  8. 11 Jul, 2018 1 commit
    • Misha Lisovyi's avatar
      [python] Configure choice of `feature_importance_` in sklearn API (#1470) · dae75516
      Misha Lisovyi authored
      * ignore vim temporary files
      
      * add importance_type arg to sklearn API
      
      * update documentation info
      
      * remote a trailing space
      
      * remove trailing space (again :))
      
      * add instructions on importance choices to sklearn API
      
      * drop mention of constructor in the feature type setting
      
      * adding a test for different feture types
      
      * remove trailing spaces, make shorter assert in feature importance type handling test
      
      * fixing style issue introduced with the new test
      dae75516
  9. 20 Jun, 2018 1 commit
  10. 09 Jun, 2018 1 commit
    • Nikita Titov's avatar
      [python] make tree rendering more clear (#1424) · 69a36605
      Nikita Titov authored
      * fixed grammar
      
      * fixed params description in graph plotting functions
      
      * clarified types of attributes in their descriptions
      
      * increased readability of graphs by adding spaces
      
      * added precision parameter to plot tree functions
      69a36605
  11. 10 May, 2018 1 commit
    • Nikita Titov's avatar
      [python][docs] reworked predict method in sklearn wrapper and docs improvements (#1351) · 41152eab
      Nikita Titov authored
      * fixed docs
      
      * reworker predict method of sklearn wrapper
      
      * fixed encapsulation
      
      * added test
      
      * fixed consistency between docstring and params docs
      
      * fixed verbose
      
      * replaced predict_proba with predict in test
      
      * fixed verbose again
      
      * fixed fraction params descriptions
      
      * added description of skip_drop and drop_rate constraints
      
      * fixed subsample_freq consistency with C++ default value
      
      * fixed nice look of params list
      
      * made force splits json file example clickable
      
      * fixed nice look of metrics list and added comma
      
      * reduced warning in test about same param specified twice
      
      * replaced pred_parameter with **kwargs in predict method
      
      * added test for **kwargs in predict method
      
      * fixed warnings
      
      * fixed pylint
      41152eab
  12. 19 Sep, 2017 1 commit
  13. 08 Sep, 2017 1 commit
    • Nikita Titov's avatar
      [python] [setup] improving installation (#880) · 8984111f
      Nikita Titov authored
      * disabled logs from compilers; fixed #874
      
      * fixed safe clear_fplder
      
      * added windows folder to manifest.in
      
      * added windows folder to build
      
      * added library path
      
      * added compilation with MSBuild from .sln-file
      
      * fixed unknown PlatformToolset returns exitcode 0
      
      * hotfix
      
      * updated Readme
      
      * removed return
      
      * added installation with mingw test to appveyor
      
      * let's test appveyor with both VS 2015 and VS 2017; but MinGW isn't installed on VS 2017 image
      
      * fixed built-in name 'file'
      
      * simplified appveyor
      
      * removed excess data_files
      
      * fixed unreadable paths
      
      * separated exceptions for cmake and mingw
      
      * refactored silent_call
      
      * don't create artifacts with VS 2015 and mingw
      
      * be more precise with python versioning in Travis
      
      * removed unnecessary if statement
      
      * added classifiers for PyPI and python versions badge
      
      * changed python version in travis
      
      * added support of scikit-learn 0.18.x
      
      * added more python versions to Travis
      
      * added more python versions to Appveyor
      
      * reduced number of tests in Travis
      
      * Travis trick is not needed anymore
      
      * attempt to fix according to https://github.com/Microsoft/LightGBM/pull/880#discussion_r137438856
      8984111f
  14. 05 Sep, 2017 2 commits
    • Nikita Titov's avatar
      [python] fixed sklearn test on python 2.7 (#888) · db8b6b00
      Nikita Titov authored
      * fixed sklearn test on python 2.7
      
      * commit to show that problem has been solved
      
      * come back to python 3.6
      
      * removed warnings check
      db8b6b00
    • 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
  15. 23 Aug, 2017 1 commit
  16. 20 Aug, 2017 1 commit
  17. 11 May, 2017 1 commit
  18. 06 May, 2017 1 commit
  19. 02 May, 2017 1 commit
  20. 26 Apr, 2017 1 commit
  21. 12 Jan, 2017 2 commits
  22. 04 Jan, 2017 1 commit
    • wxchan's avatar
      python code style with pep8 (#161) · dd425973
      wxchan authored
      * format python code with pep8
      
      * **DO NOT MERGE** deliberately break rules to see what will happen during check
      
      * Revert "**DO NOT MERGE** deliberately break rules to see what will happen during check"
      
      This reverts commit 0db93cd7a43c7efa43a2112ada43d46c6f9115d9.
      
      * fix format in test.py
      
      * add docs for pep-8
      dd425973
  23. 03 Jan, 2017 1 commit
  24. 01 Jan, 2017 1 commit
    • wxchan's avatar
      support pickle (#151) · a034ceeb
      wxchan authored
      * support pickle
      
      * add pickle/joblib test; change test_basic to unittest
      
      * remove file for deepcopy
      
      * fix tests
      
      * test basic predict from file
      
      * Revert "test basic predict from file"
      
      This reverts commit 60d2c3158537fd56081f60f1d6d120cedd782887.
      
      * test predict from file
      
      * use tempfile for copy & pickle
      
      * use tempfile w/o binary mode
      
      * clean test
      a034ceeb
  25. 31 Dec, 2016 1 commit
  26. 28 Dec, 2016 1 commit
  27. 23 Dec, 2016 1 commit
    • wxchan's avatar
      rewrite test with unittest (#142) · db18367e
      wxchan authored
      * add troubleshooting
      
      * use unittest
      
      * update unittest version
      
      * fix test_engine.py
      
      * fix test_sklearn.py
      
      * default eval_metric by subclass
      
      * add test grid search
      
      * remove verbose_eval
      db18367e
  28. 19 Dec, 2016 1 commit
  29. 06 Dec, 2016 1 commit
  30. 02 Dec, 2016 1 commit
    • wxchan's avatar
      Squash into one commit: · eba6d200
      wxchan authored
      1. merge python-package
      2. add dump model to json
      3. fix bugs
      4. clean code with pylint
      5. update python examples
      eba6d200
  31. 30 Nov, 2016 5 commits