code: def train_predict_check(self, lgb_train, X_test, X_test_fn, sk_pred):
      params = dict(self.params)
      params["force_row_wise"] = True
      gbm = lgb.train(params, lgb_train)
      y_pred = gbm.predict(X_test)
      cpp_pred = gbm.predict(X_test_fn)
      np.testing.assert_allclose(y_pred, cpp_pred)
      np.testing.assert_allclose(y_pred, sk_pred)
  
file_path: LightGBM/tests/python_package_test/test_consistency.py
imports: from pathlib import Path
  import numpy
  from sklearn.datasets import load_svmlight_file
  import lightgbm
label_desc: Use image node_id 5 for calling the FileLoader obj's underlying member method code with example usage: obj.train_predict_check(lgb_train, X_test, X_test_fn, sk_pred) without return types