Q1. Unsupervised learning works with:
- A.Unlabeled data✓ Correct
- B.Numerical data only
- C.Textual data only
- D.Labeled output data
Explanation
Unsupervised learning discovers patterns in data without labeled outputs or predefined categories.
Unsupervised learning finds hidden structure in data that has no labels, such as natural groups, compact representations or unusual points. Clustering dominates: K-Means and its centroids, the within-cluster sum of squares objective it minimizes, the elbow method and silhouette score for choosing k, K-Medoids, hierarchical clustering with dendrograms, and density-based DBSCAN. Dimensionality reduction questions cover PCA and explained variance, and t-SNE or UMAP for visualizing high-dimensional data. Other items touch Gaussian mixture models trained with expectation-maximization, association rule mining with Apriori using support and confidence, anomaly detection and variational inference for latent variable models.
Below are 30 practice questions from a pool of 210 Unsupervised Learning MCQs, one of 17 topics in AI / Machine Learning & Data Analytics. Each shows the correct answer with an explanation; when you are ready, take a timed quiz to test recall under exam conditions.
Each question below shows the correct answer with a full explanation. Use these to build conceptual understanding before attempting a timed quiz.
Q1. Unsupervised learning works with:
Unsupervised learning discovers patterns in data without labeled outputs or predefined categories.
Q2. K-Means is a type of:
K-Means is a clustering algorithm that partitions data into K groups based on similarity.
Q3. What does clustering do?
Clustering groups data points with similar characteristics together without predefined labels.
Q4. PCA stands for:
PCA (Principal Component Analysis) is a dimensionality reduction technique that finds the directions of maximum variance.
Q5. In K-Means, what is a centroid?
A centroid is the mean position of all points in a cluster, serving as the cluster's center.
Q6. What is dimensionality reduction?
Dimensionality reduction reduces the number of input variables while retaining the essential information in the data.
Q7. Which is an example of unsupervised learning?
Customer segmentation groups customers based on behavior without predefined labels, making it an unsupervised task.
Q8. Association rule mining is used to:
Association rule mining discovers interesting relationships between items in large datasets, such as market basket analysis.
Q9. What does the 'K' in K-Means represent?
K represents the predetermined number of clusters that the algorithm will partition the data into.
Q10. What is an unsupervised learning application?
Anomaly detection identifies unusual patterns without labeled examples of anomalies, making it an unsupervised task.
Q11. How does the elbow method work for K-Means?
The elbow method plots the within-cluster sum of squares against K, and the optimal K is at the 'elbow' where improvement begins to diminish significantly.
Q12. What is the silhouette score?
Silhouette score ranges from -1 to 1, measuring how similar a point is to its own cluster compared to other clusters. Higher values indicate better clustering.
Q13. DBSCAN stands for:
DBSCAN groups together densely packed points and marks points in low-density regions as outliers/noise.
Q14. What advantage does DBSCAN have over K-Means?
DBSCAN discovers clusters of arbitrary shape, handles noise/outliers naturally, and doesn't require prespecifying the number of clusters.
Q15. In PCA, principal components are:
Principal components are orthogonal (perpendicular) directions that capture the maximum variance in the data, ordered by variance explained.
Q16. What is hierarchical clustering?
Hierarchical clustering creates a tree (dendrogram) of clusters by either merging (agglomerative) or splitting (divisive) iteratively.
Q17. What is the Apriori algorithm used for?
The Apriori algorithm finds frequent itemsets in transaction data and generates association rules (e.g., if A then B).
Q18. What is t-SNE used for?
t-SNE (t-distributed Stochastic Neighbor Embedding) reduces high-dimensional data to 2D or 3D for visualization while preserving local structure.
Q19. In association rules, what does 'support' measure?
Support measures how frequently an itemset appears in the dataset, calculated as the proportion of transactions containing that itemset.
Q20. What is the difference between agglomerative and divisive hierarchical clustering?
Agglomerative clustering starts with individual points and merges clusters bottom-up, while divisive starts with one cluster and splits top-down.
Q21. What is the Gaussian Mixture Model (GMM)?
GMM models data as arising from a mixture of multiple Gaussian distributions, using the EM algorithm to estimate parameters, providing soft cluster assignments.
Q22. How does spectral clustering work?
Spectral clustering constructs a similarity graph, computes its Laplacian's eigenvectors, and clusters in the reduced eigenspace, handling non-convex shapes.
Q23. What is the UMAP algorithm?
UMAP (Uniform Manifold Approximation and Projection) is a manifold learning technique for dimensionality reduction that often preserves more global structure than t-SNE.
Q24. In DBSCAN, what are core points, border points, and noise points?
Core points have at least MinPts neighbors within epsilon; border points are within epsilon of a core point but have fewer neighbors; noise points are neither.
Q25. What is the difference between hard and soft clustering?
Hard clustering (e.g., K-Means) assigns each point to exactly one cluster, while soft clustering (e.g., GMM) assigns probabilities of belonging to each cluster.
Q26. What is the Information Criterion (BIC/AIC) used for in clustering?
BIC and AIC balance model fit against complexity to select the optimal number of clusters, penalizing models with more parameters.
Q27. What is Self-Organizing Map (SOM)?
SOM is an unsupervised neural network that maps high-dimensional data onto a low-dimensional grid while preserving topological properties.
Q28. How does the OPTICS algorithm improve upon DBSCAN?
OPTICS (Ordering Points To Identify Clustering Structure) creates a reachability plot that allows identifying clusters at different density levels, unlike DBSCAN's fixed epsilon.
Q29. What is the manifold hypothesis in unsupervised learning?
The manifold hypothesis states that real-world high-dimensional data tends to concentrate near a lower-dimensional manifold, justifying dimensionality reduction techniques.
Q30. What is contrastive learning in the context of unsupervised representation learning?
Contrastive learning learns representations by pulling similar (positive) pairs together and pushing dissimilar (negative) pairs apart in the embedding space.
Practice MCQs with explanations
Practice MCQs with explanations
Practice MCQs with explanations
Practice MCQs with explanations
Practice MCQs with explanations
Practice MCQs with explanations
Take a timed quiz drawn from 210+ questions on this topic. No signup required — your progress saves in your browser.
Start Unsupervised Learning Quiz