- 08 Aug, 2022 1 commit
-
-
Thomas J. Fan authored
MAINT Prefix NUMERIC_TYPES to make it a internal object
-
- 07 Aug, 2022 1 commit
-
-
James Lamb authored
-
- 03 Aug, 2022 1 commit
-
-
Nikita Titov authored
-
- 30 Jul, 2022 2 commits
-
-
Miguel Ángel Cárdenas authored
* refactor:
🎨 add statuc typing to a subset of basic functions * refactor:🎨 add statuc typing to a subset of basic functions * revert black format on python basic functions file * style:🎨 updating typing for c_array function * branch rebase * fix number of changed lines * Update python-package/lightgbm/basic.py Co-authored-by:Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
James Lamb <jaylamb20@gmail.com> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
José Morales authored
* dump sorted parameter aliases * update lgb.check.wrapper_param * update _choose_param_value to look like lgb.check.wrapper_param * apply suggestions from review * reduce diff * move DumpAliases to config * remove unnecessary check * restore parameter check
-
- 28 Jul, 2022 2 commits
-
-
James Lamb authored
* [python-package] add more type hints on Booster * add return to Callable * Apply suggestions from code review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
James Lamb authored
-
- 21 Jul, 2022 1 commit
-
-
Scott Votaw authored
* Adjust LGBM_DatasetCreateFromSampledColumn to handle distributed data better * linting fix * switch to 1 API with breaking change * Fix pything native call * more python test fixes
-
- 10 Jul, 2022 1 commit
-
-
James Lamb authored
* [python-package] add type hints on Booster.update() * add __boost()
-
- 07 Jul, 2022 2 commits
-
-
James Lamb authored
-
James Lamb authored
-
- 03 Jul, 2022 1 commit
-
-
José Morales authored
add validate_features to refit
-
- 01 Jul, 2022 1 commit
-
-
James Lamb authored
* [python-package] add type hints on predict() methods * formatting
-
- 28 Jun, 2022 1 commit
-
-
James Lamb authored
-
- 27 Jun, 2022 1 commit
-
-
José Morales authored
* check feature names and order in predict with dataframe * slice df in predict to remove the target * scramble features * handle int column names * only change column order when needed * include validate_features param in booster and sklearn estimators * document validate_features argument * use all_close in preds checks and check for assertion error to compare different arrays * perform remapping and checks in cpp * remove extra logs * fixes * revert cpp * proposal * remove extra arg * lint * restore _data_from_pandas arguments * Apply suggestions from code review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * move data conversion to Predictor.predict * use Vector2Ptr Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
- 26 Jun, 2022 1 commit
-
-
Nikita Titov authored
Update basic.py
-
- 23 Jun, 2022 1 commit
-
-
James Lamb authored
[python-package] add more hints on Booster
-
- 19 Jun, 2022 2 commits
-
-
James Lamb authored
-
James Lamb authored
* [python] preserve None in _choose_param_value() * Update python-package/lightgbm/basic.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
- 12 Jun, 2022 1 commit
-
-
James Lamb authored
-
- 05 Jun, 2022 2 commits
-
-
James Lamb authored
* [python] add more type hints in basic.py * Update python-package/lightgbm/basic.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
José Morales authored
* dont copy dataframe on rename * test with feature_name and 'auto'
-
- 24 May, 2022 1 commit
-
-
Nikita Titov authored
* Update basic.py * Update test_engine.py * Add return type annotation
-
- 22 May, 2022 1 commit
-
-
José Morales authored
[python-package] make a shallow copy when replacing categorical features with codes (fixes #4596) (#5225)
-
- 17 May, 2022 1 commit
-
-
José Morales authored
* allow using feature names when retrieving number of bins * unname vector * use default feature names when not defined * lint * apply suggestions * remove extra comma * add test with categorical feature * make feature names sync more transparent
-
- 30 Apr, 2022 1 commit
-
-
Nikita Titov authored
-
- 22 Apr, 2022 1 commit
-
-
Miguel Trejo Marrufo authored
[python-package] remove 'fobj' in favor of passing custom objective function in params (fixes #3244) (#5052) * feat: support custom metrics in params * feat: support objective in params * test: custom objective and metric * fix: imports are incorrectly sorted * feat: convert eval metrics str and set to list * feat: convert single callable eval_metric to list * test: single callable objective in params Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * feat: callable fobj in basic cv function Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * test: cv support objective callable Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * fix: assert in cv_res Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * docs: objective callable in params Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * recover test_boost_from_average_with_single_leaf_trees Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * linters fail Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * remove metrics helper functions Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * feat: choose objective through _choose_param_values Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * test: test objective through _choose_param_values Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * test: test objective is callabe in train Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * test: parametrize choose_param_value with objective aliases Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * test: cv booster metric is none Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * fix: if string and callable choose callable Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * test train uses custom objective metrics Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * test: cv uses custom objective metrics Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * refactor: remove fobj parameter in train and cv Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * refactor: objective through params in sklearn API Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * custom objective function in advanced_example Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * fix whitespackes lint * objective is none not a particular case for predict method Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * replace scipy.expit with custom implementation Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * test: set num_boost_round value to 20 Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * fix: custom objective default_value is none Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * refactor: remove self._fobj Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * custom_objective default value is None Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * refactor: variables name reference dummy_obj Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * linter errors * fix: process objective parameter when calling predict Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com> * linter errors * fix: objective is None during predict call Signed-off-by:
Miguel Trejo <armando.trejo.marrufo@gmail.com>
-
- 13 Apr, 2022 1 commit
-
-
Nikita Titov authored
[python] Use predefined constant in feature importance type comparison instead of raw int literal (#5148)
-
- 02 Apr, 2022 1 commit
-
-
José Morales authored
-
- 28 Mar, 2022 1 commit
-
-
RustingSword authored
* [python] allow to register any custom logger * allow customizable logging method name; add unit test * [python] allow to register any custom logger * allow customizable logging method name; add unit test * update tests * fix lint error * remove unused method * fix docstring style Co-authored-by:gongxudong <gongxudong@kuaishou.com>
-
- 15 Mar, 2022 2 commits
-
-
José Morales authored
* expose FeatureNumBin in C api * parametrize min_data_in_bin and add test with max_bin_by_feature * include feature_num_bin in R package * add suggestion from review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * update error message and lint * lint * add call method * minor improvements in tests * add suggestions from review * lint * rename argument to feature in python and r packages Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
Henry Sorsky authored
* better logging of column datatypes * update to checking function * fix typo * Update python-package/lightgbm/basic.py Co-authored-by:
José Morales <jmoralz92@gmail.com> * Update python-package/lightgbm/basic.py Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> Co-authored-by:
José Morales <jmoralz92@gmail.com> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
- 06 Mar, 2022 1 commit
-
-
Miguel Trejo Marrufo authored
* docs: booster eval methods accept list of callables * docs: remove extra space
-
- 26 Feb, 2022 1 commit
-
-
Nikita Titov authored
[python] fixes for supporting 2d numpy arrays for predictions, grads and hess in multiclass custom objective and eval (#5030) * fixes for supporting 2d numpy arrays for predictions, grads and hess in multiclass custom objective * Apply suggestions from code review Co-authored-by:
José Morales <jmoralz92@gmail.com> Co-authored-by:
José Morales <jmoralz92@gmail.com>
-
- 24 Feb, 2022 1 commit
-
-
José Morales authored
* map nullable dtypes to regular float dtypes * cast x3 to float after introducing missing values * add test for regular dtypes * use .astype and then values. update nullable_dtypes test and include test for regular numpy dtypes * more specific allowed dtypes. test no copy when single float dtype df * use np.find_common_type. set np.float128 to None when it isn't supported * set default as type(None) * move tests that use lgb.train to test_engine * include np.float32 when finding common dtype * Apply suggestions from code review Co-authored-by:
Nikita Titov <nekit94-08@mail.ru> * add linebreak Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
-
- 23 Feb, 2022 2 commits
-
-
Miguel Trejo Marrufo authored
* docs: weight parameter non-negative * docs: weights non negative only for train data * docs: weights should be non negative for validation data * typo in html render * docs: brief weights non-negative description
-
José Morales authored
[python-package] use 2d collections for predictions, grads and hess in multiclass custom objective (#4925) * reshape predictions, grad and hess in multiclass custom objective * add sklearn test. move custom obj to utils. docs for numpy * use num_model_per_iteration to get num_classes * update docs and dask multiclass custom objective test * move reshaping to __inner_predict. add test for feval * add missing note. remove extra line
-
- 20 Feb, 2022 1 commit
-
-
José Morales authored
* clarify that categoricals will be converted to ints and not that they should be ints in the input data * update remaining sections * update config.h * add suggestions
-
- 17 Feb, 2022 1 commit
-
-
James Lamb authored
-
- 16 Feb, 2022 1 commit
-
-
Nikita Titov authored
-