1. 18 Apr, 2021 1 commit
  2. 12 Apr, 2021 3 commits
  3. 31 Mar, 2021 1 commit
  4. 27 Mar, 2021 1 commit
  5. 25 Mar, 2021 1 commit
  6. 22 Mar, 2021 2 commits
  7. 21 Mar, 2021 1 commit
  8. 19 Mar, 2021 1 commit
  9. 14 Feb, 2021 1 commit
  10. 08 Feb, 2021 1 commit
  11. 07 Feb, 2021 1 commit
    • Nikita Titov's avatar
      [ci][R-package] run R CRAN checks on Solaris by optional workflow (#3913) · ffebc43f
      Nikita Titov authored
      * run R CRAN checks on Solaris by optional workflow
      
      * Update triggering_comments.yml
      
      * Update r_solaris.yml
      
      * Update optional_checks.yml
      
      * Update triggering_comments.yml
      
      * Update run_rhub_solaris_checks.R
      
      * Update r_solaris.yml
      
      * Update run_rhub_solaris_checks.R
      
      * Update r_solaris.yml
      
      * simplify code
      
      * fix lint and address review comments
      ffebc43f
  12. 25 Jan, 2021 2 commits
  13. 22 Jan, 2021 1 commit
    • Nikita Titov's avatar
      Move compute and eigen libraries to external_libs folder (#3809) · 6bb6164e
      Nikita Titov authored
      * move all submodules to external_libs folder
      
      * Update .Rbuildignore
      
      * Update MANIFEST.in
      
      * Update .appveyor.yml
      
      * Update CMakeLists.txt
      
      * Update build_r.R
      
      * Update test.sh
      
      * Update setup.py
      
      * Update CMakeLists.txt
      
      * Update test.sh
      
      * Update setup.py
      
      * Update conf.py
      
      * Update MANIFEST.in
      
      * Update LightGBM.vcxproj
      
      * continue
      
      * test
      
      * test
      
      * Update setup.py
      
      * hotfix
      
      * revert CI tests
      6bb6164e
  14. 19 Jan, 2021 1 commit
  15. 18 Jan, 2021 3 commits
  16. 13 Jan, 2021 2 commits
    • Nikita Titov's avatar
      [ci] improve experience with optional GitHub workflows (#3740) · f997a069
      Nikita Titov authored
      * improve experience with optional GitHub workflows
      
      * Update README.md
      
      * Update r_artifacts.yml
      
      * Update optional_checks.yml
      
      * continue
      
      * Update triggering_comments.yml
      
      * Update README.md
      
      * Update r_artifacts.yml
      
      * Update r_artifacts.yml
      
      * Update r_artifacts.yml
      
      * Update r_valgrind.yml
      
      * Update r_artifacts.yml
      
      * Update r_valgrind.yml
      
      * Update r_valgrind.yml
      
      * Update r_valgrind.yml
      
      * add docstrings to fix lint
      
      * better formatting for multi-line commands
      f997a069
    • James Lamb's avatar
      [ci] remove Travis (fixes #3519) (#3672) · 318f7fae
      James Lamb authored
      
      
      * [ci] move CI jobs from Travis to Azure DevOps (fixes #3519)
      
      * comment out other CIs to avoid wasting cycles
      
      * try without docker
      
      * add container back
      
      * stop using --user in pip install
      
      * run check-docs and lint without container
      
      * job names
      
      * move more jobs to Azure-hosted Linux pool
      
      * fix PATH for check-docs
      
      * uncomment other CI
      
      * uncomment windows
      
      * remove uses of maxParallel
      
      * try moving macos-latest jobs to GitHub Actions
      
      * fix config
      
      * fix missing conda env
      
      * set Python version
      
      * remove commented-out code
      
      * add more to GitHub Actions
      
      * try to fix GPU
      
      * remove static_analysis to prevent conflicts with #3726
      
      * change workflow name
      
      * try using ubuntu:latest docker
      
      * fix conda
      
      * trying to find where permissions first break
      
      * add workaround for sudo
      
      * please azure please
      
      * image syntax
      
      * more sudo
      
      * noninteractive
      
      * LC_ALL
      
      * more  sudo
      
      * more stuff
      
      * CONDA dir
      
      * paths
      
      * get path
      
      * missing CONDA
      
      * fix path stuff
      
      * more tests
      
      * fix graphviz
      
      * stuff
      
      * more graphviz
      
      * install xorg-libxau
      
      * graphviz works, run more jobs
      
      * stuff
      
      * enable more tests
      
      * uncomment GitHub Actions
      
      * uncomment all other CIs
      
      * Apply suggestions from code review
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      
      * add travis.yml to Rbuildignore
      
      * add Rbuildignore rule for fmt
      
      * add libomp for clang builds
      
      * changes from code review
      Co-authored-by: default avatarNikita Titov <nekit94-08@mail.ru>
      318f7fae
  17. 05 Jan, 2021 1 commit
    • Guangyu Zeng's avatar
      [R-package] Add explicit return statement to R functions. (#3703) · 3fd48864
      Guangyu Zeng authored
      * add explicit return statement to functions in callback.R
      
      * add explicit return statement to functions in lgb.Booster.R
      
      * add explicit return statement to functions in lgb.Dataset.R
      
      * add explicit return statement to functions in lgb.Predictor.R
      
      * add explicit return statement to functions in lgb.cv.R
      
      * add explicit return statement to functions in lgb.interprete.R
      
      * add explicit return statement to functions in lgb.plot.importance.R
      
      * add explicit return statement to functions in saveRDS.lgb.Booster.R
      
      * add explicit return statement to functions in utils.R
      
      * add explicit return statement to functions in lgb.plot.interpretation.R
      
      * add explicit return statement to functions in build_r.R
      
      * fix typo
      
      * return(self) -> return(invisible(self))
      
      * fix some inconsistent indention
      
      * fix test failure
      
      * add another return() statement
      
      * fix linting errors
      3fd48864
  18. 04 Jan, 2021 2 commits
  19. 03 Jan, 2021 4 commits
  20. 24 Dec, 2020 1 commit
    • Belinda Trotta's avatar
      Trees with linear models at leaves (#3299) · fcfd4132
      Belinda Trotta authored
      * Add Eigen library.
      
      * Working for simple test.
      
      * Apply changes to config params.
      
      * Handle nan data.
      
      * Update docs.
      
      * Add test.
      
      * Only load raw data if boosting=gbdt_linear
      
      * Remove unneeded code.
      
      * Minor updates.
      
      * Update to work with sk-learn interface.
      
      * Update to work with chunked datasets.
      
      * Throw error if we try to create a Booster with an already-constructed dataset having incompatible parameters.
      
      * Save raw data in binary dataset file.
      
      * Update docs and fix parameter checking.
      
      * Fix dataset loading.
      
      * Add test for regularization.
      
      * Fix bugs when saving and loading tree.
      
      * Add test for load/save linear model.
      
      * Remove unneeded code.
      
      * Fix case where not enough leaf data for linear model.
      
      * Simplify code.
      
      * Speed up code.
      
      * Speed up code.
      
      * Simplify code.
      
      * Speed up code.
      
      * Fix bugs.
      
      * Working version.
      
      * Store feature data column-wise (not fully working yet).
      
      * Fix bugs.
      
      * Speed up.
      
      * Speed up.
      
      * Remove unneeded code.
      
      * Small speedup.
      
      * Speed up.
      
      * Minor updates.
      
      * Remove unneeded code.
      
      * Fix bug.
      
      * Fix bug.
      
      * Speed up.
      
      * Speed up.
      
      * Simplify code.
      
      * Remove unneeded code.
      
      * Fix bug, add more tests.
      
      * Fix bug and add test.
      
      * Only store numerical features
      
      * Fix bug and speed up using templates.
      
      * Speed up prediction.
      
      * Fix bug with regularisation
      
      * Visual studio files.
      
      * Working version
      
      * Only check nans if necessary
      
      * Store coeff matrix as an array.
      
      * Align cache lines
      
      * Align cache lines
      
      * Preallocation coefficient calculation matrices
      
      * Small speedups
      
      * Small speedup
      
      * Reverse cache alignment changes
      
      * Change to dynamic schedule
      
      * Update docs.
      
      * Refactor so that linear tree learner is not a separate class.
      
      * Add refit capability.
      
      * Speed up
      
      * Small speedups.
      
      * Speed up add prediction to score.
      
      * Fix bug
      
      * Fix bug and speed up.
      
      * Speed up dataload.
      
      * Speed up dataload
      
      * Use vectors instead of pointers
      
      * Fix bug
      
      * Add OMP exception handling.
      
      * Change return type of LGBM_BoosterGetLinear to bool
      
      * Change return type of LGBM_BoosterGetLinear back to int, only parameter type needed to change
      
      * Remove unused internal_parent_ property of tree
      
      * Remove unused parameter to CreateTreeLearner
      
      * Remove reference to LinearTreeLearner
      
      * Minor style issues
      
      * Remove unneeded check
      
      * Reverse temporary testing change
      
      * Fix Visual Studio project files
      
      * Restore LightGBM.vcxproj.filters
      
      * Speed up
      
      * Speed up
      
      * Simplify code
      
      * Update docs
      
      * Simplify code
      
      * Initialise storage space for max num threads
      
      * Move Eigen to include directory and delete unused files
      
      * Remove old files.
      
      * Fix so it compiles with mingw
      
      * Fix gpu tree learner
      
      * Change AddPredictionToScore back to const
      
      * Fix python lint error
      
      * Fix C++ lint errors
      
      * Change eigen to a submodule
      
      * Update comment
      
      * Add the eigen folder
      
      * Try to fix build issues with eigen
      
      * Remove eigen files
      
      * Add eigen as submodule
      
      * Fix include paths
      
      * Exclude eigen files from Python linter
      
      * Ignore eigen folders for pydocstyle
      
      * Fix C++ linting errors
      
      * Fix docs
      
      * Fix docs
      
      * Exclude eigen directories from doxygen
      
      * Update manifest to include eigen
      
      * Update build_r to include eigen files
      
      * Fix compiler warnings
      
      * Store raw feature data as float
      
      * Use float for calculating linear coefficients
      
      * Remove eigen directory from GLOB
      
      * Don't compile linear model code when building R package
      
      * Fix doxygen issue
      
      * Fix lint issue
      
      * Fix lint issue
      
      * Remove uneeded code
      
      * Restore delected lines
      
      * Restore delected lines
      
      * Change return type of has_raw to bool
      
      * Update docs
      
      * Rename some variables and functions for readability
      
      * Make tree_learner parameter const in AddScore
      
      * Fix style issues
      
      * Pass vectors as const reference when setting tree properties
      
      * Make temporary storage of serial_tree_learner mutable so we can make the object's methods const
      
      * Remove get_raw_size, use num_numeric_features instead
      
      * Fix typo
      
      * Make contains_nan_ and any_nan_ properties immutable again
      
      * Remove data_has_nan_ property of tree
      
      * Remove temporary test code
      
      * Make linear_tree a dataset param
      
      * Fix lint error
      
      * Make LinearTreeLearner a separate class
      
      * Fix lint errors
      
      * Fix lint error
      
      * Add linear_tree_learner.o
      
      * Simulate omp_get_max_threads if openmp is not available
      
      * Update PushOneData to also store raw data.
      
      * Cast size to int
      
      * Fix bug in ReshapeRaw
      
      * Speed up code with multithreading
      
      * Use OMP_NUM_THREADS
      
      * Speed up with multithreading
      
      * Update to use ArrayToString
      
      * Fix tests
      
      * Fix test
      
      * Fix bug introduced in merge
      
      * Minor updates
      
      * Update docs
      fcfd4132
  21. 09 Dec, 2020 1 commit
  22. 08 Dec, 2020 2 commits
    • Alberto Ferreira's avatar
      Fix model locale issue and improve model R/W performance. (#3405) · 792c9303
      Alberto Ferreira authored
      * Fix LightGBM models locale sensitivity and improve R/W performance.
      
      When Java is used, the default C++ locale is broken. This is true for
      Java providers that use the C API or even Python models that require JEP.
      
      This patch solves that issue making the model reads/writes insensitive
      to such settings.
      To achieve it, within the model read/write codebase:
       - C++ streams are imbued with the classic locale
       - Calls to functions that are dependent on the locale are replaced
       - The default locale is not changed!
      
      This approach means:
       - The user's locale is never tampered with, avoiding issues such as
          https://github.com/microsoft/LightGBM/issues/2979 with the previous
          approach https://github.com/microsoft/LightGBM/pull/2891
       - Datasets can still be read according the user's locale
       - The model file has a single format independent of locale
      
      Changes:
       - Add CommonC namespace which provides faster locale-independent versions of Common's methods
       - Model code makes conversions through CommonC
       - Cleanup unused Common methods
       - Performance improvements. Use fast libraries for locale-agnostic conversion:
         - value->string: https://github.com/fmtlib/fmt
         - string->double: https://github.com/lemire/fast_double_parser (10x
            faster double parsing according to their benchmark)
      
      Bugfixes:
       - https://github.com/microsoft/LightGBM/issues/2500
       - https://github.com/microsoft/LightGBM/issues/2890
       - https://github.com/ninia/jep/issues/205
      
       (as it is related to LGBM as well)
      
      * Align CommonC namespace
      
      * Add new external_libs/ to python setup
      
      * Try fast_double_parser fix #1
      
      Testing commit e09e5aad828bcb16bea7ed0ed8322e019112fdbe
      
      If it works it should fix more LGBM builds
      
      * CMake: Attempt to link fmt without explicit PUBLIC tag
      
      * Exclude external_libs from linting
      
      * Add exernal_libs to MANIFEST.in
      
      * Set dynamic linking option for fmt.
      
      * linting issues
      
      * Try to fix lint includes
      
      * Try to pass fPIC with static fmt lib
      
      * Try CMake P_I_C option with fmt library
      
      * [R-package] Add CMake support for R and CRAN
      
      * Cleanup CMakeLists
      
      * Try fmt hack to remove stdout
      
      * Switch to header-only mode
      
      * Add PRIVATE argument to target_link_libraries
      
      * use fmt in header-only mode
      
      * Remove CMakeLists comment
      
      * Change OpenMP to PUBLIC linking in Mac
      
      * Update fmt submodule to 7.1.2
      
      * Use fmt in header-only-mode
      
      * Remove fmt from CMakeLists.txt
      
      * Upgrade fast_double_parser to v0.2.0
      
      * Revert "Add PRIVATE argument to target_link_libraries"
      
      This reverts commit 3dd45dde7b92531b2530ab54522bb843c56227a7.
      
      * Address James Lamb's comments
      
      * Update R-package/.Rbuildignore
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      
      * Upgrade to fast_double_parser v0.3.0 - Solaris support
      
      * Use legacy code only in Solaris
      
      * Fix lint issues
      
      * Fix comment
      
      * Address StrikerRUS's comments (solaris ifdef).
      
      * Change header guards
      Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
      792c9303
    • James Lamb's avatar
      release 3.1.1 (#3611) · 218446a5
      James Lamb authored
      
      Co-authored-by: default avatarStrikerRUS <nekit94-12@hotmail.com>
      218446a5
  23. 07 Dec, 2020 1 commit
  24. 01 Dec, 2020 2 commits
  25. 30 Nov, 2020 2 commits
  26. 29 Nov, 2020 1 commit