@@ -277,26 +277,26 @@ def test_serialize_pipeline(self):
277277 fixture_short_name = 'sklearn.Pipeline(StandardScaler,DummyClassifier)'
278278
279279 if version .parse (sklearn .__version__ ) >= version .parse ("0.21.0" ):
280- fixture_description = "Pipeline of transforms with a final estimator.\n \n Sequentially " \
281- "apply a list of transforms and a final estimator.\n Intermediate " \
282- "steps of the pipeline must be 'transforms', that is, they\n must " \
283- "implement fit and transform methods.\n The final estimator only " \
284- "needs to implement fit.\n The transformers in the pipeline can be " \
285- "cached using ``memory`` argument.\n \n The purpose of the pipeline is" \
286- " to assemble several steps that can be\n cross-validated together " \
287- "while setting different parameters.\n For this, it enables setting " \
288- "parameters of the various steps using their\n names and the " \
289- "parameter name separated by a '__', as in the example below.\n A " \
290- "step's estimator may be replaced entirely by setting the " \
291- "parameter\n with its name to another estimator, or a transformer " \
292- "removed by setting\n it to 'passthrough' or ``None``."
280+ fixture_description = "Pipeline of transforms with a final estimator.\n \n Sequentially" \
281+ " apply a list of transforms and a final estimator.\n " \
282+ "Intermediate steps of the pipeline must be 'transforms', that " \
283+ "is, they\n must implement fit and transform methods.\n The final " \
284+ "estimator only needs to implement fit.\n The transformers in " \
285+ "the pipeline can be cached using ``memory`` argument.\n \n The " \
286+ "purpose of the pipeline is to assemble several steps that can " \
287+ "be\n cross-validated together while setting different parameters" \
288+ ".\n For this, it enables setting parameters of the various steps" \
289+ " using their\n names and the parameter name separated by a '__'," \
290+ " as in the example below.\n A step's estimator may be replaced " \
291+ "entirely by setting the parameter\n with its name to another " \
292+ "estimator, or a transformer removed by setting\n it to " \
293+ "'passthrough' or ``None``."
293294 else :
294295 fixture_description = "Pipeline of transforms with a final estimator.\n \n Sequentially" \
295- " apply a list of transforms and a final estimator.\n Intermediate" \
296- " steps of the pipeline must be 'transforms', that is, they\n must " \
297- "implement fit and transform methods.\n The final estimator only " \
298- "needs to implement fit.\n The transformers in the pipeline can " \
299- "be cached using ``memory`` argument.\n \n The purpose of the " \
296+ " apply a list of transforms and a final estimator.\n " \
297+ "Intermediate steps of the pipeline must be 'transforms', that " \
298+ "is, they\n must implement fit and transform methods.\n The final" \
299+ " estimator only needs to implement fit.\n \n The purpose of the " \
300300 "pipeline is to assemble several steps that can be\n " \
301301 "cross-validated together while setting different parameters." \
302302 "\n For this, it enables setting parameters of the various steps" \
@@ -397,26 +397,26 @@ def test_serialize_pipeline_clustering(self):
397397 fixture_short_name = 'sklearn.Pipeline(StandardScaler,KMeans)'
398398
399399 if version .parse (sklearn .__version__ ) >= version .parse ("0.21.0" ):
400- fixture_description = "Pipeline of transforms with a final estimator.\n \n Sequentially " \
401- "apply a list of transforms and a final estimator.\n Intermediate " \
402- "steps of the pipeline must be 'transforms', that is, they\n must " \
403- "implement fit and transform methods.\n The final estimator only " \
404- "needs to implement fit.\n The transformers in the pipeline can be " \
405- "cached using ``memory`` argument.\n \n The purpose of the pipeline is" \
406- " to assemble several steps that can be\n cross-validated together " \
407- "while setting different parameters.\n For this, it enables setting " \
408- "parameters of the various steps using their\n names and the " \
409- "parameter name separated by a '__', as in the example below.\n A " \
410- "step's estimator may be replaced entirely by setting the " \
411- "parameter\n with its name to another estimator, or a transformer " \
412- "removed by setting\n it to 'passthrough' or ``None``."
400+ fixture_description = "Pipeline of transforms with a final estimator.\n \n Sequentially" \
401+ " apply a list of transforms and a final estimator.\n " \
402+ "Intermediate steps of the pipeline must be 'transforms', that " \
403+ "is, they\n must implement fit and transform methods.\n The final " \
404+ "estimator only needs to implement fit.\n The transformers in " \
405+ "the pipeline can be cached using ``memory`` argument.\n \n The " \
406+ "purpose of the pipeline is to assemble several steps that can " \
407+ "be\n cross-validated together while setting different parameters" \
408+ ".\n For this, it enables setting parameters of the various steps" \
409+ " using their\n names and the parameter name separated by a '__'," \
410+ " as in the example below.\n A step's estimator may be replaced " \
411+ "entirely by setting the parameter\n with its name to another " \
412+ "estimator, or a transformer removed by setting\n it to " \
413+ "'passthrough' or ``None``."
413414 else :
414415 fixture_description = "Pipeline of transforms with a final estimator.\n \n Sequentially" \
415- " apply a list of transforms and a final estimator.\n Intermediate" \
416- " steps of the pipeline must be 'transforms', that is, they\n must " \
417- "implement fit and transform methods.\n The final estimator only " \
418- "needs to implement fit.\n The transformers in the pipeline can " \
419- "be cached using ``memory`` argument.\n \n The purpose of the " \
416+ " apply a list of transforms and a final estimator.\n " \
417+ "Intermediate steps of the pipeline must be 'transforms', that " \
418+ "is, they\n must implement fit and transform methods.\n The final" \
419+ " estimator only needs to implement fit.\n \n The purpose of the " \
420420 "pipeline is to assemble several steps that can be\n " \
421421 "cross-validated together while setting different parameters." \
422422 "\n For this, it enables setting parameters of the various steps" \
0 commit comments