1. 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
  2. 25 Jul, 2019 2 commits
  3. 24 Jul, 2019 2 commits
  4. 23 Jul, 2019 1 commit
  5. 19 Jul, 2019 1 commit
  6. 18 Jul, 2019 1 commit
  7. 17 Jul, 2019 1 commit
  8. 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
  9. 09 Jul, 2019 1 commit
  10. 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
  11. 07 Jul, 2019 3 commits
  12. 01 Jul, 2019 1 commit
  13. 30 Jun, 2019 1 commit
  14. 20 Jun, 2019 2 commits
  15. 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
  16. 17 Jun, 2019 2 commits
  17. 13 Jun, 2019 2 commits
  18. 05 Jun, 2019 1 commit
  19. 04 Jun, 2019 2 commits
  20. 02 Jun, 2019 2 commits
  21. 28 May, 2019 1 commit
  22. 27 May, 2019 2 commits
    • Laurae's avatar
      [R-package] Fix best_iter and best_score (#2159) · f70a0532
      Laurae authored
      * Callback for NA handling
      
      * lgb.Booster default score => NA
      
      * lgb.cv default best score => NA
      
      * Fix back callback
      
      * lgb.train with booster check at the end
      
      manual tests done: 
      * With early stopping + with validation set
      * With early stopping + without validation set
      * Without early stopping + with validation set
      * Without early stopping + without validation set
      
      And with multiple metrics / validation sets.
      
      * lgb.cv with booster check at the end
      
      manual tests done: 
      * With early stopping + with validation set
      * With early stopping + without validation set
      * Without early stopping + with validation set
      * Without early stopping + without validation set
      
      And with multiple metrics / validation sets.
      f70a0532
    • Nikita Titov's avatar
      [python] fixed picklability of sklearn models with custom obj and updated... · 2459362a
      Nikita Titov authored
      [python] fixed picklability of sklearn models with custom obj and updated docstings for custom obj (#2191)
      
      * refactored joblib test
      
      * fixed picklability of sklearn models with custom obj and updated docstings for custom obj
      
      * pickled model should be able to predict without refitting
      2459362a
  23. 26 May, 2019 2 commits
    • Guolin Ke's avatar
      [docs] reorg the doc in main page (#2192) · e5b6e50e
      Guolin Ke authored
      e5b6e50e
    • 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
  24. 25 May, 2019 1 commit
  25. 22 May, 2019 1 commit
  26. 18 May, 2019 2 commits
  27. 16 May, 2019 1 commit