1. 28 Dec, 2022 1 commit
    • Yifei Liu's avatar
      Decouple Boosting Types (fixes #3128) (#4827) · fffd066c
      Yifei Liu authored
      
      
      * add parameter data_sample_strategy
      
      * abstract GOSS as a sample strategy(GOSS1), togetherwith origial GOSS (Normal Bagging has not been abstracted, so do NOT use it now)
      
      * abstract Bagging as a subclass (BAGGING), but original Bagging members in GBDT are still kept
      
      * fix some variables
      
      * remove GOSS(as boost) and Bagging logic in GBDT
      
      * rename GOSS1 to GOSS(as sample strategy)
      
      * add warning about use GOSS as boosting_type
      
      * a little ; bug
      
      * remove CHECK when "gradients != nullptr"
      
      * rename DataSampleStrategy to avoid confusion
      
      * remove and add some ccomments, followingconvention
      
      * fix bug about GBDT::ResetConfig (ObjectiveFunction inconsistencty bet…
      
      * add std::ignore to avoid compiler warnings (anpotential fails)
      
      * update Makevars and vcxproj
      
      * handle constant hessian
      
      move resize of gradient vectors out of sample strategy
      
      * mark override for IsHessianChange
      
      * fix lint errors
      
      * rerun parameter_generator.py
      
      * update config_auto.cpp
      
      * delete redundant blank line
      
      * update num_data_ when train_data_ is updated
      
      set gradients and hessians when GOSS
      
      * check bagging_freq is not zero
      
      * reset config_ value
      
      merge ResetBaggingConfig and ResetGOSS
      
      * remove useless check
      
      * add ttests in test_engine.py
      
      * remove whitespace in blank line
      
      * remove arguments verbose_eval and evals_result
      
      * Update tests/python_package_test/test_engine.py
      
      reduce num_boost_round
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update tests/python_package_test/test_engine.py
      
      reduce num_boost_round
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update tests/python_package_test/test_engine.py
      
      reduce num_boost_round
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update tests/python_package_test/test_engine.py
      
      reduce num_boost_round
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update tests/python_package_test/test_engine.py
      
      reduce num_boost_round
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update tests/python_package_test/test_engine.py
      
      reduce num_boost_round
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update src/boosting/sample_strategy.cpp
      
      modify warning about setting goss as `boosting_type`
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Update tests/python_package_test/test_engine.py
      
      replace load_boston() with make_regression()
      
      remove value checks of mean_squared_error in test_sample_strategy_with_boosting()
      
      * Update tests/python_package_test/test_engine.py
      
      add value checks of mean_squared_error in test_sample_strategy_with_boosting()
      
      * Modify warnning about using goss as boosting type
      
      * Update tests/python_package_test/test_engine.py
      
      add random_state=42 for make_regression()
      
      reduce the threshold of mean_square_error
      
      * Update src/boosting/sample_strategy.cpp
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * remove goss from boosting types in documentation
      
      * Update src/boosting/bagging.hpp
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * Update src/boosting/bagging.hpp
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * Update src/boosting/goss.hpp
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * Update src/boosting/goss.hpp
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * rename GOSS with GOSSStrategy
      
      * update doc
      
      * address comments
      
      * fix table in doc
      
      * Update include/LightGBM/config.h
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * update documentation
      
      * update test case
      
      * revert useless change in test_engine.py
      
      * add tests for evaluation results in test_sample_strategy_with_boosting
      
      * include <string>
      
      * change to assert_allclose in test_goss_boosting_and_strategy_equivalent
      
      * more tolerance in result checking, due to minor difference in results of gpu versions
      
      * change == to np.testing.assert_allclose
      
      * fix test case
      
      * set gpu_use_dp to true
      
      * change --report to --report-level for rstcheck
      
      * use gpu_use_dp=true in test_goss_boosting_and_strategy_equivalent
      
      * revert unexpected changes of non-ascii characters
      
      * revert unexpected changes of non-ascii characters
      
      * remove useless changes
      
      * allocate gradients_pointer_ and hessians_pointer when necessary
      
      * add spaces
      
      * remove redundant virtual
      
      * include <LightGBM/utils/log.h> for USE_CUDA
      
      * check for  in test_goss_boosting_and_strategy_equivalent
      
      * check for identity in test_sample_strategy_with_boosting
      
      * remove cuda  option in test_sample_strategy_with_boosting
      
      * Update tests/python_package_test/test_engine.py
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * Update tests/python_package_test/test_engine.py
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * ResetGradientBuffers after ResetSampleConfig
      
      * ResetGradientBuffers after ResetSampleConfig
      
      * ResetGradientBuffers after bagging
      
      * remove useless code
      
      * check objective_function_ instead of gradients
      
      * enable rf with goss
      
      simplify params in test cases
      
      * remove useless changes
      
      * allow rf with feature subsampling alone
      
      * change position of ResetGradientBuffers
      
      * check for dask
      
      * add parameter types for data_sample_strategy
      Co-authored-by: default avatarGuangda Liu <v-guangdaliu@microsoft.com>
      Co-authored-by: default avatarYu Shi <shiyu_k1994@qq.com>
      Co-authored-by: default avatarGuangdaLiu <90019144+GuangdaLiu@users.noreply.github.com>
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      fffd066c
  2. 14 Jun, 2021 1 commit
  3. 16 Apr, 2021 1 commit
  4. 22 Feb, 2020 1 commit
  5. 08 May, 2019 1 commit
  6. 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
  7. 26 Mar, 2019 1 commit
  8. 22 Jan, 2019 1 commit
  9. 19 May, 2018 1 commit
  10. 02 Jan, 2018 1 commit
  11. 12 Oct, 2017 1 commit
    • Nikita Titov's avatar
      [docs] documentation improvement (#976) · 4aa32967
      Nikita Titov authored
      * fixed typos and hotfixes
      
      * converted gcc-tips.Rmd; added ref to gcc-tips
      
      * renamed files
      
      * renamed Advanced-Topics
      
      * renamed README
      
      * renamed Parameters-Tuning
      
      * renamed FAQ
      
      * fixed refs to FAQ
      
      * fixed undecodable source characters
      
      * renamed Features
      
      * renamed Quick-Start
      
      * fixed undecodable source characters in Features
      
      * renamed Python-Intro
      
      * renamed GPU-Tutorial
      
      * renamed GPU-Windows
      
      * fixed markdown
      
      * fixed undecodable source characters in GPU-Windows
      
      * renamed Parameters
      
      * fixed markdown
      
      * removed recommonmark dependence
      
      * hotfixes
      
      * added anchors to links
      
      * fixed 404
      
      * fixed typos
      
      * added more anchors
      
      * removed sphinxcontrib-napoleon dependence
      
      * removed outdated line in Travis config
      
      * fixed max-width of the ReadTheDocs theme
      
      * added horizontal align to images
      4aa32967
  12. 07 Oct, 2017 1 commit
    • Nikita Titov's avatar
      [docs] move wiki to Read the Docs (#945) · 6d34fb86
      Nikita Titov authored
      * fixed Python-API references
      
      * moved Features section to ReadTheDocs
      
      * fixed index of ReadTheDocs
      
      * moved Experiments section to ReadTheDocs
      
      * fixed capital letter
      
      * fixed citing
      
      * moved Parallel Learning section to ReadTheDocs
      
      * fixed markdown
      
      * fixed Python-API
      
      * fixed link to Quick-Start
      
      * fixed gpu docker README
      
      * moved Installation Guide from wiki to ReadTheDocs
      
      * removed references to wiki
      
      * fixed capital letters in headings
      
      * hotfixes
      
      * fixed non-Unicode symbols and reference to Python API
      
      * fixed citing references
      
      * fixed links in .md files
      
      * fixed links in .rst files
      
      * store images locally in the repo
      
      * fixed missed word
      
      * fixed indent in Experiments.rst
      
      * fixed 'Duplicate implicit target name' message which is successfully
      resolved by adding anchors
      
      * less verbose
      
      * prevented maito: ref creation
      
      * fixed indents
      
      * fixed 404
      
      * fixed 403
      
      * fixed 301
      
      * fixed fake anchors
      
      * fixed file extentions
      
      * fixed Sphinx warnings
      
      * added StrikerRUS profile link to FAQ
      
      * added henry0312 profile link to FAQ
      6d34fb86
  13. 29 Sep, 2017 1 commit
    • Nikita Titov's avatar
      [docs] updates and improvements for documentation (#940) · d292512e
      Nikita Titov authored
      * added python version badge
      
      * fixed typos
      
      * fixed links
      
      * readthedocs doesn't support links with anchor out of box
      
      * fixed table rendering at ReadTheDocs #776#issuecomment-319851551
      
      * fixed table rendering at ReadTheDocs
      
      * added link to Key-Events page
      
      * fixed links
      
      * hotfix
      
      * fixed markdown
      d292512e
  14. 24 Aug, 2017 1 commit
  15. 22 Aug, 2017 1 commit
  16. 18 Aug, 2017 1 commit
    • Tsukasa OMOTO's avatar
      Update docs (#776) · 73e689b7
      Tsukasa OMOTO authored
      * docs: add Advanced-Topic TOC
      
      * docs: add title header to Advanced-Topic.md
      
      * docs: convert development.md to development.rst
      
      `pandoc --columns=200 -f markdown_github -t rst -o development.rst development.md`
      
      * docs: update index.rst
      73e689b7