However, this means that if André creates a new variable in preprocessing.py and wants it to be used as a predictor, lightgbm_main.py needs to be updated every time as well. Therefore, it might be a better idea if lightgbm_main.py would import the to-be-used predictors as a list from preprocessing.py.
Currently,
lightgbm_main.py
specifies the predictors that should be used:However, this means that if André creates a new variable in
preprocessing.py
and wants it to be used as a predictor, lightgbm_main.py needs to be updated every time as well. Therefore, it might be a better idea iflightgbm_main.py
would import the to-be-used predictors as a list frompreprocessing.py
.