Skip to content

Commit f453957

Browse files
committed
Pushing the docs to dev/ for branch: main, commit 2bafd7b68f28bfa108aa83fd412587be702cfdfd
1 parent 5ba024c commit f453957

File tree

1,321 files changed

+6871
-6906
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,321 files changed

+6871
-6906
lines changed

dev/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: ea5cc6625bb4201ee2e0eb4fa663d38e
3+
config: 03ad8ed7834f6ea47621372bf3ce0f29
44
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file not shown.

dev/_downloads/35686e86ab04c9899b73acd07be52bc7/plot_metadata_routing.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ def get_metadata_routing(self):
167167
router = MetadataRouter(owner=self.__class__.__name__).add(
168168
estimator=self.estimator,
169169
method_mapping=MethodMapping()
170-
.add(callee="fit", caller="fit")
171-
.add(callee="predict", caller="predict")
172-
.add(callee="score", caller="score"),
170+
.add(caller="fit", callee="fit")
171+
.add(caller="predict", callee="predict")
172+
.add(caller="score", callee="score"),
173173
)
174174
return router
175175

@@ -356,9 +356,9 @@ def get_metadata_routing(self):
356356
.add(
357357
estimator=self.estimator,
358358
method_mapping=MethodMapping()
359-
.add(callee="fit", caller="fit")
360-
.add(callee="predict", caller="predict")
361-
.add(callee="score", caller="score"),
359+
.add(caller="fit", callee="fit")
360+
.add(caller="predict", callee="predict")
361+
.add(caller="score", callee="score"),
362362
)
363363
)
364364
return router
@@ -488,16 +488,16 @@ def get_metadata_routing(self):
488488
# The metadata is routed such that it retraces how
489489
# `SimplePipeline` internally calls the transformer's `fit` and
490490
# `transform` methods in its own methods (`fit` and `predict`).
491-
.add(callee="fit", caller="fit")
492-
.add(callee="transform", caller="fit")
493-
.add(callee="transform", caller="predict"),
491+
.add(caller="fit", callee="fit")
492+
.add(caller="fit", callee="transform")
493+
.add(caller="predict", callee="transform"),
494494
)
495495
# We add the routing for the classifier.
496496
.add(
497497
classifier=self.classifier,
498498
method_mapping=MethodMapping()
499-
.add(callee="fit", caller="fit")
500-
.add(callee="predict", caller="predict"),
499+
.add(caller="fit", callee="fit")
500+
.add(caller="predict", callee="predict"),
501501
)
502502
)
503503
return router
@@ -612,7 +612,7 @@ def fit(self, X, y, **fit_params):
612612
def get_metadata_routing(self):
613613
router = MetadataRouter(owner=self.__class__.__name__).add(
614614
estimator=self.estimator,
615-
method_mapping=MethodMapping().add(callee="fit", caller="fit"),
615+
method_mapping=MethodMapping().add(caller="fit", callee="fit"),
616616
)
617617
return router
618618

@@ -651,7 +651,7 @@ def get_metadata_routing(self):
651651
.add_self_request(self)
652652
.add(
653653
estimator=self.estimator,
654-
method_mapping=MethodMapping().add(callee="fit", caller="fit"),
654+
method_mapping=MethodMapping().add(caller="fit", callee="fit"),
655655
)
656656
)
657657
return router
@@ -692,7 +692,7 @@ def predict(self, X):
692692
print(w.message)
693693

694694
# %%
695-
# In the end, we disable the configuration flag for metadata routing:
695+
# At the end we disable the configuration flag for metadata routing:
696696

697697
set_config(enable_metadata_routing=False)
698698

dev/_downloads/64a4ce2171987c74f955483a03ac45b5/plot_metadata_routing.ipynb

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.
Binary file not shown.

dev/_downloads/scikit-learn-docs.zip

1.63 KB
Binary file not shown.
154 Bytes
166 Bytes
48 Bytes
-68 Bytes

0 commit comments

Comments
 (0)