1. 07 Jul, 2019 1 commit
  2. 27 May, 2019 1 commit
  3. 22 Apr, 2019 1 commit
  4. 19 Apr, 2019 2 commits
  5. 13 Apr, 2019 1 commit
  6. 14 Mar, 2019 1 commit
  7. 09 Mar, 2019 1 commit
  8. 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
  9. 21 Feb, 2019 1 commit
  10. 04 Feb, 2019 1 commit
  11. 02 Feb, 2019 1 commit
  12. 23 Jan, 2019 1 commit
  13. 20 Jan, 2019 1 commit
  14. 20 Dec, 2018 1 commit
  15. 22 Oct, 2018 1 commit
  16. 16 Oct, 2018 1 commit
  17. 11 Oct, 2018 1 commit
  18. 09 Oct, 2018 1 commit
  19. 03 Oct, 2018 1 commit
  20. 02 Oct, 2018 2 commits
  21. 29 Sep, 2018 1 commit
  22. 25 Sep, 2018 1 commit
  23. 20 Sep, 2018 2 commits
  24. 11 Sep, 2018 1 commit
  25. 08 Sep, 2018 3 commits
  26. 06 Sep, 2018 1 commit
  27. 01 Sep, 2018 1 commit
  28. 29 Aug, 2018 2 commits
  29. 27 Aug, 2018 1 commit
  30. 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
  31. 24 Aug, 2018 1 commit
  32. 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
  33. 19 Aug, 2018 1 commit
  34. 08 Aug, 2018 1 commit