1. 12 Sep, 2019 1 commit
  2. 09 Sep, 2019 1 commit
  3. 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
  4. 07 Sep, 2019 2 commits
  5. 06 Sep, 2019 1 commit
  6. 28 Aug, 2019 1 commit
  7. 17 Aug, 2019 1 commit
  8. 13 Aug, 2019 1 commit
  9. 07 Aug, 2019 1 commit
    • Madiyar's avatar
      [python] Deep copy params in _update_params of DataSet (#2310) · 5cff4e8e
      Madiyar authored
      Otherwise, it would print `basic.py:762: UserWarning: categorical_feature in param dict is overridden.`. Because when updating the params for a validation test, the updated params for the train test was used which contains `'categorical_column'`.
      5cff4e8e
  10. 31 Jul, 2019 2 commits
    • Guolin Ke's avatar
      6c210209
    • Alexander L. Hayes's avatar
      [docs] 📝 FAQ overhaul for linking to individual questions (#2293) · 04a56010
      Alexander L. Hayes authored
      * 📝 FAQ overhaul for Issue #2268
      
      Reformat "Contents" to use the `.. contents::` directive
      Reword "Critical" into "Critical Issues"
      Reformat "Critical" section to define "critical issues"
      Reformat FAQ sections to follow a new format
      Reformat FAQ sections so individual questions have links
      
      All sections now follow a new format (below).
      A "frequently asked question" may also include a possible
      cause and a solution (if the two are not obvious from
      the context):
      
      ```rst
      Section Title
      =============
      
      .. contents::
        :local:
        :backlinks: none
      
      1. Question 1
      -------------
      
      **Possible Cause**: This is likely due to...
      
      **Solution**: Fix with...
      ```
      
      * ️ Correcting typos and links
      
      Add period to `2. Error messages: ....`
      Fix links to FAQ in Installation-Guide.rst
      
      * ️ Removing FAQ link and correcting `python-package` README
      
      Drop general FAQ link in `Installation-Guide.rst`
      Add FAQ question links to `python-package/README.rst`
      04a56010
  11. 24 Jul, 2019 1 commit
  12. 12 Jul, 2019 1 commit
    • Guolin Ke's avatar
      fix init_model with subset (#2252) · 7360cff9
      Guolin Ke authored
      * fix init_model with subset
      
      * Update basic.py
      
      * added test
      
      * fix predictor naming issue
      
      * Update basic.py
      
      * fix bug
      
      * fix pylint
      
      * fix comments
      
      * Update basic.py
      
      * Update basic.py
      
      * updated test
      
      * fixed bug
      
      * fixed lint
      
      * fix warning
      
      * add get_data before initial prediction
      
      * refine the warning in get_data
      
      * refine warning
      
      * Update basic.py
      7360cff9
  13. 07 Jul, 2019 1 commit
  14. 17 Jun, 2019 1 commit
    • Guolin Ke's avatar
      [docs] add "download" badge (#2224) · 7da11ffe
      Guolin Ke authored
      * add "download" badge
      
      * Update README.rst
      
      * Update README.md
      
      * replaced issue badge with releases downloads badge
      
      * Update README.md
      7da11ffe
  15. 04 Jun, 2019 2 commits
  16. 02 Jun, 2019 1 commit
  17. 27 May, 2019 1 commit
  18. 15 May, 2019 2 commits
  19. 08 May, 2019 1 commit
  20. 06 May, 2019 1 commit
  21. 05 May, 2019 1 commit
  22. 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
  23. 30 Apr, 2019 2 commits
  24. 29 Apr, 2019 1 commit
  25. 28 Apr, 2019 1 commit
  26. 22 Apr, 2019 1 commit
  27. 19 Apr, 2019 2 commits
  28. 18 Apr, 2019 1 commit
  29. 16 Apr, 2019 1 commit
    • kenmatsu4's avatar
      [python] add flag of displaying train loss for lgb.cv() (#2089) · ca85b679
      kenmatsu4 authored
      * [python] displaying train loss during training with lgb.cv
      
      * modifying only display running type when disp_train_loss==True
      
      * Add test for display train loss
      
      * del .idea files
      
      * Rename disp_train_loss to show_train_loss and revise comment.
      
      * Change aug name show_train_loss -> eval_train_metric , and add a test item.
      
      * Modifying comment of eval_train_metric.
      ca85b679
  30. 13 Apr, 2019 1 commit
  31. 11 Apr, 2019 1 commit
  32. 10 Apr, 2019 1 commit
  33. 25 Mar, 2019 1 commit
    • kenmatsu4's avatar
      [python] Use first_metric_only flag for early_stopping function. (#2049) · 011cc90a
      kenmatsu4 authored
      * Use first_metric_only flag for early_stopping function.
      
      In order to apply early stopping with only first metric, applying first_metric_only flag for early_stopping function.
      
      * upcate comment
      
      * Revert "upcate comment"
      
      This reverts commit 1e75a1a415cc16cfbe795181e148ebfe91469be4.
      
      * added test
      
      * fixed docstring
      
      * cut comment and save one line
      
      * document new feature
      011cc90a
  34. 20 Mar, 2019 1 commit