title: Implementation of SVM for classification without library in c++
body: <p>I'm studying Support Vector Machine last few weeks. I understand the theoretical concept how I can classify a data into two classes. But its unclear to me how to select support vector and generate separating line to classify new data using C++.</p>
  
  <p>Suppose, I have two training data set for two classes</p>
  
  <p><img src="https://i.stack.imgur.com/HF1A1.gif" alt="enter image description here"></p>
  
  <p>After plotting data, I get the following feature space with vector and here, separating line is also clear.</p>
  
  <p><img src="https://i.stack.imgur.com/hfSg4.gif" alt="enter image description here"></p>
  
  <p>How to implement this in C++ without library functions. It will help me to clear my implementation concept about SVM. I need to be clear about implementation as I'm going to apply SVM in opinion mining for my native language.</p>