1. 23 Aug, 2022 2 commits
  2. 15 Aug, 2022 1 commit
  3. 11 Aug, 2022 1 commit
  4. 10 Aug, 2022 1 commit
    • José Morales's avatar
      [python-package] highlight the path a sample takes through a tree in... · 680f4b08
      José Morales authored
      
      [python-package] highlight the path a sample takes through a tree in `plot_tree` and `create_tree_digraph` (fixes #4784) (#5119)
      
      * highlight path in plot_tree
      
      * lint
      
      * rename x to example_case. support categorical features. add test
      
      * lint
      
      * check for exactly one row. test empty example_case
      
      * Apply suggestions from code review
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * handle missing values in numeric splits
      
      * remove literal. add categorical split function
      
      * make categorical feature more important. lint
      
      * add enum. update categorical split. apply suggestions
      
      * update numeric split decision
      
      * lint
      
      * Update python-package/lightgbm/plotting.py
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      680f4b08
  5. 08 Aug, 2022 1 commit
  6. 07 Aug, 2022 1 commit
  7. 03 Aug, 2022 1 commit
  8. 30 Jul, 2022 2 commits
  9. 28 Jul, 2022 2 commits
  10. 21 Jul, 2022 1 commit
  11. 10 Jul, 2022 1 commit
  12. 07 Jul, 2022 2 commits
  13. 03 Jul, 2022 1 commit
  14. 01 Jul, 2022 1 commit
  15. 28 Jun, 2022 1 commit
  16. 27 Jun, 2022 1 commit
    • José Morales's avatar
      [python-package] check feature names in predict with dataframe (fixes #812) (#4909) · bdb02e05
      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: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * move data conversion to Predictor.predict
      
      * use Vector2Ptr
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      bdb02e05
  17. 26 Jun, 2022 1 commit
  18. 23 Jun, 2022 1 commit
  19. 19 Jun, 2022 2 commits
  20. 12 Jun, 2022 1 commit
  21. 05 Jun, 2022 2 commits
  22. 24 May, 2022 1 commit
  23. 22 May, 2022 1 commit
  24. 17 May, 2022 1 commit
  25. 30 Apr, 2022 1 commit
  26. 22 Apr, 2022 1 commit
  27. 13 Apr, 2022 1 commit
  28. 02 Apr, 2022 1 commit
  29. 28 Mar, 2022 1 commit
  30. 15 Mar, 2022 2 commits
  31. 06 Mar, 2022 1 commit
  32. 26 Feb, 2022 1 commit
  33. 24 Feb, 2022 1 commit
    • José Morales's avatar
      [python-package] add support for pandas nullable types (fixes #4173) (#4927) · f1856956
      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: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * add linebreak
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      f1856956