-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
Description
Summary
The refit method in Python does not support weights (or in fact anything other than data and labels). This is because here, the training data set gets created using:
train_set = Dataset(data, label, silent=True)
It would be great if refit accepted additional arguments (or kwargs) specifically for the Dataset
call.
Passing in the train_set
directly would also be an option. But since we need to predict first, we would also need to pass the training data in as data frame, which is not so nice.
Motivation
I'm using re-fit in an application where weights are very important.
I'm happy to open a PR if this sounds useful.
lbittarello and jaymegordo