Toggle Menu
Prev Up Next

scikit-learn 1.3.2
Other versions

Please cite us if you use the software.

# `sklearn.utils.metadata_routing`.MetadataRequest

sklearn.utils.metadata_routing.MetadataRequest(owner)

  Contains the metadata request info of a consumer.

  Instances of `MethodMetadataRequest` are used in this class for each available method under `metadatarequest.{method}`.

  Consumer-only classes such as simple estimators return a serialized version of this class as the output of `get_metadata_routing()`.

  New in version 1.3.

  Parameters:
    owner str

      The name of the object to which these requests belong.