File: metadata_routing.py

package info (click to toggle)
scikit-learn 1.4.2%2Bdfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 25,036 kB
  • sloc: python: 201,105; cpp: 5,790; ansic: 854; makefile: 304; sh: 56; javascript: 20
file content (22 lines) | stat: -rw-r--r-- 958 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
"""
The :mod:`sklearn.utils.metadata_routing` module includes utilities to route
metadata within scikit-learn estimators.
"""

# This module is not a separate sub-folder since that would result in a circular
# import issue.
#
# Author: Adrin Jalali <adrin.jalali@gmail.com>
# License: BSD 3 clause

from ._metadata_requests import WARN, UNUSED, UNCHANGED  # noqa
from ._metadata_requests import get_routing_for_object  # noqa
from ._metadata_requests import MetadataRouter  # noqa
from ._metadata_requests import MetadataRequest  # noqa
from ._metadata_requests import MethodMapping  # noqa
from ._metadata_requests import process_routing  # noqa
from ._metadata_requests import _MetadataRequester  # noqa
from ._metadata_requests import _routing_enabled  # noqa
from ._metadata_requests import _raise_for_params  # noqa
from ._metadata_requests import _RoutingNotSupportedMixin  # noqa
from ._metadata_requests import _raise_for_unsupported_routing  # noqa