A fast, distributed, high performance gradient boosting (GBT, GBDT, GBRT, GBM or MART) framework based on decision tree algorithms, used for ranking, classification and many other machine learning tasks.
Removes some try-catching in __init__.py that could make it harder to diagnose import issues (especially from dependencies).
To help with that, significantly expands testing of the optional-dependency handling in the Python package:
ensures test_basic.py can be run without any of lightgbm's optional dependencies + adds a CI job running it in an environment like that
adds explicit testing in CI that modules that should not be loaded are not loaded by import lightgbm
adds a statement coverage summary to Python test jobs (with pytest-cov) + enforcement of a coverage minimum (to ensure that all the test-skipping logic added in PRs like this doesn't accidentally lead to a loss of coverage in CI)