title: Python scikit-learn SVM Classifier "ValueError: Found array with dim 3. Expected <= 2"
body: <p>I am trying to implement SVM Classifier over MNIST dataset.
  As my parameters are 3 dimensional its throwing the following error:</p>
  
  <pre><code>ValueError: Found array with dim 3. Expected &lt;= 2
  </code></pre>
  
  <p>Following is my code snippet:</p>
  
  <pre><code>import mnist
  from sklearn import svm
  
  training_images, training_labels = mnist.load_mnist("training", digits = [1,2,3,4])
  classifier = svm.SVC()
  classifier.fit(training_images, training_labels)
  </code></pre>
  
  <p>Does sklearn support a multi-dimensional classifier?</p>