"tests/vscode:/vscode.git/clone" did not exist on "bbbad73db3006ad75db21d0947b50a97610d4d90"
  1. 06 May, 2019 1 commit
  2. 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
  3. 30 Apr, 2019 1 commit
  4. 28 Apr, 2019 1 commit
  5. 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
  6. 18 Apr, 2019 1 commit
  7. 13 Apr, 2019 2 commits
  8. 11 Apr, 2019 1 commit
  9. 04 Apr, 2019 1 commit
    • remcob-gr's avatar
      Add Cost Effective Gradient Boosting (#2014) · 76102284
      remcob-gr authored
      * Add configuration parameters for CEGB.
      
      * Add skeleton CEGB tree learner
      
      Like the original CEGB version, this inherits from SerialTreeLearner.
      Currently, it changes nothing from the original.
      
      * Track features used in CEGB tree learner.
      
      * Pull CEGB tradeoff and coupled feature penalty from config.
      
      * Implement finding best splits for CEGB
      
      This is heavily based on the serial version, but just adds using the coupled penalties.
      
      * Set proper defaults for cegb parameters.
      
      * Ensure sanity checks don't switch off CEGB.
      
      * Implement per-data-point feature penalties in CEGB.
      
      * Implement split penalty and remove unused parameters.
      
      * Merge changes from CEGB tree learner into serial tree learner
      
      * Represent features_used_in_data by a bitset, to reduce the memory overhead of CEGB, and add sanity checks for the lengths of the penalty vectors.
      
      * Fix bug where CEGB would incorrectly penalise a previously used feature
      
      The tree learner did not update the gains of previously computed leaf splits when splitting a leaf elsewhere in the tree.
      This caused it to prefer new features due to incorrectly penalising splitting on previously used features.
      
      * Document CEGB parameters and add them to the appropriate section.
      
      * Remove leftover reference to cegb tree learner.
      
      * Remove outdated diff.
      
      * Fix warnings
      
      * Fix minor issues identified by @StrikerRUS.
      
      * Add docs section on CEGB, including citation.
      
      * Fix link.
      
      * Fix CI failure.
      
      * Add some unit tests
      
      * Fix pylint issues.
      
      * Fix remaining pylint issue
      76102284
  10. 01 Apr, 2019 1 commit
  11. 26 Mar, 2019 1 commit
  12. 25 Mar, 2019 1 commit
    • mjmckp's avatar
      Add API method LGBM_BoosterPredictForMats (#2008) · 823fc03c
      mjmckp authored
      * Fix index out-of-range exception generated by BaggingHelper on small datasets.
      
      Prior to this change, the line "score_t threshold = tmp_gradients[top_k - 1];" would generate an exception, since tmp_gradients would be empty when the cnt input value to the function is zero.
      
      * Update goss.hpp
      
      * Update goss.hpp
      
      * Add API method LGBM_BoosterPredictForMats which runs prediction on a data set given as of array of pointers to rows (as opposed to existing method LGBM_BoosterPredictForMat which requires data given as contiguous array)
      
      * Fix incorrect upstream merge
      
      * Add link to LightGBM.NET
      
      * Fix indenting to 2 spaces
      
      * Dummy edit to trigger CI
      
      * Dummy edit to trigger CI
      823fc03c
  13. 18 Mar, 2019 1 commit
    • Markus Cozowicz's avatar
      Added additional APIs to better support JNI on Spark (#2032) · beeb6e0f
      Markus Cozowicz authored
      * added API changes required for JNI performance optimizations (e.g. predict is 3-4x faster)
      
      * removed commented variables
      
      * removed commented header
      
      * renamed method to make it obvious it is created for Spark
      
      * fixed comment alignment
      
      * replaced GetPrimitiveArrayCritical with GetIntArrayElements for training. fixed dead-lock on databricks
      beeb6e0f
  14. 26 Feb, 2019 1 commit
    • remcob-gr's avatar
      Add ability to move features from one data set to another in memory (#2006) · 219c943d
      remcob-gr authored
      * Initial attempt to implement appending features in-memory to another data set
      
      The intent is for this to enable munging files together easily, without needing to round-trip via numpy or write multiple copies to disk.
      In turn, that enables working more efficiently with data sets that were written separately.
      
      * Implement Dataset.dump_text, and fix small bug in appending of group bin boundaries.
      
      Dumping to text enables us to compare results, without having to worry about issues like features being reordered.
      
      * Add basic tests for validation logic for add_features_from.
      
      * Remove various internal mapping items from dataset text dumps
      
      These are too sensitive to the exact feature order chosen, which is not visible to the user.
      Including them in tests appears unnecessary, as the data dumping code should provide enough coverage.
      
      * Add test that add_features_from results in identical data sets according to dump_text.
      
      * Add test that booster behaviour after using add_features_from matches that of training on the full data
      
      This checks:
      - That training after add_features_from works at all
      - That add_features_from does not cause training to misbehave
      
      * Expose feature_penalty and monotone_types/constraints via get_field
      
      These getters allow us to check that add_features_from does the right thing with these vectors.
      
      * Add tests that add_features correctly handles feature_penalty and monotone_constraints.
      
      * Ensure add_features_from properly frees the added dataset and add unit test for this
      
      Since add_features_from moves the feature group pointers from the added dataset to the dataset being added to, the added dataset is invalid after the call.
      We must ensure we do not try and access this handle.
      
      * Remove some obsolete TODOs
      
      * Tidy up DumpTextFile by using a single iterator for each feature
      
      This iterators were also passed around as raw pointers without being freed, which is now fixed.
      
      * Factor out offsetting logic in AddFeaturesFrom
      
      * Remove obsolete TODO
      
      * Remove another TODO
      
      This one is debatable, test code can be a bit messy and duplicate-heavy, factoring it out tends to end badly.
      Leaving this for now, will revisit if adding more tests later on becomes a mess.
      
      * Add documentation for newly-added methods.
      
      * Fix whitespace issues identified by pylint.
      
      * Fix a few more whitespace issues.
      
      * Fix doc comments
      
      * Implement deep copying for feature groups.
      
      * Replace awkward std::move usage by emplace_back, and reduce vector size to num_features rather than num_total_features.
      
      * Copy feature groups in addFeaturesFrom, rather than moving them.
      
      * Fix bugs in FeatureGroup copy constructor and ensure source dataset remains usable
      
      * Add reserve to PushVector and PushOffset
      
      * Move definition of Clone into class body
      
      * Fix PR review issues
      
      * Fix for loop increment style.
      
      * Fix test failure
      
      * Some more docstring fixes.
      
      * Remove blank line
      219c943d
  15. 24 Feb, 2019 1 commit
  16. 06 Feb, 2019 1 commit
  17. 02 Feb, 2019 1 commit
  18. 30 Jan, 2019 2 commits
    • Guolin Ke's avatar
      fix nan in eval results (#1973) · feeaf38f
      Guolin Ke authored
      * always save the score of the first round in early stopping
      
      fix #1971
      
      * avoid using std::log on non-positive numbers
      
      * remove unnecessary changes
      
      * add tests
      
      * Update test_sklearn.py
      
      * enhanced tests
      feeaf38f
    • Guolin Ke's avatar
      fix R's overflow (#1960) · 5c399840
      Guolin Ke authored
      5c399840
  19. 23 Jan, 2019 1 commit
  20. 20 Dec, 2018 1 commit
  21. 17 Dec, 2018 1 commit
    • Guolin Ke's avatar
      Fix bugs in RF (#1906) · cba82447
      Guolin Ke authored
      * fix RF's bugs
      
      * fix tests
      
      * rollback num_iterations
      
      * fix a bug and reduce memory costs
      
      * reduce memory cost
      cba82447
  22. 25 Nov, 2018 1 commit
  23. 22 Nov, 2018 1 commit
  24. 01 Nov, 2018 1 commit
  25. 29 Oct, 2018 1 commit
  26. 27 Oct, 2018 1 commit
  27. 10 Oct, 2018 2 commits
  28. 09 Oct, 2018 1 commit
    • Guolin Ke's avatar
      average predictions for constant features (#1735) · c920e634
      Guolin Ke authored
      * average predictions for constant features
      
      * fix possible numerical issues in std::log.
      
      * fix pylint
      
      * fix bugs in c_api
      
      * fix styles
      
      * clean code for multi class
      
      * rewrite test
      
      * fix pylint
      
      * skip test_constant_features
      
      * refine test
      
      * fix tests
      
      * fix tests
      
      * update FAQ
      
      * fix test
      
      * Update FAQ.rst
      c920e634
  29. 29 Sep, 2018 1 commit
  30. 16 Sep, 2018 1 commit
  31. 11 Sep, 2018 1 commit
  32. 06 Sep, 2018 1 commit
  33. 29 Aug, 2018 1 commit
  34. 27 Aug, 2018 2 commits
  35. 25 Aug, 2018 1 commit
    • Guolin Ke's avatar
      add support of refit-decay (#1603) · 2db6377a
      Guolin Ke authored
      * add support of refit-decay
      
      * add refit into c_api
      
      * add test
      
      * update document
      
      * Update basic.py
      
      * Update test_engine.py
      
      * Update basic.py
      
      * Update test_engine.py
      
      * fix comments
      
      * update test
      
      * fix the comments
      
      * Update test_engine.py
      2db6377a
  36. 22 Aug, 2018 1 commit
    • Guolin Ke's avatar
      add start_iteration in model saving (#1565) · 941068ee
      Guolin Ke authored
      * add start_iteration in model saving
      
      * fix test
      
      * shuffle models ability
      
      * fix bug
      
      * update document
      
      * refine
      
      * Update engine.py
      
      * Update basic.py
      
      * fix comments
      
      * fix comment
      941068ee