Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
According to the Apriori principle, if an itemset is frequent, its subsets must be:
Not quite. Try another option.
Answer: Frequent
The Apriori principle states that every subset of a frequent itemset must also be frequent.
Question 19 of 60 · Unsupervised Learning application in Robotics and Sensor data · Easy
How can clustering help a robot interpret sensor data?
Not quite. Try another option.
Answer: By grouping similar sensor readings
Clustering helps a robot identify natural groups or patterns in unlabeled sensor readings.
Question 20 of 60 · Unsupervised Learning application in Robotics and Sensor data · Easy
Which task is a common unsupervised learning application for sensor data?
Not quite. Try another option.
Answer: Detecting unusual sensor patterns
Unsupervised methods can identify sensor readings that differ strongly from normal patterns.
Question 21 of 60 · Clustering (K-Means Clustering, Hierarchical Clustering, Concept of DBSCAN) · Medium
A data analyst applies K-Means clustering with to customer data. After assigning points to clusters, which step occurs next during a standard iteration?
Not quite. Try another option.
Answer: Recalculate each centroid as the mean of its assigned points
After assigning points to the nearest centroid, K-Means updates each centroid by calculating the mean of the points currently assigned to that cluster.
Question 22 of 60 · Clustering (K-Means Clustering, Hierarchical Clustering, Concept of DBSCAN) · Medium
Why is feature scaling usually important before applying K-Means to variables such as income and age?
Not quite. Try another option.
Answer: It prevents distance from being dominated by large-scale features
K-Means commonly uses distance calculations. A feature with much larger numerical values can dominate those distances unless the features are scaled.
Question 23 of 60 · Clustering (K-Means Clustering, Hierarchical Clustering, Concept of DBSCAN) · Medium
A hierarchical clustering dendrogram shows that two groups merge only at a very large distance. What does this most likely indicate?
Not quite. Try another option.
Answer: The groups are relatively dissimilar
In a dendrogram, a merge at a large linkage distance indicates that the two groups are comparatively far apart or dissimilar.
Question 24 of 60 · Clustering (K-Means Clustering, Hierarchical Clustering, Concept of DBSCAN) · Medium
Which situation is most suitable for DBSCAN rather than K-Means?
Not quite. Try another option.
Answer: Clusters have irregular shapes and contain noise
DBSCAN groups dense regions, can identify irregularly shaped clusters, and labels isolated points as noise. It does not require the number of clusters in advance.
Question 25 of 60 · Clustering (K-Means Clustering, Hierarchical Clustering, Concept of DBSCAN) · Medium
In DBSCAN, a point has at least the required number of neighbors within the radius . How is this point generally classified?
Not quite. Try another option.
Answer: As a core point
A point with at least the minimum number of neighbors within its -neighborhood is a core point in DBSCAN.
Question 26 of 60 · Dimensionality Reduction and Principal Component Analysis · Medium
A dataset contains 50 correlated sensor measurements. What is a primary reason to apply PCA before visualization?
Not quite. Try another option.
Answer: To create fewer uncorrelated features
PCA transforms correlated variables into a smaller set of orthogonal principal components that preserve as much variance as possible.
Question 27 of 60 · Dimensionality Reduction and Principal Component Analysis · Medium
What does the first principal component represent in PCA?
Not quite. Try another option.
Answer: The direction with the greatest data variance
The first principal component is the linear direction that captures the maximum variance in the data.
Question 28 of 60 · Dimensionality Reduction and Principal Component Analysis · Medium
Why are features commonly standardized before PCA when they use different units?
Not quite. Try another option.
Answer: To prevent high-scale features from dominating variance
PCA is variance-sensitive. Standardization gives features comparable scales so that units with larger numerical ranges do not dominate the components.
Question 29 of 60 · Dimensionality Reduction and Principal Component Analysis · Medium
A PCA model retains three components explaining 72%, 18%, and 5% of the total variance. What percentage of variance is discarded if only these components are retained?
Not quite. Try another option.
Answer: 5%
The retained variance is . Therefore, is discarded.
Question 30 of 60 · Dimensionality Reduction and Principal Component Analysis · Medium
Which trade-off is most directly associated with reducing 100 features to 10 principal components?
Not quite. Try another option.
Answer: Lower storage with possible information loss
Dimensionality reduction can lower storage and computation, but discarded components may contain information relevant to a later analysis.
Question 31 of 60 · Pattern Discovery (Association Rule Mining, Apriori Algorithm) · Medium
In association rule mining, a rule has support 0.30 and confidence 0.75. What does the confidence value indicate?
Not quite. Try another option.
Answer: Seventy-five percent of transactions containing also contain
Confidence measures . A confidence of 0.75 means that 75% of transactions containing also contain .
Question 32 of 60 · Pattern Discovery (Association Rule Mining, Apriori Algorithm) · Medium
A rule has support 0.20 and confidence 0.80. If the support of its antecedent is 0.25, which calculation gives the support of the rule's consequent relationship?
Not quite. Try another option.
Answer:
Confidence is defined as . Thus, .
Question 33 of 60 · Pattern Discovery (Association Rule Mining, Apriori Algorithm) · Medium
What is the main purpose of the Apriori property in frequent itemset mining?
Not quite. Try another option.
Answer: Every subset of a frequent itemset must also be frequent
The Apriori property states that all nonempty subsets of a frequent itemset must also be frequent. This allows infrequent candidates to be pruned.
Question 34 of 60 · Pattern Discovery (Association Rule Mining, Apriori Algorithm) · Medium
If the itemset is below the minimum support threshold, what should Apriori do with any larger candidate containing both and ?
Not quite. Try another option.
Answer: Prune it because its support cannot exceed that of
Adding items cannot increase support. Therefore, any larger itemset containing an infrequent subset such as must also be infrequent.
Question 35 of 60 · Pattern Discovery (Association Rule Mining, Apriori Algorithm) · Medium
A store discovers the rule {bread, butter} {jam}. Which action best uses this pattern?
Not quite. Try another option.
Answer: Place the three products near one another
A frequent association can support product placement or recommendation strategies. It does not establish that one product causes another to be purchased.
Question 36 of 60 · Unsupervised Learning application in Robotics and Sensor data · Medium
A robot receives unlabeled readings from temperature, vibration, and motor-current sensors. How can clustering support predictive maintenance?
Not quite. Try another option.
Answer: Group operating states and flag unusual sensor patterns
Clustering can identify common operating conditions. New readings that do not fit these patterns may indicate unusual behavior or a developing fault.
Question 37 of 60 · Unsupervised Learning application in Robotics and Sensor data · Medium
A mobile robot uses unsupervised learning to group range-sensor readings. What is a reasonable use of the resulting groups?
Unsupervised grouping can reveal recurring patterns such as open spaces, walls, or obstacle configurations, which may support mapping and navigation.
Question 38 of 60 · Unsupervised Learning application in Robotics and Sensor data · Medium
A robot's accelerometer data is reduced from six dimensions to two using PCA. What is the most likely benefit?
Not quite. Try another option.
Answer: Simpler visualization of movement patterns
Projecting sensor data onto two principal components makes patterns easier to visualize, although some information and noise may remain or be discarded.
Question 39 of 60 · Unsupervised Learning application in Robotics and Sensor data · Medium
A robot records sensor readings during normal operation but has no fault labels. Which unsupervised method is appropriate for detecting possible anomalies?
Not quite. Try another option.
Answer: Cluster normal readings and identify distant observations
When labels are unavailable, normal operating patterns can be modeled with clustering. Readings far from these patterns can be investigated as possible anomalies.
Question 40 of 60 · Unsupervised Learning application in Robotics and Sensor data · Medium
Several robot sensors measure related aspects of the same movement, producing highly correlated features. Why might PCA be useful before clustering?
Not quite. Try another option.
Answer: It can reduce redundancy and improve distance calculations
PCA can combine correlated measurements into fewer components, reducing redundancy and potentially making distance-based clustering more efficient.
Question 41 of 60 · Clustering (K-Means Clustering, Hierarchical Clustering, Concept of DBSCAN) · Hard
A dataset contains two features: annual income ranging from to and age ranging from to . A k-means model using Euclidean distance is trained without preprocessing. Which outcome is most likely?
Not quite. Try another option.
Answer: Income will dominate because it has a larger numerical scale
Euclidean distance is sensitive to feature scale. Without normalization, the income differences contribute much larger squared distances than age differences, so clustering is driven primarily by income.
Question 42 of 60 · Clustering (K-Means Clustering, Hierarchical Clustering, Concept of DBSCAN) · Hard
In k-means clustering, two clusters become empty after an assignment step. Which response preserves the basic optimization objective most appropriately?
Not quite. Try another option.
Answer: Reinitialize empty centroids using poorly represented points
Reinitializing an empty centroid near a point with a large current reconstruction error can restore the requested number of clusters and potentially reduce the within-cluster sum of squares.
Question 43 of 60 · Clustering (K-Means Clustering, Hierarchical Clustering, Concept of DBSCAN) · Hard
A k-means algorithm repeatedly converges to different solutions when its initial centroids change. Which interpretation is most accurate?
Not quite. Try another option.
Answer: The objective function has multiple local minima
K-means optimizes a non-convex objective over assignments and centroids. Different initializations can converge to different local minima, so multiple runs are commonly compared using their final within-cluster sum of squares.
Question 44 of 60 · Clustering (K-Means Clustering, Hierarchical Clustering, Concept of DBSCAN) · Hard
In agglomerative hierarchical clustering, four points form two compact groups that are far apart. Which linkage is most likely to merge the groups prematurely because of a single pair of close points?
Not quite. Try another option.
Answer: Single linkage
Single linkage defines cluster distance by the closest pair of observations. One unusually close cross-group pair can therefore create a chaining effect and merge otherwise separate groups.
Question 45 of 60 · Clustering (K-Means Clustering, Hierarchical Clustering, Concept of DBSCAN) · Hard
For DBSCAN, a point is within the neighborhood radius of two core points belonging to different clusters, but it is not itself a core point. What can happen?
Not quite. Try another option.
Answer: It may be assigned to either neighboring cluster
A non-core border point reachable from multiple clusters can be assigned according to implementation and traversal order. DBSCAN does not uniquely resolve this border ambiguity.
Question 46 of 60 · Dimensionality Reduction and Principal Component Analysis · Hard
The centered covariance matrix of a two-dimensional dataset is . If one principal component is retained, which proportion of total variance is preserved?
Not quite. Try another option.
Answer: $80$%
The eigenvalues are and , so the total variance is . The first component preserves of the variance.
Question 47 of 60 · Dimensionality Reduction and Principal Component Analysis · Hard
Two features have covariance matrix . Which direction is the first principal component most likely to follow?
Not quite. Try another option.
Answer: The direction
The matrix has eigenvectors and , with eigenvalues and . The direction therefore captures almost all of the variance.
Question 48 of 60 · Dimensionality Reduction and Principal Component Analysis · Hard
A PCA model is fit using all available data before splitting observations into training and test sets. Why can this produce an overly optimistic downstream evaluation?
Not quite. Try another option.
Answer: Test-set variance influences the learned projection
PCA estimates means, covariances, and principal directions. Fitting it on the full dataset allows information from the test set to influence the representation used by the downstream model.
Question 49 of 60 · Dimensionality Reduction and Principal Component Analysis · Hard
A dataset contains one feature measured in millimeters and another measured in kilograms. Their raw variances differ by a factor of , but both physical quantities are considered equally important. Which preprocessing is most defensible before PCA?
Not quite. Try another option.
Answer: Standardize features before computing PCA
Standardization places features on comparable scales, preventing units with larger numerical variance from determining the principal directions solely because of their measurement units.
Question 50 of 60 · Dimensionality Reduction and Principal Component Analysis · Hard
A two-dimensional dataset lies close to a curved one-dimensional manifold. PCA retains one component, but the reconstruction error remains high. Which conclusion is most justified?
Not quite. Try another option.
Answer: PCA cannot represent nonlinear curvature with one line
PCA finds a linear subspace. A curved manifold may have low intrinsic dimension but still require multiple linear components for accurate global reconstruction.
Question 51 of 60 · Pattern Discovery (Association Rule Mining, Apriori Algorithm) · Hard
In a transaction database, of transactions contain bread, contain butter, and contain both. What are the confidence and lift of the rule ?
Not quite. Try another option.
Answer: Confidence , lift
Confidence is . Lift is , indicating that butter is twice as likely when bread is present compared with its overall frequency.
Question 52 of 60 · Pattern Discovery (Association Rule Mining, Apriori Algorithm) · Hard
Apriori uses the downward-closure property. If the itemset is below the minimum support threshold, which statement must be true?
Not quite. Try another option.
Answer: At least one subset of size two is infrequent
If all size-two subsets were frequent, Apriori's monotonicity property would not guarantee the triple is frequent, but an infrequent triple must have at least one infrequent subset because support cannot increase when items are added.
Question 53 of 60 · Pattern Discovery (Association Rule Mining, Apriori Algorithm) · Hard
Suppose the frequent 2-itemsets are , , , , and , but is infrequent. Which candidate 3-itemset is eliminated by Apriori before database scanning?
Not quite. Try another option.
Answer:
The candidate has the 2-item subset , which is already infrequent. Apriori therefore prunes the candidate without counting its support.
Question 54 of 60 · Pattern Discovery (Association Rule Mining, Apriori Algorithm) · Hard
A rule has high confidence because its consequent occurs in of all transactions. Which metric is most useful for checking whether the rule provides meaningful association beyond the consequent's baseline frequency?
Not quite. Try another option.
Answer: Lift
Lift compares rule confidence with the consequent's baseline support. A confidence near may be uninformative if the consequent already appears in nearly all transactions.
Question 55 of 60 · Pattern Discovery (Association Rule Mining, Apriori Algorithm) · Hard
An itemset has support , and every proper subset with the same items removed has support greater than . Which description best fits this itemset under standard terminology?
Not quite. Try another option.
Answer: It is necessarily a closed frequent itemset
A frequent itemset is closed when no proper superset has the same support. However, the stated condition concerns proper subsets, so the terminology is actually insufficient to establish closedness; therefore none of the listed claims is guaranteed.
Question 56 of 60 · Unsupervised Learning application in Robotics and Sensor data · Hard
A mobile robot clusters 2D lidar endpoints using DBSCAN. Increasing the radius substantially causes nearby walls and separate obstacles to merge. Which change most directly reduces this failure while preserving density-based clustering?
Not quite. Try another option.
Answer: Decrease the radius while validating noise levels
A smaller reduces unintended connections between nearby structures. It should be selected together with an appropriate minimum-points value because an overly small radius can label valid returns as noise.
Question 57 of 60 · Unsupervised Learning application in Robotics and Sensor data · Hard
A robot uses PCA to compress a 100-dimensional sensor vector. A rare collision signal lies in a low-variance direction and disappears after retaining only the first five components. What is the main risk?
Not quite. Try another option.
Answer: The retained components may discard safety-critical information
PCA prioritizes global variance, not task relevance. A rare but important collision signature can have low variance and be removed during dimensionality reduction.
Question 58 of 60 · Unsupervised Learning application in Robotics and Sensor data · Hard
A robot clusters temperature and vibration readings collected over several months. A new operating regime gradually changes both distributions, causing old clusters to absorb new observations poorly. Which issue is most directly involved?
Not quite. Try another option.
Answer: Concept drift in the sensor-generating process
The underlying data distribution has changed over time. Static clusters learned from historical observations may become unsuitable, so monitoring, recalibration, or online clustering may be required.
Question 59 of 60 · Unsupervised Learning application in Robotics and Sensor data · Hard
A robot combines range, camera color, and inertial features in k-means. The inertial variables have much larger numerical variance than the others. Which remedy is most appropriate before clustering?
Not quite. Try another option.
Answer: Normalize or weight modalities using domain-informed scales
Without scaling or weighting, high-variance inertial features dominate the distance calculation. Modality-aware normalization makes the clustering objective reflect the intended sensor contributions.
Question 60 of 60 · Unsupervised Learning application in Robotics and Sensor data · Hard
A robot uses unsupervised clustering to group spatial lidar points before tracking objects. Two objects temporarily overlap from the sensor's viewpoint and form one dense cluster. What limitation does this illustrate?
Not quite. Try another option.
Answer: A geometric cluster need not equal a physical object
Unsupervised clusters reflect similarity under the chosen representation and metric. Occlusion or spatial overlap can make multiple physical objects appear as one geometric density structure.
That's unit 4
Answer a few questions and your score shows up here.
Nearly through. Did unit 4 of CSE252 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 4 of CSE252 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.