Skip to content

RFC SLEP006: allow users to enable a "strict" mode in metadata routing #23920

@adrinjalali

Description

@adrinjalali

ref: https://github.com/scikit-learn/scikit-learn/pull/22986/files#r862344847

Along the way we've had discussions on whether we should raise if a metadata is requested but not provided.

Mirroring the existing behavior, SLEP006 and the implementation won't raise in the following case:

pipeline = make_pipeline(LogisticRegression().set_fit_request(sample_weight=True)).fit(X, y)

Should we allow a strict mode, either globally or on the estimator level, which would make the above code raise?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions