Correct Answer: Frequent patterns discovered from the data
Explanation:
These methods mine frequent patterns and use them as discriminative features to build accurate classifiers.
Incorrect! Try again.
17An associative classifier builds classification rules using techniques adapted from methods that were originally designed to mine frequent itemsets and generate association rules from transaction databases.
Associative classifiers such as CBA (Classification Based on Associations) apply association rule mining to build classification models.
Incorrect! Try again.
18Precision is defined as:
Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score)
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
Precision is the proportion of correctly predicted positive cases among all cases predicted as positive.
Incorrect! Try again.
19Recall is defined as:
Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score)
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
Recall (sensitivity) measures the proportion of actual positive cases that were correctly identified by the model.
Incorrect! Try again.
20The F1-Score is the harmonic mean of:
Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score)
Easy
A.Accuracy and Support
B.Precision and Recall
C.Lift and Confidence
D.True Positives and True Negatives
Correct Answer: Precision and Recall
Explanation:
The F1-Score combines precision and recall into a single metric using their harmonic mean: .
Incorrect! Try again.
21A transaction database has 1000 transactions. The itemset appears in 150 transactions. What is the support of this itemset?
Introduction to Association Rule Mining
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Support is the fraction of transactions containing the itemset: (or 15%).
Incorrect! Try again.
22For the rule , support() and support() . What is the confidence of the rule?
Introduction to Association Rule Mining
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Confidence .
Incorrect! Try again.
23A rule has a lift value of . What does this indicate?
associations and correlations
Medium
A.The rule has 100% confidence
B. and are negatively correlated
C. and are positively correlated
D. and are independent
Correct Answer: and are independent
Explanation:
A lift of exactly means the occurrence of has no effect on the occurrence of ; they are statistically independent.
Incorrect! Try again.
24Given support() , support() , and support() , what is the lift of ?
associations and correlations
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Lift .
Incorrect! Try again.
25The Apriori algorithm relies on which key property to reduce the search space?
Introduction to Association Rule Mining
Medium
A.If an itemset is frequent, all its subsets are frequent
B.All itemsets have equal support
C.Confidence always increases with itemset size
D.If an itemset is infrequent, all its supersets are frequent
Correct Answer: If an itemset is frequent, all its subsets are frequent
Explanation:
The Apriori (anti-monotone) property states that all non-empty subsets of a frequent itemset must also be frequent, allowing infrequent candidates to be pruned early.
Incorrect! Try again.
26A rule with high confidence but lift less than suggests which relationship between the antecedent and consequent?
Mining Correlation Patterns
Medium
A.Perfect independence
B.Positive correlation
C.Negative correlation
D.Strong causation
Correct Answer: Negative correlation
Explanation:
Lift indicates the antecedent's presence reduces the likelihood of the consequent, i.e., a negative correlation, despite high confidence.
Incorrect! Try again.
27Which correlation measure is preferred over lift because it is null-invariant (not affected by transactions containing neither item)?
Mining Correlation Patterns
Medium
A.Cosine measure
B.Confidence
C.Lift
D.Support
Correct Answer: Cosine measure
Explanation:
The cosine measure is null-invariant, meaning its value is unaffected by the number of null transactions, unlike lift and .
Incorrect! Try again.
28In a correlation test for two items, a value significantly greater than the expected threshold indicates that the items are:
Mining Correlation Patterns
Medium
A.Equally frequent
B.Correlated (dependent)
C.Mutually exclusive only
D.Independent
Correct Answer: Correlated (dependent)
Explanation:
A large value rejects the independence hypothesis, indicating the two items are correlated (dependent); the sign of correlation must be checked separately.
Incorrect! Try again.
29Which of the following best distinguishes classification from clustering?
Introduction to Classification
Medium
A.Clustering predicts continuous values
B.Classification uses labeled training data; clustering does not
C.Both require predefined class labels
D.Classification is unsupervised; clustering is supervised
Correct Answer: Classification uses labeled training data; clustering does not
Explanation:
Classification is a supervised task requiring labeled training data, whereas clustering is unsupervised and groups data without predefined labels.
Incorrect! Try again.
30In a two-step classification process, what is the purpose of the first (learning) step?
Introduction to Classification
Medium
A.Measure the model's accuracy
B.Build a model from the training set
C.Remove noisy attributes only
D.Apply the model to unseen data
Correct Answer: Build a model from the training set
Explanation:
The learning step constructs a classifier by analyzing the labeled training set; the second step applies and evaluates the model on test data.
Incorrect! Try again.
31Why is a separate test set used instead of evaluating a classifier on its training data?
Introduction to Classification
Medium
A.To guarantee zero classification error
B.To obtain an unbiased estimate of generalization performance
C.To increase the training accuracy
D.To speed up model building
Correct Answer: To obtain an unbiased estimate of generalization performance
Explanation:
Evaluating on training data is overly optimistic; a held-out test set gives an unbiased estimate of how the model performs on unseen data.
Incorrect! Try again.
32Associative classification builds a classifier primarily from which type of rules?
Frequent Pattern-Based Classification Methods
Medium
A.Class association rules of the form
B.Unlabeled cluster centroids
C.Random decision splits
D.Regression equations
Correct Answer: Class association rules of the form
Explanation:
Associative classification mines class association rules where the consequent is a class label, then uses them to classify new instances.
Incorrect! Try again.
33In frequent pattern-based classification, why are discriminative frequent patterns preferred over all frequent patterns?
Frequent Pattern-Based Classification Methods
Medium
A.They eliminate the need for training data
B.They provide higher class-discriminating power as features
C.They reduce confidence to zero
D.They always have the highest support
Correct Answer: They provide higher class-discriminating power as features
Explanation:
Discriminative patterns are selected because they best separate classes, improving accuracy while reducing the huge number of candidate frequent patterns.
Incorrect! Try again.
34The CBA (Classification Based on Associations) algorithm ranks its rules primarily by which criteria?
Frequent Pattern-Based Classification Methods
Medium
A.Support, then lift
B.Rule length, then confidence
C.Alphabetical order of items
D.Confidence, then support
Correct Answer: Confidence, then support
Explanation:
CBA orders rules by decreasing confidence, using support as a tie-breaker, then selects a subset that covers the training data.
Incorrect! Try again.
35A classifier gives TP , FP , FN , TN . What is the precision?
Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score)
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Precision .
Incorrect! Try again.
36Using TP , FP , FN , TN , what is the recall?
Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score)
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Recall .
Incorrect! Try again.
37If a model has precision and recall , what is its F1-score?
Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score)
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
F1 . When P and R are equal, F1 equals that value.
Incorrect! Try again.
38Why is the F1-score often preferred over accuracy for imbalanced datasets?
Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score)
Medium
A.It always equals accuracy
B.It counts true negatives most heavily
C.It ignores false negatives entirely
D.It balances precision and recall, ignoring true negatives
Correct Answer: It balances precision and recall, ignoring true negatives
Explanation:
Accuracy can be misleading on imbalanced data due to many true negatives; F1 focuses on the positive class by combining precision and recall harmonically.
Incorrect! Try again.
39A spam filter that marks almost all emails as spam will most likely have:
Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score)
Medium
A.Low recall and low precision
B.High precision and high recall
C.High precision but low recall
D.High recall but low precision
Correct Answer: High recall but low precision
Explanation:
Flagging nearly everything catches most spam (high recall) but also labels many legitimate emails as spam, lowering precision.
Incorrect! Try again.
40A rule can be 'strong' (high support and confidence) yet misleading. Which measure best exposes this by comparing observed to expected co-occurrence?
associations and correlations
Medium
A.Lift
B.Coverage
C.Support
D.Confidence
Correct Answer: Lift
Explanation:
Support and confidence can both be high even when items are negatively correlated; lift compares observed co-occurrence to what independence predicts, revealing misleading rules.
Incorrect! Try again.
41A transaction database has 10,000 transactions. Itemset appears in 500 transactions, item appears in 2,000, and item appears in 1,000. For the rule , what are the support and confidence respectively?
Introduction to Association Rule Mining
Hard
A.Support , Confidence
B.Support , Confidence
C.Support , Confidence
D.Support , Confidence
Correct Answer: Support , Confidence
Explanation:
Support. Confidence.
Incorrect! Try again.
42For the rule with , , and , what is the lift, and what does it imply?
associations and correlations
Hard
A.Lift ; and are negatively correlated
B.Lift ; and are positively correlated
C.Lift ; and are independent
D.Lift ; and are negatively correlated
Correct Answer: Lift ; and are negatively correlated
Explanation:
Lift . Lift means the two items appear together less often than expected under independence, indicating negative correlation.
Incorrect! Try again.
43Consider a dataset in which 90% of all transactions contain milk. A rule has confidence 0.85. What is the most accurate interpretation?
Introduction to Association Rule Mining
Hard
A.The rule guarantees that 85% of milk buyers also buy bread
B.The rule is strong because confidence exceeds 0.8
C.The rule shows bread strongly implies milk since 0.85 is a high confidence
D.The rule is misleading; buying bread actually makes buying milk slightly less likely than baseline
Correct Answer: The rule is misleading; buying bread actually makes buying milk slightly less likely than baseline
Explanation:
Baseline , but . Lift , so bread is negatively associated with milk despite high confidence. High confidence alone can be misleading when the consequent is very frequent.
Incorrect! Try again.
44The lift measure is not null-invariant. Which of the following measures is null-invariant, making it more suitable for large sparse datasets with many null transactions?
Mining Correlation Patterns
Hard
A. (chi-square)
B.Lift
C.Support
D.Cosine measure
Correct Answer: Cosine measure
Explanation:
Null-invariant measures are unaffected by the number of null transactions (transactions containing neither item). Cosine, Kulczynski, Jaccard, and all-confidence are null-invariant. Lift, , and support all depend on the total transaction count and are therefore sensitive to null transactions.
Incorrect! Try again.
45For two items with , , and , compute the cosine measure.
Mining Correlation Patterns
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Cosine .
Incorrect! Try again.
46A binary classifier produces the confusion matrix: TP = 40, FP = 10, FN = 20, TN = 30. What is the F1-score?
Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score)
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Precision ; Recall . F1 .
Incorrect! Try again.
47In a highly imbalanced dataset where the positive class is only 2% of the data, a model predicts every instance as negative. Which statement is correct?
Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score)
Hard
A.Accuracy is 98% but recall for the positive class is 0
B.Accuracy is 2% and precision is undefined but recall is 100%
C.Accuracy is 98% and F1-score for the positive class is also high
D.Both accuracy and F1-score for the positive class are 98%
Correct Answer: Accuracy is 98% but recall for the positive class is 0
Explanation:
Predicting all negatives correctly classifies the 98% negatives (accuracy = 98%) but catches zero positives, so TP = 0, giving recall and F1 . This illustrates why accuracy is misleading on imbalanced data.
Incorrect! Try again.
48The score generalizes F1. If a fraud-detection team wants to weight recall twice as heavily as precision, which should they use?
Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score)
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
In , weights recall more. Specifically weights recall twice as much as precision, which is standard for fraud detection where missing positives is costly.
Incorrect! Try again.
49Associative classification methods such as CBA build classifiers from class association rules (CARs). What is the key difference between a CAR and a general association rule?
Frequent Pattern-Based Classification Methods
Hard
A.A CAR requires confidence to always equal 1
B.A CAR has no minimum support threshold
C.A CAR uses only single-item antecedents
D.The consequent of a CAR is restricted to a class label
Correct Answer: The consequent of a CAR is restricted to a class label
Explanation:
Class Association Rules constrain the rule consequent (right-hand side) to be a class label, i.e., rules of the form . General association rules may have any itemset on either side.
Incorrect! Try again.
50Why can discriminative frequent patterns improve classification accuracy over using single features, even though the number of frequent patterns can be huge?
Frequent Pattern-Based Classification Methods
Hard
A.Frequent patterns always have higher support than individual features and are therefore more reliable
B.Frequent patterns eliminate the need for any feature selection at all
C.Frequent patterns reduce the dataset dimensionality to exactly the number of classes present
D.Frequent patterns capture feature combinations that carry more discriminative information than individual low-order features
Correct Answer: Frequent patterns capture feature combinations that carry more discriminative information than individual low-order features
Explanation:
Combinations of items (higher-order patterns) can express interactions that single features miss, boosting discriminative power. However, the pattern space is large, so effective methods select a compact set of discriminative frequent patterns rather than using all of them.
Incorrect! Try again.
51In classification, why is a purely training-error-minimizing model prone to overfitting?
Introduction to Classification
Hard
A.It cannot compute a decision boundary for linearly separable data
B.It requires that training and test distributions be identical
C.It always underestimates the number of classes present
D.It may model noise in the training data, reducing generalization to unseen data
Correct Answer: It may model noise in the training data, reducing generalization to unseen data
Explanation:
Minimizing only training error can fit random noise and idiosyncrasies of the training set, producing a complex model that performs well on training data but poorly on unseen data — the hallmark of overfitting. Regularization or validation is used to control this.
Incorrect! Try again.
52The Apriori algorithm's efficiency relies on the downward closure property. Which statement correctly expresses this property?
Introduction to Association Rule Mining
Hard
A.If an itemset is infrequent then all its subsets are infrequent
B.All supersets of a frequent itemset are also frequent
C.The support of an itemset equals the sum of its subsets' supports
D.All non-empty subsets of a frequent itemset are also frequent
Correct Answer: All non-empty subsets of a frequent itemset are also frequent
Explanation:
The Apriori (downward closure / anti-monotone) property states that every non-empty subset of a frequent itemset must also be frequent. Equivalently, if any subset is infrequent, its supersets cannot be frequent, allowing pruning of the candidate space.
Incorrect! Try again.
53Two items have a contingency table: both present = 400, A only = 100, B only = 100, neither = 400 (total = 1000). Testing independence with , what is the expected count for the 'both present' cell?
Mining Correlation Patterns
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Row total for A present ; column total for B present . Expected . Since observed (400) far exceeds expected (250), the items are positively correlated.
Incorrect! Try again.
54The Kulczynski measure combined with imbalance ratio (IR) is often used to judge interestingness. When Kulczynski and IR is high, what does this typically indicate?
associations and correlations
Hard
A.A guaranteed spurious rule that must be discarded regardless of IR
B.A neutral/uncorrelated pattern that is also strongly imbalanced between the two items
C.A strongly positively correlated and balanced pattern
D.A strongly negatively correlated pattern with balanced item frequencies
Correct Answer: A neutral/uncorrelated pattern that is also strongly imbalanced between the two items
Explanation:
A Kulczynski value near 0.5 indicates a neutral (neither clearly positive nor negative) association. Reporting the imbalance ratio alongside reveals that the two items differ greatly in frequency, which explains the neutral verdict and aids interpretation.
Incorrect! Try again.
55For a multiclass problem, macro-averaged F1 and micro-averaged F1 can differ substantially. When is micro-F1 preferable?
Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score)
Hard
A.When every class should contribute equally regardless of size
B.When you only care about the rarest minority class
C.When the dataset has exactly balanced class frequencies
D.When you want performance dominated by the more frequent classes
Correct Answer: When you want performance dominated by the more frequent classes
Explanation:
Micro-averaging pools all TP, FP, FN across classes before computing the metric, so frequent classes dominate. Macro-averaging computes the metric per class then averages, giving each class equal weight regardless of size.
Incorrect! Try again.
56In the CMAR (Classification based on Multiple Association Rules) approach, when multiple matching rules predict different classes for a test instance, how is the conflict typically resolved?
Frequent Pattern-Based Classification Methods
Hard
A.By always choosing the single rule with the highest support
B.By taking a simple unweighted majority vote of all matching rules
C.By grouping matching rules per class and using a weighted measure to select the strongest group
D.By choosing the rule that was generated earliest during mining
Correct Answer: By grouping matching rules per class and using a weighted measure to select the strongest group
Explanation:
CMAR groups the matching rules by class label and evaluates each group using a weighted measure that accounts for both rule strength and correlation, then predicts the class of the strongest group rather than relying on a single rule or plain majority vote.
Incorrect! Try again.
57A closed frequent itemset is defined such that no immediate superset has the same support. Why are closed itemsets preferred over the full set of frequent itemsets?
Introduction to Association Rule Mining
Hard
A.They guarantee all association rules will have confidence 1
B.They are always fewer than the number of maximal itemsets
C.They provide a lossless, compact representation from which all frequent itemsets and their supports can be recovered
D.They require less memory because they discard support counts entirely
Correct Answer: They provide a lossless, compact representation from which all frequent itemsets and their supports can be recovered
Explanation:
Closed frequent itemsets losslessly compress the frequent itemset collection: every frequent itemset's support can be derived from the closed itemsets. Maximal itemsets are more compact but lossy (they lose exact support counts).
Incorrect! Try again.
58A lazy learner like k-NN differs fundamentally from an eager learner like a decision tree in that it:
classification
Hard
A.Builds a global model during training and discards the training data
B.Always achieves lower test error than eager learners
C.Defers all generalization until a query arrives, storing the training data instead of building a model
D.Cannot handle numeric attributes without discretization
Correct Answer: Defers all generalization until a query arrives, storing the training data instead of building a model
Explanation:
Lazy learners (e.g., k-NN) store training instances and postpone computation until classification time. Eager learners (e.g., decision trees) construct a generalized model during training. Lazy learners have low training cost but higher per-query cost.
Incorrect! Try again.
59Model X has precision 0.9, recall 0.6; Model Y has precision 0.7, recall 0.8. Comparing by F1-score, which model wins and by roughly how much?
Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score)
Hard
A.They tie at
B.Model X wins ( vs )
C.Model Y wins ( vs )
D.Model X wins ( vs )
Correct Answer: Model Y wins ( vs )
Explanation:
F1. F1. Model Y has the higher F1-score.
Incorrect! Try again.
60The classic 'coffee-tea' example shows that the rule can have high confidence yet lift . What is the primary lesson from this paradox?
associations and correlations
Hard
A.Support must be increased to fix the contradiction between confidence and lift
B.High confidence does not imply positive correlation; correlation measures like lift are needed to detect genuine dependence
C.Confidence and lift always move in the same direction
D.Lift should never be used because it contradicts confidence
Correct Answer: High confidence does not imply positive correlation; correlation measures like lift are needed to detect genuine dependence
Explanation:
When the consequent has high baseline frequency, a rule can show high confidence while the items are actually negatively correlated (lift ). This shows confidence alone is insufficient, and correlation measures such as lift are required to assess true interestingness.
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. 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.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →