WBJECA 2025 — Computer PYQ
WBJECA | Computer | 2025Which of the following is not a supervised machine learning algorithm?
Choose the correct answer:
- A.
K-means
(Correct Answer) - B.
Naïve Bayes
- C.
SVM for classification problems
- D.
Decision tree
K-means
Explanation
In machine learning, algorithms are generally categorized based on whether they require labeled data (Supervised) or unlabeled data (Unsupervised).
Supervised Learning: The algorithm learns from a training dataset where inputs X are mapped to known outputs Y. The goal is to learn a function f such that:
f(X)≈Y
Naïve Bayes, SVM, and Decision Trees are all classic examples of Supervised Learning algorithms used for classification or regression.
Unsupervised Learning: The algorithm works with unlabeled data, searching for hidden patterns or structures. K-means is a clustering algorithm that groups data points based on feature similarity without pre-existing labels. Mathematically, it aims to minimize the within-cluster sum of squares:
mini=1∑kx∈Si∑∥x−μi∥2
Where μi is the mean of the points in cluster Si.
