feature_engine
feature_engine copied to clipboard
should we make sample_weight part of fit?
Some sklearn transformers have an extra parameter in fit, the sample_weight, to tackle imbalanced datasets.
Should we make this part of feature_engine?
Example: https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.StandardScaler.html
Need to think if it is useful for most transformers, or alternatively, for which transformers it makes sense
Also, need to have an idea of how many of sklearn transformers have sample_weight, because for example, the simpleImputer does not seem to have it