title: How to show what happened with scikits RBM and LR pipeline?
body: <p>I'm playing with the RBM that scikit learn provide, I would like to see what happen if I mix an RBM + LR so I do the following:</p>
  
  <pre><code>logistic = LogisticRegression(tol=1e-8, penalty='l2', C=4)
  rbm= BernoulliRBM(n_iter = 30,learning_rate = 0.06, n_components = 100)
  classifier = Pipeline(steps=[('rbm', rbm), ('logistic', logistic)])
  
  classifier.fit(binarizer_training_matrix, binarizer_y_train)
  prediction = classifier.predict(binarizer_testing_matrix)
  </code></pre>
  
  <p>How can I show what happened with both matrices at the Pipeline step(i.e. with the RBM and without the RBM?), thanks in advance.</p>