New Technologies

Do I need to derive SVMs from scratch?

RE Asked by Rebecca Gilbert · 29-10-2026
▲ 11 upvotes 236 views 0 comments
The question

I have heard horror stories about interviewers asking to derive the support vector machine optimization problem on a whiteboard. Is this actually one of the most frequent questions asked in machine learning interviews, or is it an edge case?

I understand how the algorithm works, but the full mathematical derivation is quite complex. Should I be memorizing the Lagrangian multipliers steps, or is knowing the intuition enough?

Verified summary

Support Vector Machine derivations are rarely required in professional interviews; prioritizing the conceptual understanding of kernel functions and soft-margin optimization is more effective than memorizing mathematical proofs.

1 answer

▲ 0
NO
Noelle Das Accepted
Answered on 29-10-2026

Memorizing the full derivation of Support Vector Machines from scratch is an inefficient use of preparation time for 95 percent of industry roles. While understanding the Karush-Kuhn-Tucker conditions and the conversion to the dual form via Lagrange multipliers provides necessary depth for theoretical fluency, interviewers typically prioritize your ability to map business objectives to the correct kernel function or explain the trade-offs of the slack variable.

Share your thoughts

Your email address will not be published. Required fields are marked (*)

Still have questions? Schedule a free counselling session

Our experts are ready to help you with any questions about courses, admissions, or career paths. Get personalized guidance from industry professionals.

Book Free Session

Book Free Session