Back to the 2024 paper

Module 3: Classification and Prediction

20242m

Support vector machines (SVM) are mainly used for which type of tasks?

(i) Regression
(ii) Classification
(iii) Clustering
(iv) Association rule mining

Worked SolutionAI Assisted

Answer: (ii) Classification

SVM is a supervised learning algorithm used mainly for classification. It finds the hyperplane w⋅x+b=0w \cdot x + b = 0 that separates the two classes with the maximum margin; prediction is then just the sign of w⋅x+bw \cdot x + b. SVM can be extended to regression (SVR) using an ε-insensitive loss, but classification is its primary and standard application.

Clustering groups unlabelled data (unsupervised) and association rule mining discovers co-occurring items — neither is what SVM does. Since the question asks for the main use, regression (i) is not the best answer even though SVR exists.

Similar questions

Budget AppAndroid App

Pocketly on Android

Log daily food, travel, and hostel expenses instantly. Set monthly spending limits and see where your money goes without complex spreadsheets.