100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

COMP 682 Data Mining Final Exam Questions and Answers 2026

Rating
-
Sold
-
Pages
27
Grade
A
Uploaded on
01-01-2026
Written in
2025/2026

1 Precision (a or positive) or Positive Predictive Value (PPV) TP/(TP+FP) Positive Predictive Value (PPV) = TP/(TP+FP) 2 Precision (b or negative) or Negative Predictive Value (NPV) TN/(TN+FN) Negative Predictive Value (NPV) = TN/(TN+FN) 3 Recall (a or positive) = True Positive Rate (a) or TPR(a) Sensitivity =TP/(TP+FN) 4 Recall (b or negative) = True Negative Rate (b) Specificity = TN/(TN+FP) 5 F-MEASURE OR F-SCORE 3 items (2 bullet points and the formula) 1) The harmonic mean of precision and recall. 2) It can be used as a single measure of class performance. 3) F-measure (a) = (2 x Precision x Recall) / (Precision + Recall) 6 Accuracy how close a measurement is to the true value 7 Accuracy is the overall ___________________ of the model and is calculated as the sum of __________________________ divided by the total number of ______________________________. Accuracy is the overall [correctness] of the model and is calculated as the sum of [correct classifications] divided by the total number of [classifications]. 8 Accuracy Formula Accuracy = (TP+TN) /TOTAL Classifications 9 True Positive Rate or True Positive Rate (a) TP / TP + FN 10 True Negative Rate or True Negative Rate (b) TN / TN + FP 11 R formula for splitting data (On Practice Exam 1) intrain <- createDataPartition(y = df$variable, p=%, list=FALSE) train_df <- df[inTrain,] test_df <- df[-inTrain,] OR train_target <- df[inTrain,8] test_target <- df[-inTrain,8] train_input <- df[inTrain,-8] test_input <- nadf-inTrain,-8] 12 R formula for C5.0 C5.0(df$target_variable~., df, control = C5.0Control(CF = .###)) 13 C5.0 Confidence Factor (CF) A value between 0 and 1 that indicates the confidence with which this prediction is made. Decreasing the confidence factor will decrease the tree size, specifically the nodes 14 Draw a CONFUSION MATRIX (CONTINGENCY TABLE)

Show more Read less
Institution
Course










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
January 1, 2026
Number of pages
27
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

COMP682



COMP 682 Data Mining Final Exam
Questions and Answers 2026
1

Precision (a or positive)

or

Positive Predictive Value (PPV)

TP/(TP+FP)



Positive Predictive Value (PPV) = TP/(TP+FP)



2

Precision (b or negative)

or

Negative Predictive Value (NPV)

TN/(TN+FN)



Negative Predictive Value (NPV) = TN/(TN+FN)



3

Recall (a or positive) = True Positive Rate (a) or TPR(a)

Sensitivity =TP/(TP+FN)



4

Recall (b or negative) = True Negative Rate (b)

Specificity = TN/(TN+FP)



5



COMP682

,COMP682


F-MEASURE OR F-SCORE

3 items (2 bullet points and the formula)

1) The harmonic mean of precision and recall.



2) It can be used as a single measure of class performance.



3) F-measure (a) = (2 x Precision x Recall) / (Precision + Recall)



6

Accuracy

how close a measurement is to the true value



7

Accuracy is the overall ___________________ of the model and is calculated as the sum of
__________________________ divided by the total number of ______________________________.

Accuracy is the overall [correctness] of the model and is calculated as the sum of [correct
classifications] divided by the total number of [classifications].



8

Accuracy Formula

Accuracy = (TP+TN) /TOTAL Classifications



9

True Positive Rate or True Positive Rate (a)

TP / TP + FN



10

True Negative Rate or True Negative Rate (b)

TN / TN + FP




COMP682

, COMP682




11

R formula for splitting data



(On Practice Exam 1)

intrain <- createDataPartition(y = df$variable, p=%, list=FALSE)



train_df <- df[inTrain,]

test_df <- df[-inTrain,]



OR



train_target <- df[inTrain,8]

test_target <- df[-inTrain,8]

train_input <- df[inTrain,-8]

test_input <- nadf-inTrain,-8]



12

R formula for C5.0

C5.0(df$target_variable~., df, control = C5.0Control(CF = .###))



13

C5.0 Confidence Factor (CF)

A value between 0 and 1 that indicates the confidence with which this prediction is made.



Decreasing the confidence factor will decrease the tree size, specifically the nodes



14

Draw a CONFUSION MATRIX (CONTINGENCY TABLE)


COMP682

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
PossibleA Chamberlain College Of Nursing
Follow You need to be logged in order to follow users or courses
Sold
988
Member since
4 year
Number of followers
650
Documents
12751
Last sold
6 days ago
POSSIBLEA QUALITY UPDATED EXAMS

Choose quality study materials for nursing schools to ensure success in your studies and future career. "Welcome to PossibleA - your perfect study assistant! Here you will find Quality sheets, study materials, exams, quizzes, tests, and notes to prepare for exams and study successfully. Our store offers a wide selection of materials on various subjects and difficulty levels, created by experienced teachers and checked for quality. Our quality sheets are an easy and quick way to remember key points and definitions. And our study materials, tests, and quizzes will help you absorb the material and prepare for exams. Our store also has notes and lecture summaries that will help you save time and make the learning process more efficient.

Read more Read less
3.9

141 reviews

5
74
4
25
3
20
2
1
1
21

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions