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.
An 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.
Not quite. Try another option.
Answer: Association rule mining
Associative classifiers such as CBA (Classification Based on Associations) apply association rule mining to build classification models.
Question 18 of 60 · Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score) · Easy
Precision is defined as:
Not quite. Try another option.
Answer:
Precision is the proportion of correctly predicted positive cases among all cases predicted as positive.
Question 19 of 60 · Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score) · Easy
Recall is defined as:
Not quite. Try another option.
Answer:
Recall (sensitivity) measures the proportion of actual positive cases that were correctly identified by the model.
Question 20 of 60 · Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score) · Easy
The F1-Score is the harmonic mean of:
Not quite. Try another option.
Answer: Precision and Recall
The F1-Score combines precision and recall into a single metric using their harmonic mean: .
Question 21 of 60 · Introduction to Association Rule Mining · Medium
A transaction database has 1000 transactions. The itemset appears in 150 transactions. What is the support of this itemset?
Not quite. Try another option.
Answer:
Support is the fraction of transactions containing the itemset: (or 15%).
Question 22 of 60 · Introduction to Association Rule Mining · Medium
For the rule , support() and support() . What is the confidence of the rule?
Not quite. Try another option.
Answer:
Confidence .
Question 23 of 60 · associations and correlations · Medium
A rule has a lift value of . What does this indicate?
Not quite. Try another option.
Answer: and are independent
A lift of exactly means the occurrence of has no effect on the occurrence of ; they are statistically independent.
Question 24 of 60 · associations and correlations · Medium
Given support() , support() , and support() , what is the lift of ?
Not quite. Try another option.
Answer:
Lift .
Question 25 of 60 · Introduction to Association Rule Mining · Medium
The Apriori algorithm relies on which key property to reduce the search space?
Not quite. Try another option.
Answer: If an itemset is frequent, all its subsets are frequent
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.
Question 26 of 60 · Mining Correlation Patterns · Medium
A rule with high confidence but lift less than suggests which relationship between the antecedent and consequent?
Not quite. Try another option.
Answer: Negative correlation
Lift indicates the antecedent's presence reduces the likelihood of the consequent, i.e., a negative correlation, despite high confidence.
Question 27 of 60 · Mining Correlation Patterns · Medium
Which correlation measure is preferred over lift because it is null-invariant (not affected by transactions containing neither item)?
Not quite. Try another option.
Answer: Cosine measure
The cosine measure is null-invariant, meaning its value is unaffected by the number of null transactions, unlike lift and .
Question 28 of 60 · Mining Correlation Patterns · Medium
In a correlation test for two items, a value significantly greater than the expected threshold indicates that the items are:
Not quite. Try another option.
Answer: Correlated (dependent)
A large value rejects the independence hypothesis, indicating the two items are correlated (dependent); the sign of correlation must be checked separately.
Question 29 of 60 · Introduction to Classification · Medium
Which of the following best distinguishes classification from clustering?
Not quite. Try another option.
Answer: Classification uses labeled training data; clustering does not
Classification is a supervised task requiring labeled training data, whereas clustering is unsupervised and groups data without predefined labels.
Question 30 of 60 · Introduction to Classification · Medium
In a two-step classification process, what is the purpose of the first (learning) step?
Not quite. Try another option.
Answer: Build a model from the training set
The learning step constructs a classifier by analyzing the labeled training set; the second step applies and evaluates the model on test data.
Question 31 of 60 · Introduction to Classification · Medium
Why is a separate test set used instead of evaluating a classifier on its training data?
Not quite. Try another option.
Answer: To obtain an unbiased estimate of generalization performance
Evaluating on training data is overly optimistic; a held-out test set gives an unbiased estimate of how the model performs on unseen data.
Question 32 of 60 · Frequent Pattern-Based Classification Methods · Medium
Associative classification builds a classifier primarily from which type of rules?
Not quite. Try another option.
Answer: Class association rules of the form
Associative classification mines class association rules where the consequent is a class label, then uses them to classify new instances.
Question 33 of 60 · Frequent Pattern-Based Classification Methods · Medium
In frequent pattern-based classification, why are discriminative frequent patterns preferred over all frequent patterns?
Not quite. Try another option.
Answer: They provide higher class-discriminating power as features
Discriminative patterns are selected because they best separate classes, improving accuracy while reducing the huge number of candidate frequent patterns.
Question 34 of 60 · Frequent Pattern-Based Classification Methods · Medium
The CBA (Classification Based on Associations) algorithm ranks its rules primarily by which criteria?
Not quite. Try another option.
Answer: Confidence, then support
CBA orders rules by decreasing confidence, using support as a tie-breaker, then selects a subset that covers the training data.
Question 35 of 60 · Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score) · Medium
A classifier gives TP , FP , FN , TN . What is the precision?
Not quite. Try another option.
Answer:
Precision .
Question 36 of 60 · Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score) · Medium
Using TP , FP , FN , TN , what is the recall?
Not quite. Try another option.
Answer:
Recall .
Question 37 of 60 · Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score) · Medium
If a model has precision and recall , what is its F1-score?
Not quite. Try another option.
Answer:
F1 . When P and R are equal, F1 equals that value.
Question 38 of 60 · Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score) · Medium
Why is the F1-score often preferred over accuracy for imbalanced datasets?
Not quite. Try another option.
Answer: It balances precision and recall, ignoring true negatives
Accuracy can be misleading on imbalanced data due to many true negatives; F1 focuses on the positive class by combining precision and recall harmonically.
Question 39 of 60 · Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score) · Medium
A spam filter that marks almost all emails as spam will most likely have:
Not quite. Try another option.
Answer: High recall but low precision
Flagging nearly everything catches most spam (high recall) but also labels many legitimate emails as spam, lowering precision.
Question 40 of 60 · associations and correlations · Medium
A rule can be 'strong' (high support and confidence) yet misleading. Which measure best exposes this by comparing observed to expected co-occurrence?
Not quite. Try another option.
Answer: Lift
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.
Question 41 of 60 · Introduction to Association Rule Mining · Hard
A 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?
Not quite. Try another option.
Answer: Support , Confidence
Support. Confidence.
Question 42 of 60 · associations and correlations · Hard
For the rule with , , and , what is the lift, and what does it imply?
Not quite. Try another option.
Answer: Lift ; and are negatively correlated
Lift . Lift means the two items appear together less often than expected under independence, indicating negative correlation.
Question 43 of 60 · Introduction to Association Rule Mining · Hard
Consider a dataset in which 90% of all transactions contain milk. A rule has confidence 0.85. What is the most accurate interpretation?
Not quite. Try another option.
Answer: The rule is misleading; buying bread actually makes buying milk slightly less likely than baseline
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.
Question 44 of 60 · Mining Correlation Patterns · Hard
The 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?
Not quite. Try another option.
Answer: Cosine measure
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.
Question 45 of 60 · Mining Correlation Patterns · Hard
For two items with , , and , compute the cosine measure.
Not quite. Try another option.
Answer:
Cosine .
Question 46 of 60 · Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score) · Hard
A binary classifier produces the confusion matrix: TP = 40, FP = 10, FN = 20, TN = 30. What is the F1-score?
Not quite. Try another option.
Answer:
Precision ; Recall . F1 .
Question 47 of 60 · Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score) · Hard
In 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?
Not quite. Try another option.
Answer: Accuracy is 98% but recall for the positive class is 0
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.
Question 48 of 60 · Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score) · Hard
The score generalizes F1. If a fraud-detection team wants to weight recall twice as heavily as precision, which should they use?
Not quite. Try another option.
Answer:
In , weights recall more. Specifically weights recall twice as much as precision, which is standard for fraud detection where missing positives is costly.
Question 49 of 60 · Frequent Pattern-Based Classification Methods · Hard
Associative 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?
Not quite. Try another option.
Answer: The consequent of a CAR is restricted to a class label
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.
Question 50 of 60 · Frequent Pattern-Based Classification Methods · Hard
Why can discriminative frequent patterns improve classification accuracy over using single features, even though the number of frequent patterns can be huge?
Not quite. Try another option.
Answer: Frequent patterns capture feature combinations that carry more discriminative information than individual low-order features
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.
Question 51 of 60 · Introduction to Classification · Hard
In classification, why is a purely training-error-minimizing model prone to overfitting?
Not quite. Try another option.
Answer: It may model noise in the training data, reducing generalization to unseen data
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.
Question 52 of 60 · Introduction to Association Rule Mining · Hard
The Apriori algorithm's efficiency relies on the downward closure property. Which statement correctly expresses this property?
Not quite. Try another option.
Answer: All non-empty subsets of a frequent itemset are also frequent
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.
Question 53 of 60 · Mining Correlation Patterns · Hard
Two 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?
Not quite. Try another option.
Answer:
Row total for A present ; column total for B present . Expected . Since observed (400) far exceeds expected (250), the items are positively correlated.
Question 54 of 60 · associations and correlations · Hard
The Kulczynski measure combined with imbalance ratio (IR) is often used to judge interestingness. When Kulczynski and IR is high, what does this typically indicate?
Not quite. Try another option.
Answer: A neutral/uncorrelated pattern that is also strongly imbalanced between the two items
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.
Question 55 of 60 · Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score) · Hard
For a multiclass problem, macro-averaged F1 and micro-averaged F1 can differ substantially. When is micro-F1 preferable?
Not quite. Try another option.
Answer: When you want performance dominated by the more frequent classes
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.
Question 56 of 60 · Frequent Pattern-Based Classification Methods · Hard
In 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?
Not quite. Try another option.
Answer: By grouping matching rules per class and using a weighted measure to select the strongest group
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.
Question 57 of 60 · Introduction to Association Rule Mining · Hard
A 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?
Not quite. Try another option.
Answer: They provide a lossless, compact representation from which all frequent itemsets and their supports can be recovered
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).
Question 58 of 60 · classification · Hard
A lazy learner like k-NN differs fundamentally from an eager learner like a decision tree in that it:
Not quite. Try another option.
Answer: Defers all generalization until a query arrives, storing the training data instead of building a model
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.
Question 59 of 60 · Pattern Evaluation in Classification (Evaluation Metrics: Precision, Recall, F1-Score) · Hard
Model 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?
Not quite. Try another option.
Answer: Model Y wins ( vs )
F1. F1. Model Y has the higher F1-score.
Question 60 of 60 · associations and correlations · Hard
The classic 'coffee-tea' example shows that the rule can have high confidence yet lift . What is the primary lesson from this paradox?
Not quite. Try another option.
Answer: High confidence does not imply positive correlation; correlation measures like lift are needed to detect genuine dependence
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.
That's unit 3
Answer a few questions and your score shows up here.
Nearly through. Did unit 3 of BTY587 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 3 of BTY587 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.