* make record_evaluation compatible with cv
* test multiple metrics in cv
* lint
* fix cv with train metric. save stdv as well
* always add dataset prefix to cv_agg
* remove unused function
* [ci] use conda-forge in CI jobs (fixes#4948)
* comment out more jobs
* try reverting graphviz patch, running more cuda jobs
* get graphviz from PyPI and try removing some patches for r-lintr
* start running appveyor again
* use conda-forge if using conda
* fix commands
* conda install graphviz
* try newer openmp
* pin below openmp 11.x
* focus on gpu task
* trying to narrow down error
* maybe gcc11 is the issue
* start adding other tests back
* pin openmp too
* maybe need to pin to gcc less than 10.x
* pin libgfortran and libstdcxx as well
* pin to gcc 9.3.0
* move constraints up to initial environment
* add all CI jobs back
* try installing python-graphviz separately
* try new lightgbm/vsts-agent image
* fix typo
* test if pinning gcc for linux gpu_source build is still necessary
* ok yes, pinning gcc is necessary
* test if Linux gpu_source works with Python 3.9.6
* no special exception for Linux gpu_source job
* pin to Python 3.9.6 in Linux gpu_source
* try explicitly asking for libstdcxx-ng for every linux build
* swap compilers
* switch compilers back
* revert accidental whitespace change
* comment out CI
* try Linux gpu_source with different Python versions
* Revert "try Linux gpu_source with different Python versions"
This reverts commit f6f63cbb9b.
* Revert "comment out CI"
This reverts commit ece191f01e.
* remove libxml2 install, change CONDA path
* avoid installing conda in rchk job
* empty commit 1
* empty commit 2
* empty commit 3
* empty commit 4
* add more verbose logging around installation of python-graphviz
* empty commit 1
* get mamba info
* get more conda info
* add another mamba info call
* allow for other macOS environments in GHA configuration
* Revert "allow for other macOS environments in GHA configuration"
This reverts commit a3c7a19926.
* get more logs from mamba
* get Build.ArtifactsStagingDirectory
* get more logs and try to force re-installing everything
* clean cache after every step
* remove --update-all and make logs less verbose
* remove more print statements and uncomment jobs
* test if conda-clean issue fixes segfaults for gpu_source
* pin python version for gpu_source
* empty commit 1
* use miniforge instead
* empty commit 1
* Apply suggestions from code review
* bring workarounds back
* remove duplicated graphviz system-wide installation (reverts #4095, #4097, #4238)
* empty commit 1
* empty commit 2
* empty commit 3
* empty commit 4
* empty commit 5
* empty commit 6
* empty commit 7
* empty commit 8
* empty commit 9
* empty commit 10
* empty commit 10
* empty commit 10
* empty commit 10
* empty commit 11
* one more try
* try to downgrade Python version for Linux GPU job
* swap compilers
* Revert "swap compilers"
This reverts commit f04dc27b17.
Co-authored-by: Nikita Titov <nekit94-12@hotmail.com>
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
* [ci] manually create symlinks to R entrypoints on macOS (fixes#4988)
* exclude non-R CI jobs
* upgrade to R 4.1.2
* get logs for R install
* pin R 4.1.x jobs to macOS-10.15
* update to R 4.1.2 on Windows
* allow for non-latest macOS builds in GHA configuration
* fix prefix check
* fix config check
* more direct check for mac version
* uncomment other CIs
* update R version in CI job names
* feat: refit additional kwargs for dataset and predict
* test: kwargs for refit method
* fix: __init__ got multiple values for argument
* fix: pycodestyle E302 error
* refactor: dataset_params to avoid breaking change
* refactor: expose all Dataset params in refit
* feat: dataset_params updates new_params
* fix: remove unnecessary params to test
* test: parameters input are the same
* docs: address StrikeRUS changes
* test: refit test changes in train dataset
* test: set init_score and decay_rate to zero
* fix for bad grads causing segfault
* adjust checking criteria to properly reflect reality of multi-class classifiers
* fix styling
* Line break before operator
* Update python-package/lightgbm/basic.py
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
* Update python-package/lightgbm/basic.py
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
* add a note to the C-API docs
* rearrange text s;ightly
* add some tests to python package
* Update include/LightGBM/c_api.h
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
* PR comments
* match argument is a regex and our expression has brackets ..
* rework tests
* isorting imports
* updating test to relfect that the python APi does not take pres/labels as a fobj function
Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
* added argument eval_train_metric
* remove unnecessary whitespace
* removed further trailing whitespace
* move new argument to the last position
* update R docu
* unit tests for eval_train_metric
* Update R-package/tests/testthat/test_basic.R
Co-authored-by: James Lamb <jaylamb20@gmail.com>
Co-authored-by: James Lamb <jaylamb20@gmail.com>