- 14 Mar, 2019 1 commit
-
-
Nikita Titov authored
* updated gitignore * updated tree index with cat feature
-
- 09 Mar, 2019 2 commits
-
-
Nikita Titov authored
* added get_split_value_histogram method * added param for ordinary return value
-
remcob-gr authored
-
- 07 Mar, 2019 2 commits
-
-
Erling Haugstad authored
-
Nikita Titov authored
* fixed number of tests in pytest * fixed data shape and removed unused code * refactored tests * hotfix * hotfix
-
- 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
-
- 21 Feb, 2019 1 commit
-
-
Nikita Titov authored
-
- 20 Feb, 2019 1 commit
-
-
Ilya Matiach authored
* added LightGBM SWIG wrappers for macOS and updated docs * updated installation instructions based on comments * updated based on comments
-
- 18 Feb, 2019 3 commits
-
-
Harry Moreno authored
-
Harry Moreno authored
* it is confusing to name validation data `test_data` especially as terms like train, validation, test splits are common in ML. Change variable name in python quick start.
-
Nikita Titov authored
-
- 07 Feb, 2019 1 commit
-
-
Laurae authored
-
- 06 Feb, 2019 1 commit
-
-
Nikita Titov authored
-
- 05 Feb, 2019 2 commits
- 04 Feb, 2019 2 commits
- 03 Feb, 2019 2 commits
- 02 Feb, 2019 4 commits
-
-
Nikita Titov authored
-
Nikita Titov authored
* refined command status check * refined Appveyor * redirect all warnings to stdout
-
Nikita Titov authored
-
Nikita Titov authored
* added OpenMP options for python-package installation * fixed grammar typo
-
- 31 Jan, 2019 1 commit
-
-
Guolin Ke authored
-
- 30 Jan, 2019 3 commits
-
-
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
-
Nikita Titov authored
* added test for huge string model * fixed tree sizes field * simplified model structure * fixed test and added try/except
-
Guolin Ke authored
-
- 29 Jan, 2019 1 commit
-
-
Guolin Ke authored
-
- 28 Jan, 2019 1 commit
-
-
Laurae authored
-
- 27 Jan, 2019 2 commits
-
-
Nikita Titov authored
-
Nikita Titov authored
[tests][python] added tests for metrics' behavior and fixed case for multiclass task with custom objective (#1954) * added metrics test for standard interface * simplified code * less trees * less trees * use dummy custom objective and metric * added tests for multiclass metrics aliases * fixed bug in case of custom obj and num_class > 1 * added metric test for sklearn wrapper
-
- 26 Jan, 2019 1 commit
-
-
Tsukasa OMOTO authored
* Fix build on macOS Mojave Fixed #1898 - https://iscinumpy.gitlab.io/post/omp-on-high-sierra/ - https://cliutils.gitlab.io/modern-cmake/chapters/packages/OpenMP.html - https://github.com/Homebrew/homebrew-core/pull/20589 * update setup.py * update docs * fix setup.py * update docs * update docs * update setup.py * update docs
-
- 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
-
- 21 Jan, 2019 1 commit
-
-
Nikita Titov authored
* Added links to the libraries used. * Fixing the header * Fixes * ot -> to
-
- 20 Jan, 2019 3 commits
-
-
Guolin Ke authored
-
Nikita Titov authored
-
Dan Houghton authored
* Correcting lgb.prepare output comment * updated Roxygen files
-
- 19 Jan, 2019 1 commit
-
-
Maximilian Eber authored
* Fix multiclass custom objective demo * Use option not to boost from average instead of setting init score explicitly * Reference #1846 when turning off boost_from_average * Add trailing whitespace
-