Files
lightgbm-org--lightgbm/tests/cpp_tests/test.py
T
2026-07-13 13:27:18 +08:00

8 lines
201 B
Python

# coding: utf-8
from pathlib import Path
import numpy as np
preds = [np.loadtxt(str(name)) for name in Path(__file__).absolute().parent.glob("*.pred")]
np.testing.assert_allclose(preds[0], preds[1])