@@ -601,6 +601,9 @@ def make_pipeline(*steps, **kwargs):
601601 inspect estimators within the pipeline. Caching the
602602 transformers is advantageous when fitting is time consuming.
603603
604+ verbose : boolean, optional
605+ Verbosity mode.
606+
604607 Examples
605608 --------
606609 >>> from sklearn.naive_bayes import GaussianNB
@@ -896,6 +899,9 @@ def make_union(*transformers, **kwargs):
896899 n_jobs : int, optional
897900 Number of jobs to run in parallel (default 1).
898901
902+ verbose : boolean, optional
903+ Verbosity mode.
904+
899905 Returns
900906 -------
901907 f : FeatureUnion
@@ -917,9 +923,11 @@ def make_union(*transformers, **kwargs):
917923 transformer_weights=None, verbose=False)
918924 """
919925 n_jobs = kwargs .pop ('n_jobs' , 1 )
926+ verbose = kwargs .pop ('verbose' , False )
920927 if kwargs :
921928 # We do not currently support `transformer_weights` as we may want to
922929 # change its type spec in make_union
923930 raise TypeError ('Unknown keyword arguments: "{}"'
924931 .format (list (kwargs .keys ())[0 ]))
925- return FeatureUnion (_name_estimators (transformers ), n_jobs = n_jobs )
932+ return FeatureUnion (_name_estimators (transformers ), n_jobs = n_jobs ,
933+ verbose = verbose )
0 commit comments