1. 13 Jan, 2021 3 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
    • Nikita Titov's avatar
    • 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
  2. 11 Jan, 2021 4 commits
  3. 10 Jan, 2021 1 commit
  4. 09 Jan, 2021 2 commits
  5. 07 Jan, 2021 5 commits
  6. 05 Jan, 2021 2 commits
    • CharlesAuguste's avatar
      fix test_monotone_constraints often fails on MPI builds (#3683) · 415c0cb5
      CharlesAuguste authored
      * Fix monotone constraint bug where split does not fulfill constraints.
      
      * Fix indent.
      415c0cb5
    • 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
  7. 04 Jan, 2021 6 commits
  8. 03 Jan, 2021 6 commits
  9. 02 Jan, 2021 1 commit
  10. 29 Dec, 2020 3 commits
  11. 28 Dec, 2020 3 commits
  12. 26 Dec, 2020 1 commit
  13. 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
  14. 22 Dec, 2020 2 commits
    • Jan Stiborek's avatar
      [python] [dask] add initial dask integration (#3515) · d90a16d5
      Jan Stiborek authored
      * migrated implementation from dask/dask-lightgbm
      
      * relaxed tests
      
      * tests skipped in case that MPI is used
      
      * fixed python 2.7 import + tests disabled on windows
      
      * python < 3.6 is not supported in tests
      
      * tests enabled only for linux
      
      * tests disabled for mpi interface
      
      * dask version pinned to >= 2.0
      
      * added @jameslamb as code owner
      
      * added missing pandas dependency
      
      * code refactoring, removed code duplication - lightgbm.dask.LGBMClassifier.fit is the same as lightgbm.dask.LGBMRegressor.fit
      
      * fixed refactoring
      
      * code deduplication - fit method moved into mixin class
      
      * fixed CODEOWNERS
      
      * removed unnecessary import
      
      * skip the module execution on python < 3.6 and on platform different than linux.
      
      * removed skip for python < 3.6
      
      * review comments
      
      * removed noqa, renamed API classes, renamed local variables
      d90a16d5
    • Nikita Titov's avatar
      fix MLflow spelling (#3668) · d59ffdb1
      Nikita Titov authored
      d59ffdb1