capability__sample_weight#

capability__sample_weight()[source]#

Capability: whether the estimator can handle sample weights.

  • String name: "capability:sample_weight"

  • Public capability tag

  • Values: boolean, True / False

  • Example: True

  • Default: False

If the tag is True, the estimator can handle sample weights. If the tag is False, the estimator cannot handle sample weights,