Skip to content

Commit 576ef8d

Browse files
committed
Pushing the docs to dev/ for branch: main, commit 36c50736017aeb114f9586b1e1b56779dee03749
1 parent 84d3aa7 commit 576ef8d

File tree

1,308 files changed

+5738
-5733
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,308 files changed

+5738
-5733
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: d8d93d58d77af804231b3c068f3af569
3+
config: 2b16a0cc05384bab61484a373056d699
44
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file not shown.

dev/_downloads/35686e86ab04c9899b73acd07be52bc7/plot_metadata_routing.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ def get_metadata_routing(self):
447447
return router
448448

449449
def fit(self, X, y, **fit_params):
450-
params = process_routing(self, "fit", fit_params)
450+
params = process_routing(self, "fit", **fit_params)
451451

452452
self.transformer_ = clone(self.transformer).fit(X, y, **params.transformer.fit)
453453
X_transformed = self.transformer_.transform(X, **params.transformer.transform)
@@ -458,7 +458,7 @@ def fit(self, X, y, **fit_params):
458458
return self
459459

460460
def predict(self, X, **predict_params):
461-
params = process_routing(self, "predict", predict_params)
461+
params = process_routing(self, "predict", **predict_params)
462462

463463
X_transformed = self.transformer_.transform(X, **params.transformer.transform)
464464
return self.classifier_.predict(X_transformed, **params.classifier.predict)
@@ -543,7 +543,7 @@ def __init__(self, estimator):
543543
self.estimator = estimator
544544

545545
def fit(self, X, y, **fit_params):
546-
params = process_routing(self, "fit", fit_params)
546+
params = process_routing(self, "fit", **fit_params)
547547
self.estimator_ = clone(self.estimator).fit(X, y, **params.estimator.fit)
548548

549549
def get_metadata_routing(self):
@@ -572,7 +572,7 @@ def __init__(self, estimator):
572572
self.estimator = estimator
573573

574574
def fit(self, X, y, sample_weight=None, **fit_params):
575-
params = process_routing(self, "fit", fit_params, sample_weight=sample_weight)
575+
params = process_routing(self, "fit", sample_weight=sample_weight, **fit_params)
576576
check_metadata(self, sample_weight=sample_weight)
577577
self.estimator_ = clone(self.estimator).fit(X, y, **params.estimator.fit)
578578

0 commit comments

Comments
 (0)