1. 12 Sep, 2019 1 commit
  2. 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
  3. 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
  4. 01 Sep, 2019 1 commit
    • Nikita Titov's avatar
      [docs][R] added R-package docs generation routines (#2176) · faba6caf
      Nikita Titov authored
      * added R-package docs generation routines
      
      * change theme to be more consistent with sphinx_rtd_theme on main site in terms of color scheme
      
      * placed man folder with old Rd files back
      
      * specify full path to conda and make script more readable by one line - one pkg
      
      * removed commented lines from build_r_site script
      
      * made one line - one argument in build_reference() call
      
      * pin R package versions
      
      * fixed conflict
      faba6caf
  5. 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
  6. 17 Aug, 2019 1 commit
  7. 07 Aug, 2019 1 commit
  8. 06 Aug, 2019 1 commit
  9. 04 Aug, 2019 2 commits
  10. 02 Aug, 2019 1 commit
  11. 01 Aug, 2019 1 commit
  12. 31 Jul, 2019 1 commit
    • 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
  13. 29 Jul, 2019 1 commit
  14. 27 Jul, 2019 2 commits
    • Alexander L. Hayes's avatar
      [docs] 🎨 Sphinx Autosummary for generating Python-API documentation (#2286) · 207bb3ef
      Alexander L. Hayes authored
      * 🎨 `sphinx.ext.autosummary` for generating Python-API summaries
      
      Add `docs/.gitignore` to not track autosummary stubs
      Add `sphinx.ext.autosummary` in `docs/conf.py`
        Add 'members' and 'inherited-members' as default parameters
        Add 'autosummary = True' for setting output with `:toctree:`
      Add `.. autosummary::` tags to replace `.. autoclass::`
      
      Previously the `Python-API.rst` dumped all of the Python API onto
      a single page.
      
      This replaces the Python-API documentation with an index listing
      all modules, and paginates all functions and classes onto
      separate pages.
      
      * ️ Corrections following feedback
      
      Drop `docs/.gitignore` to use the general `.gitignore`
      Add `show-inheritance` to `autodoc_default_flags` in `docs/conf.py`
      Fix `both` to `class` in `autoclass_content` in `docs/conf.py`
      
      * ️ Replacing deprecated Sphinx parameter
      
      Fix deprecated `autodoc_default_flags` to `autodoc_default_options`
      
      * ️ Adding `autodoc_default_flags` in to support early Sphinx versions
      
      Add `autodoc_default_flags` with parameters from
        `autodoc_default_options`
      207bb3ef
    • Nikita Titov's avatar
      5dc1507e
  15. 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
  16. 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
  17. 07 Jul, 2019 1 commit
  18. 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
  19. 13 Jun, 2019 1 commit
  20. 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
  21. 18 May, 2019 1 commit
  22. 16 May, 2019 2 commits
  23. 15 May, 2019 3 commits
  24. 12 May, 2019 1 commit
  25. 08 May, 2019 1 commit
  26. 05 May, 2019 1 commit
    • Nikita Titov's avatar
      [ci][docs] generate docs for C API (#2059) · cfcc020e
      Nikita Titov authored
      * use file to install deps for docs
      
      * added C_API docs
      
      * use breathe without exhale
      
      * added missed params descriptions and make Doxygen fail for warnings
      
      * escape char hotfix
      
      * ignore unknown directive for rstcheck
      
      * better handle env variable
      
      * hotfix for 'Unknown directive type' error with C_API=NO
      
      * Update .gitignore
      
      * fixed pylint
      
      * use already defined constants in conf.py
      
      * do not suppress Doxygen's output
      
      * addressed review comments
      
      * removed unneeded import
      cfcc020e
  27. 04 May, 2019 1 commit
  28. 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
  29. 30 Apr, 2019 1 commit
  30. 29 Apr, 2019 1 commit
  31. 28 Apr, 2019 1 commit
  32. 26 Apr, 2019 1 commit
    • Nikita Titov's avatar
      [ci] hotfixes (#2132) · 044a39d0
      Nikita Titov authored
      * Update Features.rst
      
      * Update .appveyor.yml
      
      * Update test_windows.ps1
      
      * Update test_windows.ps1
      
      * Update .appveyor.yml
      
      * Update test_windows.ps1
      
      * Update .appveyor.yml
      044a39d0
  33. 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
  34. 18 Apr, 2019 1 commit
  35. 11 Apr, 2019 1 commit