pyLightGBM icon indicating copy to clipboard operation
pyLightGBM copied to clipboard

Set LightGBM path with a environment variable

Open rguilmont opened this issue 8 years ago • 0 comments

At the moment you need to put LightGBM path in the constructor, which can be a bad idea since your code won't work on other environment.

One of the solution is to check the existence of an environment variable, like LIGHTGBM_PATH, which should contain the LightGBM path.

rguilmont avatar Oct 20 '16 14:10 rguilmont