CSSE386 Data Mining Exam 2 Review Study Guide
This study guide covers key concepts, techniques, and example questions to prepare for Exam 2 in your Data Mining course CSSE386. Review each section carefully and check the solutions at the end.
Information
- Allowed material: 1 sheet (2 sided) written notes + you can use notes and handouts from exam 1
- Format: online via Gradescope during the class scheduled time, 50 min total. You do not need to come to class to take it
- 40 questions in total: 15 questions (topics covered in Exam 1) and 25 questions (new topics)
1. Dimensionality Reduction
Key Topics:
- Understanding the challenges of high-dimensional data
- Recognizing the difference between feature selection and feature reduction
Example Questions:
- Multiple Choice: What is the primary goal of dimensionality reduction?
- Increase the number of features
- Reduce noise and computational complexity while preserving essential structure
- Overfit the data
- Separate data into clusters
- Multiple Choice: Which statement best differentiates feature reduction from feature selection?
- Feature reduction transforms the original features into a new, lower-dimensional space, whereas feature selection chooses a subset of the original features without transformation.
- Feature reduction chooses a subset of the original features, whereas feature selection transforms the data into a new feature space.
- Both methods perform the same operation and the terms are interchangeable.
Topic 2: Principal Component Analysis (PCA)
Key Topics:
- Understanding the PCA technique for dimensionality reduction
- Understanding the covariance matrix
- Choosing principal components
- Interpreting principal components from plotted results
Example Questions:
- True/False: PCA is a supervised learning method
- Multiple Choice: In PCA, the eigenvectors corresponding to the largest eigenvalues represent:
- Noise directions
- Directions with maximum variance
- Random directions
- Directions with minimum variance
- Multiple Choice: Which statement best describes the elements of a covariance matrix?
- Diagonal elements represent the mean of each feature, while off-diagonals represent the correlation between features
- Diagonal elements represent the variances of each feature, while off-diagonals represent the covariances between pairs of features
- Diagonal elements represent the standard deviations of each feature, while off-diagonals are always zero
- Diagonal elements represent the eigenvalues of the data, while off-diagonals represent the eigenvectors
Topic 3: Linear Discriminant Analysis (LDA)
Key Topics:
- Understanding LDA techniques
- Recognizing differences between LDA and PCA
Example Questions:
- Multiple Choice: Which method is specifically designed to maximize the separability between different classes?
- PCA
- LDA
- k-means clustering
- Support Vector Machines
- Multiple Choice: Which statement best describes Linear Discriminant Analysis (LDA)?
- It finds a projection that maximizes the overall variance in the data
- It projects data onto a subspace that maximizes the ratio of between-class variance to within-class variance
- It employs a non-linear mapping to reduce dimensionality
- It ignores class labels during the dimensionality reduction process
- Multiple Choice: Which of the following best distinguishes PCA from LDA?
- PCA is unsupervised whereas LDA is supervised
- PCA maximizes between-class variance while LDA maximizes overall variance
- PCA uses class labels in its computation, while LDA does not
- Both methods are identical in their approach
Topic 4: Recommendation Systems
Key Topics:
- Collaborative Filtering vs Content-Based Filtering
- Memory-based vs Model-based techniques
- Explicit vs Implicit information
- Cosine similarity (pros/cons)
- Matrix Factorization (pros/cons)
Example Questions:
- Multiple Choice: In recommendation systems, which approach primarily relies on analyzing item features and content to suggest items to users?
- Collaborative filtering
- Content-based filtering
- Hybrid filtering
- Matrix factorization
- Multiple Choice: A potential drawback of content-based filtering:
- Requires large amounts of user interaction data
- May overspecialize recommendations, limiting diversity ("filter bubble")
- Cannot incorporate item features
- Is computationally intensive in high-dimensional spaces
- Multiple Choice: matrix factorization techniques are primarily used to:
- Cluster users into distinct groups
- Decompose the user–item interaction matrix to identify latent factors
- Normalize user ratings
- Remove outliers from the dataset
General Tips for Exam Preparation
- Review Lecture Notes: Focus on definitions, key formulas, and algorithms
- Understand the Concepts: Avoid memorization; aim to understand the "why" behind each method
Good luck with your exam preparation!
Answer Key with Explanations
Topic 1: Dimensionality Reduction
- Answer: b. Explanation: The goal is to reduce noise and computational complexity while preserving the essential structure of the data
- Answer: a. Explanation: Feature reduction (e.g., via PCA) transforms the original features into a new, lower-dimensional space, whereas feature selection picks a subset of the original features without altering their form
Topic 2: Principal Component Analysis (PCA)
- Answer: False. Explanation: PCA is an unsupervised method; it does not use label information
- Answer: b. Explanation: The eigenvectors corresponding to the largest eigenvalues indicate the directions of maximum variance in the data.
- Answer: b. Explanation: Diagonal Elements are the variances of the individual features, off-Diagonal Elements represent the covariances between different features
Topic 3: Linear Discriminant Analysis (LDA)
- Answer: b. Explanation: LDA is specifically designed to maximize the separability between different classes by using class label information.
- Answer: b. Explanation: LDA projects data onto a subspace that maximizes the ratio of between-class variance to within-class variance, thereby enhancing class separability
- Answer: a. Explanation: The key distinction is that PCA is unsupervised (ignores class labels), whereas LDA is a supervised technique that uses class labels to find the optimal projection for separation
Topic 4: Recommendation Systems
- Answer: b. Explanation: Content-based filtering relies on analyzing the features of items (such as keywords or attributes) to make recommendations
- Answer: b. Explanation: A drawback of content-based filtering is that it may overspecialize recommendations, limiting the diversity of suggestions
- Answer: b. Explanation: Matrix factorization techniques decompose the sparce user–item interaction matrix into 2 small matrices (user and items) to uncover latent factors