Developing Estimators Compliant with Metadata Routing
This document shows how you can use the metadata routing mechanism in scikit-learn to build estimators that route metadata to other estimators, scorers, and CV splitters, that can consume metadata.
To better understand the following document, we need to introduce two concepts:
routers and consumers. A router is an object
which forwards some given data and metadata to other objects. In most cases, a router is
a meta-estimator, i.e. an estimator which takes another estimator as a
parameter. A function such as which takes
an estimator as a parameter and forwards data and metadata, is also a router.