Adding weights to lightgbm with treesnip

The parameters section of the lgb.train{lightgbm} takes a weight_column, but I'm struggling to figure out how to put that parameter in the set_engine function since it uses a function on the bonsai packages, which itself uses the lgb.train function. Am I able to pass weights to lightgbm?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.