title: Support Vector Machine in Torch7
body: <p>I have based my model upon the following tutorial:</p>
  
  <p><a href="https://github.com/torch/tutorials/tree/master/2_supervised" rel="nofollow">https://github.com/torch/tutorials/tree/master/2_supervised</a></p>
  
  <p>For the last stage a neural network is used upon the features extracted from the CNN. I want to use a SVM in the final layer. How can I add that to my existing model ?</p>
  
  <p>It has been shown in some papers that SVM seem to function better than neural network as the final layer in the CNN and therefore I wanted to try them out to increase the accuracy of the model. Also SVM's can be use for one class classification which neural networks lack.I need a one class classifier in the end and so the need for adding an SVM to th CNN.  </p>
  
  <p>Kindly help</p>