"python-package/vscode:/vscode.git/clone" did not exist on "5442aa97d71491cb738fa98c1d69a40760db593b"
  1. 10 Aug, 2022 1 commit
    • José Morales's avatar
      [python-package] highlight the path a sample takes through a tree in... · 680f4b08
      José Morales authored
      
      [python-package] highlight the path a sample takes through a tree in `plot_tree` and `create_tree_digraph` (fixes #4784) (#5119)
      
      * highlight path in plot_tree
      
      * lint
      
      * rename x to example_case. support categorical features. add test
      
      * lint
      
      * check for exactly one row. test empty example_case
      
      * Apply suggestions from code review
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * handle missing values in numeric splits
      
      * remove literal. add categorical split function
      
      * make categorical feature more important. lint
      
      * add enum. update categorical split. apply suggestions
      
      * update numeric split decision
      
      * lint
      
      * Update python-package/lightgbm/plotting.py
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      680f4b08
  2. 26 Feb, 2022 1 commit
  3. 02 Dec, 2021 1 commit
  4. 26 Nov, 2021 1 commit
  5. 26 Oct, 2021 1 commit
  6. 25 Sep, 2021 1 commit
  7. 23 Sep, 2021 1 commit
  8. 01 Sep, 2021 1 commit
  9. 27 Aug, 2021 1 commit
  10. 27 Jun, 2021 1 commit
  11. 20 May, 2021 2 commits
  12. 13 May, 2021 1 commit
  13. 15 Feb, 2021 1 commit
  14. 24 Jan, 2021 1 commit
  15. 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
  16. 07 Dec, 2020 1 commit
  17. 12 May, 2020 1 commit
  18. 02 Jan, 2020 1 commit
  19. 27 Oct, 2019 1 commit
  20. 13 Oct, 2019 1 commit
  21. 26 Sep, 2019 1 commit
  22. 12 Sep, 2019 1 commit
  23. 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
  24. 24 Jul, 2019 1 commit
  25. 01 May, 2019 1 commit
    • Nikita Titov's avatar
      [python] added plot_split_value_histogram function (#2043) · 611cf5d4
      Nikita Titov authored
      * added plot_split_value_histogram function
      
      * updated init module
      
      * added plot split value histogram example
      
      * added plot_split_value_histogram to notebook
      
      * added test
      
      * fixed pylint
      
      * updated API docs
      
      * fixed grammar
      
      * set y ticks to int value in more sufficient way
      611cf5d4
  26. 23 Oct, 2018 1 commit
  27. 16 Oct, 2018 1 commit
  28. 20 Sep, 2018 1 commit
  29. 15 Sep, 2018 1 commit
  30. 02 Sep, 2018 1 commit
  31. 20 Jul, 2018 1 commit
  32. 26 Jun, 2018 1 commit
  33. 20 Jun, 2018 1 commit
  34. 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
  35. 21 Mar, 2018 1 commit
  36. 07 Sep, 2017 1 commit
    • Nikita Titov's avatar
      [docs] [python] docstrings improving (#894) · de51990e
      Nikita Titov authored
      * fixed description of Dataset
      
      * fixed description of Booster
      
      * fixed description of train
      
      * fixed description of cv
      
      * fixed description of callbacks
      
      * fixed description of plotting
      
      * hotfixes
      de51990e
  37. 18 Aug, 2017 1 commit
  38. 26 Apr, 2017 1 commit
  39. 12 Apr, 2017 1 commit