Jiaming Yuan 972730cde0
Use matrix for gradient. (#9508)
- Use the `linalg::Matrix` for storing gradients.
- New API for the custom objective.
- Custom objective for multi-class/multi-target is now required to return the correct shape.
- Custom objective for Python can accept arrays with any strides. (row-major, column-major)
2023-08-24 05:29:52 +08:00
..
2019-10-22 12:33:14 -04:00
2023-08-24 05:29:52 +08:00

This folder contains test cases for XGBoost c++ core, Python package and some other CI facilities.

Directories

  • ci_build: Test facilities for Jenkins CI and GitHub action.
  • cli: Basic test for command line executable xgboost. Most of the other command line specific tests are in Python test test_cli.py
  • cpp: Tests for C++ core, using Google test framework.
  • python: Tests for Python package, demonstrations and CLI. For how to setup the dependencies for tests, see conda files in ci_build.
  • python-gpu: Similar to python tests, but for GPU.
  • travis: CI facilities for Travis.
  • distributed: Test for distributed system.
  • benchmark: Legacy benchmark code. There are a number of benchmark projects for XGBoost with much better configurations.

Others

  • pytest.ini: Describes the pytest marker for python tests, some markers are generated by conftest.py file.