title: SMOTE function not working in make_pipeline
body: <p>I wanna simultaneously apply cross-validation and over-sampling.
  I get the following error from this code:</p>
  
  <pre><code>from sklearn.pipeline import Pipeline, make_pipeline
  imba_pipeline = make_pipeline(SMOTE(random_state=42), 
                                LogisticRegression(C=3.4))
  cross_val_score(imba_pipeline, X_train_tf, y_train, scoring='f1-weighted', cv=kf)
  </code></pre>
  
  <blockquote>
    <p>ll intermediate steps should be transformers and implement fit and transform or be the string 'passthrough' 'SMOTE(k_neighbors=5, kind='deprecated', m_neighbors='deprecated', n_jobs=1,
          out_step='deprecated', random_state=42, ratio=None,
          sampling_strategy='auto', svm_estimator='deprecated')' (type ) doesn't</p>
  </blockquote>
  
  <p>PS. I get the same error using <a href="https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.over_sampling.RandomOverSampler.html" rel="noreferrer">imblearn.over_sampling.RandomOverSampler</a> rather than <a href="https://imbalanced-learn.readthedocs.io/en/stable/generated/imblearn.over_sampling.SMOTE.html" rel="noreferrer">SMOTE</a>.</p>