1. 26 Sep, 2019 1 commit
  2. 16 Sep, 2019 1 commit
  3. 12 Sep, 2019 1 commit
  4. 08 Sep, 2019 1 commit
    • CharlesAuguste's avatar
      [python] Improved python tree plots (#2304) · f52be9be
      CharlesAuguste authored
      * Some basic changes to the plot of the trees to make them readable.
      
      * Squeezed the information in the nodes.
      
      * Added colouring when a dictionnary mapping the features to the constraints is passed.
      
      * Fix spaces.
      
      * Added data percentage as an option in the nodes.
      
      * Squeezed the information in the leaves.
      
      * Important information is now in bold.
      
      * Added a legend for the color of monotone splits.
      
      * Changed "split_gain" to "gain" and "internal_value" to "value".
      
      * Sqeezed leaves a bit more.
      
      * Changed description in the legend.
      
      * Revert "Sqeezed leaves a bit more."
      
      This reverts commit dd8bf14a3ba604b0dfae3b7bb1c64b6784d15e03.
      
      * Increased the readability for the gain.
      
      * Tidied up the legend.
      
      * Added the data percentage in the leaves.
      
      * Added the monotone constraints to the dumped model.
      
      * Monotone constraints are now specified automatically when plotting trees.
      
      * Raise an exception instead of the bug that was here before.
      
      * Removed operators on the branches for a clearer design.
      
      * Small cleaning of the code.
      
      * Setting a monotone constraint on a categorical feature now returns an exception instead of doing nothing.
      
      * Fix bug when monotone constraints are empty.
      
      * Fix another bug when monotone constraints are empty.
      
      * Variable name change.
      
      * Added is / isn't on every edge of the trees.
      
      * Fix test "tree_create_digraph".
      
      * Add new test for plotting trees with monotone constraints.
      
      * Typo.
      
      * Update documentation of categorical features.
      
      * Typo.
      
      * Information in nodes more explicit.
      
      * Used regular strings instead of raw strings.
      
      * Small refactoring.
      
      * Some cleaning.
      
      * Added future statement.
      
      * Changed output for consistency.
      
      * Updated documentation.
      
      * Added comments for colors.
      
      * Changed text on edges for more clarity.
      
      * Small refactoring.
      
      * Modified text in leaves for consistency with nodes.
      
      * Updated default values and documentaton for consistency.
      
      * Replaced CHECK with Log::Fatal for user-friendliness.
      
      * Updated tests.
      
      * Typo.
      
      * Simplify imports.
      
      * Swapped count and weight to improve readibility of the leaves in the plotted trees.
      
      * Thresholds in bold.
      
      * Made information in nodes written in a specific order.
      
      * Added information to clarify legend.
      
      * Code cleaning.
      f52be9be
  5. 03 Sep, 2019 1 commit
    • Guolin Ke's avatar
      sub-features for node level (#2330) · bbbad73d
      Guolin Ke authored
      * add parameter
      
      * implement
      
      * fix bug
      
      * fix bug
      
      * fix according comment
      
      * add test
      
      * Update test_engine.py
      
      * Update test_engine.py
      
      * Update test_engine.py
      bbbad73d
  6. 24 Aug, 2019 1 commit
    • Guolin Ke's avatar
      normalize the lambdas in lambdamart objective (#2331) · 0dfda826
      Guolin Ke authored
      * norm the lambda scores
      
      * change default to false
      
      * update doc
      
      * typo
      
      * Update Parameters.rst
      
      * Update config.h
      
      * Update test_sklearn.py
      
      * Update test_sklearn.py
      
      * Update test_sklearn.py
      
      * Update test_sklearn.py
      
      * Update test_sklearn.py
      
      * Update rank_objective.hpp
      
      * Update Parameters.rst
      
      * Update config.h
      
      * Update test_sklearn.py
      
      * Update test_sklearn.py
      
      * Update test_sklearn.py
      0dfda826
  7. 07 Aug, 2019 1 commit
  8. 04 Aug, 2019 1 commit
  9. 01 Aug, 2019 1 commit
  10. 25 Jul, 2019 1 commit
    • Guolin Ke's avatar
      fix metric alias (#2273) · 5d3a3ea4
      Guolin Ke authored
      * fix metric alias
      
      * fix format
      
      * updated docs
      
      * simplify alias in objective function
      
      * move the alias parsing to config.cpp
      
      * updated docs
      
      * fix multi-class aliases
      
      * updated regression aliases in docs
      
      * fixed trailing space
      5d3a3ea4
  11. 08 Jul, 2019 1 commit
    • Belinda Trotta's avatar
      Max bin by feature (#2190) · 291752de
      Belinda Trotta authored
      * Add parameter max_bin_by_feature.
      
      * Fix minor bug.
      
      * Fix minor bug.
      
      * Fix calculation of header size for writing binary file.
      
      * Fix style issues.
      
      * Fix python style issue.
      
      * Fix test and python style issue.
      291752de
  12. 07 Jul, 2019 1 commit
  13. 18 Jun, 2019 1 commit
    • Guolin Ke's avatar
      balanced bagging (#2214) · cdba7147
      Guolin Ke authored
      * add balanced bagging
      
      * refine code
      
      * fix format
      
      * clarify usage only for binary application
      cdba7147
  14. 26 May, 2019 1 commit
    • Belinda Trotta's avatar
      Top k multi error (#2178) · b3db9e92
      Belinda Trotta authored
      * Implement top-k multiclass error metric. Add new parameter top_k_threshold.
      
      * Add test for multiclass metrics
      
      * Make test less sensitive to avoid floating-point issues.
      
      * Change tabs to spaces.
      
      * Fix problem with test in Python 2. Refactor to use np.testing. Decrease number of training rounds so loss is larger and easier to compare.
      
      * Move multiclass tests into test_engine.py
      
      * Change parameter name from top_k_threshold to multi_error_top_k.
      
      * Fix top-k error metric to handle case where scores are equal. Update tests and docs.
      
      * Change name of top-k metric to multi_error@k.
      
      * Change tabs to spaces.
      
      * Fix formatting.
      
      * Fix minor issues in docs.
      b3db9e92
  15. 16 May, 2019 1 commit
  16. 15 May, 2019 2 commits
  17. 08 May, 2019 1 commit
  18. 28 Apr, 2019 1 commit
  19. 19 Apr, 2019 1 commit
    • Scott Lundberg's avatar
      [docs] Update doc string for pred_contrib (#2116) · 89f2021a
      Scott Lundberg authored
      * Update doc string for pred_contrib
      
      See comments at the end of #1969
      
      * Update basic.py
      
      * Update basic.py
      
      * update doc strings
      
      * update equals sign in doc string
      
      * strip whitespace and gen rst
      
      * strip whitespace
      89f2021a
  20. 18 Apr, 2019 1 commit
  21. 04 Apr, 2019 1 commit
    • remcob-gr's avatar
      Add Cost Effective Gradient Boosting (#2014) · 76102284
      remcob-gr authored
      * Add configuration parameters for CEGB.
      
      * Add skeleton CEGB tree learner
      
      Like the original CEGB version, this inherits from SerialTreeLearner.
      Currently, it changes nothing from the original.
      
      * Track features used in CEGB tree learner.
      
      * Pull CEGB tradeoff and coupled feature penalty from config.
      
      * Implement finding best splits for CEGB
      
      This is heavily based on the serial version, but just adds using the coupled penalties.
      
      * Set proper defaults for cegb parameters.
      
      * Ensure sanity checks don't switch off CEGB.
      
      * Implement per-data-point feature penalties in CEGB.
      
      * Implement split penalty and remove unused parameters.
      
      * Merge changes from CEGB tree learner into serial tree learner
      
      * Represent features_used_in_data by a bitset, to reduce the memory overhead of CEGB, and add sanity checks for the lengths of the penalty vectors.
      
      * Fix bug where CEGB would incorrectly penalise a previously used feature
      
      The tree learner did not update the gains of previously computed leaf splits when splitting a leaf elsewhere in the tree.
      This caused it to prefer new features due to incorrectly penalising splitting on previously used features.
      
      * Document CEGB parameters and add them to the appropriate section.
      
      * Remove leftover reference to cegb tree learner.
      
      * Remove outdated diff.
      
      * Fix warnings
      
      * Fix minor issues identified by @StrikerRUS.
      
      * Add docs section on CEGB, including citation.
      
      * Fix link.
      
      * Fix CI failure.
      
      * Add some unit tests
      
      * Fix pylint issues.
      
      * Fix remaining pylint issue
      76102284
  22. 24 Feb, 2019 1 commit
  23. 25 Nov, 2018 1 commit
  24. 22 Nov, 2018 1 commit
  25. 01 Nov, 2018 1 commit
  26. 29 Oct, 2018 1 commit
  27. 27 Oct, 2018 1 commit
  28. 10 Oct, 2018 1 commit
  29. 16 Sep, 2018 1 commit
  30. 11 Sep, 2018 1 commit
  31. 06 Sep, 2018 1 commit
  32. 29 Aug, 2018 1 commit
  33. 27 Aug, 2018 1 commit
  34. 25 Aug, 2018 1 commit
    • Guolin Ke's avatar
      add support of refit-decay (#1603) · 2db6377a
      Guolin Ke authored
      * add support of refit-decay
      
      * add refit into c_api
      
      * add test
      
      * update document
      
      * Update basic.py
      
      * Update test_engine.py
      
      * Update basic.py
      
      * Update test_engine.py
      
      * fix comments
      
      * update test
      
      * fix the comments
      
      * Update test_engine.py
      2db6377a
  35. 08 Aug, 2018 1 commit
  36. 06 Aug, 2018 1 commit
  37. 31 Jul, 2018 1 commit
  38. 25 Jul, 2018 1 commit
  39. 15 Jul, 2018 1 commit