pyLightGBM
pyLightGBM copied to clipboard
Set LightGBM path with a environment variable
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.