1. 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
  2. 25 Jul, 2019 1 commit
  3. 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
  4. 20 Jun, 2019 1 commit
  5. 13 Apr, 2019 1 commit
  6. 11 Apr, 2019 1 commit
  7. 26 Mar, 2019 1 commit
  8. 02 Feb, 2019 1 commit
  9. 31 Jan, 2019 1 commit
  10. 23 Jan, 2019 1 commit
  11. 18 Jan, 2019 1 commit
  12. 16 Jan, 2019 1 commit
    • remcob-gr's avatar
      When loading a binary file, take feature penalty and monotone constraints from... · 61527856
      remcob-gr authored
      When loading a binary file, take feature penalty and monotone constraints from config if given there. (#1881)
      
      * When loading a binary file, take feature penalty from config if given there.
      
      * When loading a binary file, take feature penalty from config if given there.
      
      * Fix crash when num_features != num_total_features and feature_contri is given.
      
      * Apply the same logic to monotone_types_.
      
      * Fix indentation
      61527856
  13. 09 Oct, 2018 1 commit
    • Guolin Ke's avatar
      average predictions for constant features (#1735) · c920e634
      Guolin Ke authored
      * average predictions for constant features
      
      * fix possible numerical issues in std::log.
      
      * fix pylint
      
      * fix bugs in c_api
      
      * fix styles
      
      * clean code for multi class
      
      * rewrite test
      
      * fix pylint
      
      * skip test_constant_features
      
      * refine test
      
      * fix tests
      
      * fix tests
      
      * update FAQ
      
      * fix test
      
      * Update FAQ.rst
      c920e634
  14. 16 Aug, 2018 1 commit
  15. 14 Jun, 2018 1 commit
  16. 20 May, 2018 1 commit
    • Guolin Ke's avatar
      Refine config object (#1381) · dc699574
      Guolin Ke authored
      * [WIP] refine config
      
      * [wip] ready for the auto code generate
      
      * auto generate config codes
      
      * use with to open file
      
      * fix bug
      
      * fix pylint
      
      * fix bug
      
      * fix pylint
      
      * fix bugs.
      
      * tmp for failed test.
      
      * fix tests.
      
      * added nthreads alias
      
      * added new aliases from new config.h
      
      * fixed duplicated alias
      
      * refactored parameter_generator.py
      
      * added new aliases from config.h and removed remaining old names
      
      * fix bugs & some miss alias
      
      * added aliases
      
      * add more descriptions.
      
      * add comment.
      dc699574
  17. 11 May, 2018 1 commit
  18. 18 Apr, 2018 1 commit
  19. 17 Apr, 2018 2 commits
  20. 27 Feb, 2018 1 commit
    • ebernhardson's avatar
      Experimental support for HDFS (#1243) · 7e186a57
      ebernhardson authored
      * Read and write datsets from hdfs.
      * Only enabled when cmake is run with -DUSE_HDFS:BOOL=TRUE
      * Introduces VirtualFile(Reader|Writer) to asbtract VFS differences
      7e186a57
  21. 25 Dec, 2017 1 commit
  22. 17 Dec, 2017 1 commit
  23. 15 Dec, 2017 1 commit
  24. 12 Dec, 2017 1 commit
  25. 12 Oct, 2017 1 commit
  26. 18 Aug, 2017 2 commits
  27. 30 Jul, 2017 1 commit
    • Guolin Ke's avatar
      Better missing value handle (#747) · 00cb04a2
      Guolin Ke authored
      * finish the data loading part
      
      * allow prediction.
      
      * fix bug for decision type.
      
      * finish split finding part
      
      * fix bugs.
      
      * bug fixed. add a test .
      
      * fix pep8 .
      
      * update documents.
      
      * fix test bugs.
      
      * fix a format
      
      * fix import error in python test.
      
      * disable missing handle in categorial features.
      
      * fix a bug.
      
      * add more tests.
      
      * fix pep8
      
      * fix bugs.
      
      * remove the missing handle code for categorical feature.
      00cb04a2
  28. 27 Jul, 2017 1 commit
  29. 23 Jul, 2017 1 commit
  30. 18 Apr, 2017 1 commit
  31. 10 Apr, 2017 1 commit
    • Guolin Ke's avatar
      refine prediction logic. (#395) · 71660f1c
      Guolin Ke authored
      * refine prediction logic.
      
      * fix test.
      
      * fix out_len in training score of Dart.
      
      * improve predict speed for high dimension data.
      71660f1c
  32. 09 Apr, 2017 1 commit
  33. 28 Mar, 2017 1 commit
  34. 22 Mar, 2017 1 commit
  35. 21 Mar, 2017 2 commits
  36. 14 Mar, 2017 1 commit
  37. 13 Mar, 2017 1 commit