Question: what is the difference between hard svm and soft svm?
Answer: Soft margin is extended version of hard margin SVM. 3. Hard margin SVM can work only when data is completely linearly separable without any errors (noise or outliers). ... On the other hand soft margin SVM was proposed by Vapnik to solve this problem by introducing slack variables.