Training LightGBM models on weighted datasets requires the native Data Structure API. The template, however, implements only the Scikit-learn API (LGBMClassifier and LGBMRegressor) but not the native API (lighgbm.Dataset and lightgbm.Booster). Maybe there is an analogue solution for weighting Pandas dataframes. If not, support for LightGBM's Data Structure API would allow to weight datasets prior to model training.