- 15 Feb, 2020 1 commit
-
-
Nikita Titov authored
-
- 06 Feb, 2020 1 commit
-
-
zhangqibot authored
* add property: feature_name_ in lgb sklearn api * modify the comments * fix linting errors and add info about new attribute: feature_name_
-
- 03 Feb, 2020 2 commits
-
-
Nikita Titov authored
-
Nikita Titov authored
* removed duplicated code from language wrappers * removed check for resetting metric
-
- 14 Jan, 2020 2 commits
-
-
Nikita Titov authored
* transfer and enhance test for trees_to_dataframe * fixed bug in Python 2
-
Guolin Ke authored
* Update metadata.cpp * add version for training set, for efficiently update label/weight/... during training. * Update lgb.Booster.R
-
- 10 Jan, 2020 1 commit
-
-
Patrick Ford authored
* trees_to_df method and unit test added. PEP 8 fixes for integration. * Co-Authored-By: Nikita Titov <nekit94-08@mail.ru> Post-review changes * changes from second round of reviews from striker * third round of review. formatting and added 2 more tests * replaced pandas dot attribute accessor with string attribute accessor * dealt with single tree edge case and minor refactor of tests * slight refactor for checking if tree is a single node
-
- 02 Jan, 2020 1 commit
-
-
Nikita Titov authored
-
- 29 Dec, 2019 1 commit
-
-
Guolin Ke authored
* warning for init_score in save_binary fix #2639 * Update metadata.cpp * added info into docs Co-authored-by:Nikita Titov <nekit94-08@mail.ru>
-
- 19 Dec, 2019 1 commit
-
-
Nikita Titov authored
-
- 09 Dec, 2019 1 commit
-
-
Nikita Titov authored
* clean code * clean code * do not modify args in fit function * added test
-
- 08 Dec, 2019 1 commit
-
-
duckladydinh authored
I believe that this should be a typo, right?
-
- 05 Dec, 2019 2 commits
-
-
aaiyer authored
* allow python sklearn interface's fit() to pass init_model to train() * Fix whitespace issues, and change ordering of parameters to be backward compatible * Formatting fixes * allow python sklearn interface's fit() to pass init_model to train() * Fix whitespace issues, and change ordering of parameters to be backward compatible * Formatting fixes * Recognize LGBModel objects for init_model * simplified condition * updated docstring * added test
-
Nikita Titov authored
-
- 27 Oct, 2019 1 commit
-
-
Nikita Titov authored
-
- 22 Oct, 2019 1 commit
-
-
Nikita Titov authored
* handle aliases centralized * convert aliases dict to class
-
- 21 Oct, 2019 1 commit
-
-
Guolin Ke authored
* Update sparse_bin.hpp * check sorted in c_api * fix python package * fix tests * fix test * std::is_sorted * Update basic.py
-
- 13 Oct, 2019 1 commit
-
-
Jagadeesh Kotra authored
* dpi option in plot_importance * pep fix * added dpi to plot_metric, plot_tree * add dpi to plot_split_value_histogram * removed trailing white space in docstring
-
- 01 Oct, 2019 1 commit
-
-
Nikita Titov authored
-
- 26 Sep, 2019 4 commits
-
-
Nikita Titov authored
* avoid copy where possible * use precise type for importance type * removed pointless code * simplify sparse pandas Series conversion * more memory savings * always force type conversion for 1-D arrays * one more copy=False
-
Nikita Titov authored
-
Nikita Titov authored
* make dump_text() private * updated test
-
Nikita Titov authored
-
- 15 Sep, 2019 1 commit
-
-
kenmatsu4 authored
* Bug fix for first_metric_only if the first metric is train metric. * Update bug fix for feval issue. * Disable feval for first_metric_only. * Additional test items. * Fix wrong assertEqual settings & formating. * Change dataset of test. * Fix random seed for test. * Modiry assumed test result due to different sklearn verion between CI and local. * Remove f-string * Applying variable assumed test result for test. * Fix flake8 error. * Modifying in accordance with review comments. * Modifying for pylint. * simplified tests * Deleting error criteria `if eval_metric is None`. * Delete test items of classification. * Simplifying if condition. * Applying first_metric_only for sklearn wrapper. * Modifying test_sklearn for comforming to python 2.x * Fix flake8 error. * Additional fix for sklearn and add tests. * Bug fix and add test cases. * some refactor * fixed lint * fixed lint * Fix duplicated metrics scores to pass the test. * Fix the case first_metric_only not in params. * Converting metrics aliases. * Add comment. * Modify comment for pylint. * Modify comment for pydocstyle. * Using split test set for two eval_set. * added test case for metric aliases and length checks * minor style fixes * fixed rmse name and alias position * Fix the case metric=[] * Fix using env.model._train_data_name * Fix wrong test condition. * Move initial process to _init() func. * Modify test setting for test_sklearn & training data matching on callback.py * test_sklearn.py -> A test case for training is wrong, so fixed. * callback.py -> A condition of if statement for detecting test dataset is wrong, so fixed. * Support composite name metrics. * Remove metric check process & reduce redundant test cases. For #2273 fixed not only the order of metrics in cpp, removing metric check process at callback.py * Revised according to the matters pointed out on a review. * increased code readability * Fix the issue of order of validation set. * Changing to OrderdDict from default dict for score result. * added missed check in cv function for first_metric_only and feval co-occurrence * keep order only for metrics but not for datasets in best_score * move OrderedDict initialization to init phase * fixed minor printing issues * move first metric detection to init phase and split can be performed without checks * split only once during callback * removed excess code * fixed typo in variable name and squashed ifs * use setdefault * hotfix * fixed failing test * refined tests * refined sklearn test * Making "feval" effective on early stopping. * allow feval and first_metric_only for cv * removed unused code * added tests for feval * fixed printing * add note about whitespaces in feval name * Modifying final iteration process in case valid set is training data.
-
- 12 Sep, 2019 1 commit
-
-
Nikita Titov authored
* updated default value for precision in plot_importance function * fixed typo * updated example notebook
-
- 09 Sep, 2019 1 commit
-
-
Nikita Titov authored
* keep consistent state for Dataset fields * hotfix
-
- 08 Sep, 2019 1 commit
-
-
CharlesAuguste authored
* Some basic changes to the plot of the trees to make them readable. * Squeezed the information in the nodes. * Added colouring when a dictionnary mapping the features to the constraints is passed. * Fix spaces. * Added data percentage as an option in the nodes. * Squeezed the information in the leaves. * Important information is now in bold. * Added a legend for the color of monotone splits. * Changed "split_gain" to "gain" and "internal_value" to "value". * Sqeezed leaves a bit more. * Changed description in the legend. * Revert "Sqeezed leaves a bit more." This reverts commit dd8bf14a3ba604b0dfae3b7bb1c64b6784d15e03. * Increased the readability for the gain. * Tidied up the legend. * Added the data percentage in the leaves. * Added the monotone constraints to the dumped model. * Monotone constraints are now specified automatically when plotting trees. * Raise an exception instead of the bug that was here before. * Removed operators on the branches for a clearer design. * Small cleaning of the code. * Setting a monotone constraint on a categorical feature now returns an exception instead of doing nothing. * Fix bug when monotone constraints are empty. * Fix another bug when monotone constraints are empty. * Variable name change. * Added is / isn't on every edge of the trees. * Fix test "tree_create_digraph". * Add new test for plotting trees with monotone constraints. * Typo. * Update documentation of categorical features. * Typo. * Information in nodes more explicit. * Used regular strings instead of raw strings. * Small refactoring. * Some cleaning. * Added future statement. * Changed output for consistency. * Updated documentation. * Added comments for colors. * Changed text on edges for more clarity. * Small refactoring. * Modified text in leaves for consistency with nodes. * Updated default values and documentaton for consistency. * Replaced CHECK with Log::Fatal for user-friendliness. * Updated tests. * Typo. * Simplify imports. * Swapped count and weight to improve readibility of the leaves in the plotted trees. * Thresholds in bold. * Made information in nodes written in a specific order. * Added information to clarify legend. * Code cleaning.
-
- 07 Sep, 2019 2 commits
-
-
Nikita Titov authored
-
Nikita Titov authored
-
- 06 Sep, 2019 1 commit
-
-
Guolin Ke authored
-
- 13 Aug, 2019 1 commit
-
-
Nikita Titov authored
* reworked pandas dtypes mapper * added tests * added sparsity support for new version of pandas * fixed tests for old pandas * check pd.Series for bad dtypes as well * enhanced tests * fixed pylint
-
- 07 Aug, 2019 1 commit
-
-
Madiyar authored
Otherwise, it would print `basic.py:762: UserWarning: categorical_feature in param dict is overridden.`. Because when updating the params for a validation test, the updated params for the train test was used which contains `'categorical_column'`.
-
- 31 Jul, 2019 1 commit
-
-
Guolin Ke authored
-
- 24 Jul, 2019 1 commit
-
-
Guolin Ke authored
* add weight in tree model output * fix bug * updated Python plotting part to handle weights
-
- 12 Jul, 2019 1 commit
-
-
Guolin Ke authored
* fix init_model with subset * Update basic.py * added test * fix predictor naming issue * Update basic.py * fix bug * fix pylint * fix comments * Update basic.py * Update basic.py * updated test * fixed bug * fixed lint * fix warning * add get_data before initial prediction * refine the warning in get_data * refine warning * Update basic.py
-
- 07 Jul, 2019 1 commit
-
-
Guolin Ke authored
-
- 04 Jun, 2019 2 commits
-
-
Nikita Titov authored
* fixed class_weight * fixed lint * added test * hotfix
-
Nikita Titov authored
* Update sklearn.py * Update parameter_generator.py
-
- 02 Jun, 2019 1 commit
-
-
Aidan Cooper authored
Replace "Traninig" with "Training"
-
- 27 May, 2019 1 commit
-
-
Nikita Titov authored
[python] fixed picklability of sklearn models with custom obj and updated docstings for custom obj (#2191) * refactored joblib test * fixed picklability of sklearn models with custom obj and updated docstings for custom obj * pickled model should be able to predict without refitting
-