- 26 Feb, 2019 1 commit
-
-
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
-
- 24 Feb, 2019 1 commit
-
-
Nikita Titov authored
[docs] added notes about params usage when data is provided via path and removed unused param (#2024) * added notes about params usage when data is provided via path * fixed init score and valid init score params note * fixed binary params description
-
- 06 Feb, 2019 1 commit
-
-
Nikita Titov authored
-
- 03 Feb, 2019 1 commit
-
-
Guolin Ke authored
-
- 02 Feb, 2019 2 commits
-
-
Nikita Titov authored
-
Nikita Titov authored
-
- 31 Jan, 2019 1 commit
-
-
Guolin Ke authored
-
- 30 Jan, 2019 2 commits
- 29 Jan, 2019 1 commit
-
-
Guolin Ke authored
-
- 23 Jan, 2019 1 commit
-
-
Guolin Ke authored
* add warnings for override parameters of Dataset * fix pep8 * add feature_penalty * refactor * add R's code * Update basic.py * Update basic.py * fix parameter bug * Update lgb.Dataset.R * fix a bug
-
- 22 Jan, 2019 1 commit
-
-
James Lamb authored
* fixed minor typos in documentation * fixed typo in gpu_tree_learner.cpp * Update .gitignore
-
- 18 Jan, 2019 1 commit
-
-
Nikita Titov authored
* removed comparison warning * fixed spacing
-
- 16 Jan, 2019 2 commits
-
-
Shahzad Lone authored
File: [LightGBM//src/io/dataset.cpp] Function: [138:FastFeatureBundling(...)] Reserving vectors where we already know the size to save on reallocation costs. Also removed a variable that was unnecessary.
-
remcob-gr authored
When loading a binary file, take feature penalty and monotone constraints from config if given there. (#1881) * When loading a binary file, take feature penalty from config if given there. * When loading a binary file, take feature penalty from config if given there. * Fix crash when num_features != num_total_features and feature_contri is given. * Apply the same logic to monotone_types_. * Fix indentation
-
- 20 Dec, 2018 1 commit
-
-
Lingyi Hu authored
-
- 17 Dec, 2018 1 commit
-
-
Guolin Ke authored
* fix RF's bugs * fix tests * rollback num_iterations * fix a bug and reduce memory costs * reduce memory cost
-
- 14 Dec, 2018 1 commit
-
-
yvandenis authored
Init has been updated to allow for feature_fraction == 1.0f but the change has not been copyed in the ResetConfig function.
-
- 10 Dec, 2018 1 commit
-
-
Guolin Ke authored
* [CPP] disable early stopping in dart * fix compile error
-
- 30 Nov, 2018 1 commit
-
-
Guolin Ke authored
-
- 25 Nov, 2018 2 commits
- 23 Nov, 2018 1 commit
-
-
Dmitry Khominich authored
-
- 06 Nov, 2018 3 commits
-
-
Guolin Ke authored
-
Guolin Ke authored
-
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
-
- 01 Nov, 2018 2 commits
-
-
Guolin Ke authored
-
Nikita Titov authored
* renamed helper folder to helpers * added library dependencies check
-
- 31 Oct, 2018 1 commit
-
-
Guolin Ke authored
-
- 27 Oct, 2018 1 commit
-
-
Qiwei Ye authored
* quick fix for better understanding * update document for forced split * typo fix * made NOTE bold * made Note bold
-
- 26 Oct, 2018 1 commit
-
-
Guolin Ke authored
-
- 10 Oct, 2018 1 commit
-
-
Guolin Ke authored
* fix ndcg consistency. * more stable sorts * Update gbdt_model_text.cpp * Update dataset.cpp * Update gbdt_model_text.cpp
-
- 09 Oct, 2018 1 commit
-
-
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
-
- 07 Oct, 2018 1 commit
-
-
gy741 authored
-
- 03 Oct, 2018 1 commit
-
-
Nikita Titov authored
* dowgrade gcc version on Azure * small fixes, update Artifacts condition for easy debug. * Update CMakeLists.txt * Update CMakeLists.txt * Update CMakeLists.txt * Update setup.sh * Update CMakeLists.txt * Update .vsts-ci.yml * Update CMakeLists.txt * remove the lgamma * update comment * make sure that we use appropriate compiler
-
- 29 Sep, 2018 1 commit
-
-
Guolin Ke authored
* add indexs in shuffle model. * fix pep * fix bug
-
- 28 Sep, 2018 1 commit
-
-
Guolin Ke authored
-
- 15 Sep, 2018 1 commit
-
-
Nikita Titov authored
-
- 11 Sep, 2018 2 commits