88ce8cd77e7aae1726364d92690025f0027c844c,sklearn/pipeline.py,Pipeline,fit,#Pipeline#Any#Any#,325
Before Change
self : Pipeline
This estimator
Xt , fit_params = self._fit(X, y, **fit_params)
with _print_elapsed_time("Pipeline",
self._log_message(len(self.steps) - 1)):
if self._final_estimator != "passthrough":
After Change
self : Pipeline
This estimator
fit_params_steps = self._check_fit_params(**fit_params)
Xt = self._fit(X, y, **fit_params_steps)
with _print_elapsed_time("Pipeline",
self._log_message(len(self.steps) - 1)):
if self._final_estimator != "passthrough":
fit_params_last_step = fit_params_steps[self.steps[-1][0]]
self._final_estimator.fit(Xt, y, **fit_params_last_step)
return self
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances Project Name: scikit-learn/scikit-learn
Commit Name: 88ce8cd77e7aae1726364d92690025f0027c844c
Time: 2020-03-27
Author: contact@nicolas-hug.com
File Name: sklearn/pipeline.py
Class Name: Pipeline
Method Name: fit
Project Name: scikit-learn/scikit-learn
Commit Name: 88ce8cd77e7aae1726364d92690025f0027c844c
Time: 2020-03-27
Author: contact@nicolas-hug.com
File Name: sklearn/pipeline.py
Class Name: Pipeline
Method Name: fit_predict
Project Name: scikit-learn/scikit-learn
Commit Name: 88ce8cd77e7aae1726364d92690025f0027c844c
Time: 2020-03-27
Author: contact@nicolas-hug.com
File Name: sklearn/pipeline.py
Class Name: Pipeline
Method Name: fit_transform