1. 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
  2. 18 Aug, 2017 2 commits
  3. 27 Jul, 2017 1 commit
  4. 07 Jul, 2017 1 commit
  5. 06 May, 2017 1 commit
  6. 30 Apr, 2017 1 commit
  7. 26 Apr, 2017 1 commit
  8. 15 Apr, 2017 1 commit
  9. 02 Apr, 2017 1 commit
  10. 28 Mar, 2017 1 commit
  11. 27 Mar, 2017 1 commit
  12. 01 Mar, 2017 2 commits
  13. 18 Feb, 2017 1 commit
  14. 09 Feb, 2017 1 commit
    • extremin's avatar
      Update engine.py (#291) · fdb093d6
      extremin authored
      When setting the parameter 'shuffle' of cv method to False ,the program raises the error below:
      UnboundLocalError:local variable 'randidx' referenced before assignment
      
      fixed.
      fdb093d6
  15. 27 Jan, 2017 1 commit
  16. 16 Jan, 2017 1 commit
    • wxchan's avatar
      fix bug for pandas auto categorical_feature (#218) · 57d55272
      wxchan authored
      * fix bug for categorical_feature
      
      * add test on load model with categorical feature
      
      * add unseen category in test dataset
      
      * save/load pandas_categorical to model
      
      * fix logic
      
      * cast pandas columns to string
      
      * add load pandas_categorical from file to _InnerPredictor init
      57d55272
  17. 12 Jan, 2017 1 commit
    • wxchan's avatar
      suppprt pandas categorical (#193) · 6c248d37
      wxchan authored
      * suppprt pandas categorical
      
      * refine logic
      
      * make default=auto
      
      * fix train/valid categorical codes
      
      * add test
      
      * unify set _predictor
      
      * fix tests
      
      * fix warning
      
      * support feature_name=int
      6c248d37
  18. 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
  19. 08 Jan, 2017 1 commit
  20. 06 Jan, 2017 1 commit
  21. 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
  22. 02 Jan, 2017 1 commit
  23. 31 Dec, 2016 1 commit
  24. 28 Dec, 2016 1 commit
  25. 19 Dec, 2016 1 commit
  26. 18 Dec, 2016 1 commit
  27. 13 Dec, 2016 1 commit
  28. 09 Dec, 2016 1 commit
  29. 08 Dec, 2016 1 commit
  30. 07 Dec, 2016 1 commit
    • wxchan's avatar
      re-define callback order (#114) · f3d33582
      wxchan authored
      current problem:
      callback order: user-defined in callback parameter -> reset_learning_rate/print_evaluation/record_evaluation/early_stop
      user can't insert a callback between last 4 callbacks
      
      solution:
      set order variable:
      reset_learning_rate = 10
      print_evaluation = 10
      record_evaluation = 20
      early_stop = 30
      user-defined = some int
      default: according to index in callback parameter list, = index - len(callbacks) (all < 0)
      
      current callback order:
      before iter: user-defined -> reset_learning_rate -> user-defined
      after iter: user-defined -> print_evaluation -> user-defined -> record_evaluation -> user-defined -> early_stop -> user-defined
      f3d33582
  31. 06 Dec, 2016 1 commit
  32. 05 Dec, 2016 2 commits
  33. 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
  34. 01 Dec, 2016 1 commit
  35. 30 Nov, 2016 3 commits