Skip to content

Support for sample_weight in the fit method #438

@kota7

Description

@kota7

Is there any plan or demand for supporting sample_weight option in the fit method of estimators?

Since a number of model classes in scikit-learn support it, I suppose it would be useful for estimators such as StackingRegressor (provided that all regressors accept it).

I saw a related PR #255 about the support for fit_params options. Once this is merged, sample_weight will be implementable by passing same weights to all regressors and meta-regressor. Even so, API like fit(X, y [, sample_weight]) can be handy.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions