improve error message when passing sample_weight to Pipeline #13534
Labels
Easy
Well-defined and straightforward way to resolve
good first issue
Easy with clear instructions to resolve
help wanted
Many estimators take a parameter named
sample_weight
.Pipeline
does not, since it wants itsfit
parameters to be prefixed by the step name with a__
delimiter:This error message is not friendly enough. It should explicitly describe the correct format for passing
sample_weight
to a step in a Pipeline.The text was updated successfully, but these errors were encountered: