code: def __init__(self, directory, prefix, config_file="train.conf"):
      self.directory = directory
      self.prefix = prefix
      self.params = {"gpu_use_dp": True}
      with open(self.directory / config_file, "r") as f:
          for line in f.readlines():
              line = line.strip()
              if line and not line.startswith("#"):
                  key, value = [
                      token.strip() for token in line.split("=")
                  ]
                  if (
                      "early_stopping" not in key
                  ):  # disable early_stopping
                      self.params[key] = (
                          value
                          if key not in {"num_trees", "num_threads"}
                          else int(value)
                      )
  
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 1 to create a new FileLoader object  with example: obj = FileLoader(directory, prefix, config_file)