Deloitte Interview Question

How does SVM work? What is the difference between soft margins and hard margins?