ISYS 42903 Mid Term

5.0(2)
Studied by 70 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/81

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:39 AM on 3/18/25
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

82 Terms

1
New cards

What is CRISP-DM

Cross Industry Standard Process for Data Mining

2
New cards

What are the 6 stages of CRISP-DM

  1. 1. Business/Research Understanding Phase

  2. 2. Data Understanding Phase

  3. 3. Data Preparation Phase

  4. 4. Modeling Phase

  5. 5. Evaluation Phase

  6. 6. Deployment Phase

3
New cards

What is the Business/Research Understanding Phase

  • - first stage in CRISP DM

  • - Clearly enunciate the project objectives and requirements in terms of the business or research unit as a whole

  • - Translate goals and restrictions into formulation of data mining problem definition

  • - prepare a preliminary strategy for achieving these objectives

4
New cards

Which CRISP DM stage: Chief Analyst meets with CIO, who says that she would like to investigate and scope out how analytics can be used in HR hiring projects?

Business/research Understanding Phase

5
New cards

What is the Data Understanding Phase

  • - second stage in CRISP DM

  • - Collect the data

  • - use exploratory data analysis to familiarize yourself with the data and discover initial insights

  • - Evaluate the quality of the data

  • - select interesting subsets that may contain actionable patterns

6
New cards

What is the data preparation phase

  • - The third stage in CRISP DM

  • - labor intensive phase covers all aspects of preparing the final data set from the raw, dirty, data.

  • - perform transformations on certain variables if needed

  • - clean the raw data so it is ready for modeling tools

7
New cards

What is Modeling Phase

  • - The fourth stage in CRISP DM

  • - select and apply appropriate modeling techniques

  • - calibrate model settings to optimize results

  • - several different techniques may be used for the same problem

  • - may require looping back to data preparation phase

8
New cards

What CRISP DM stage?: A data analyst meets with superiors to discuss whether to use kNN or Association on the data ?

Modeling Phase

9
New cards

What is Evaluation Phase?

  • -The fifth stage in CRISP DM

  • - Models must be evaluated for quality and effectiveness before deployment

  • - determine if model achieves objectives set in first stage

  • - establish whether sine important facet of the business or research problem has not been sufficiently accounted for

  • - come to a decision regarding the use of the data mining results

10
New cards

What is Deployment Phase?

  • - sixth stage in CRISP DM

  • - Model creation does not signify completion of the project

  • - single deployment: generate a report

  • - Complex deployment: implement a parallel data mining process in another department

  • - for businesses: the customer often carries out the deployment based on your model

11
New cards

6 data mining tasks

  1. 1. description

  2. 2. estimation

  3. 3. classification

  4. 4. prediction

  5. 5. clustering

  6. 6. association

12
New cards

What data mining task?: Estimate the amount of money a randomly chosen family of 4 will be shopping given a time and date?

Estimation or prediction

13
New cards

What is the data mining task?: Forecast the stock price of Microsoft for next year?

Prediction

14
New cards

What data mining task? Identify whether or not a certain financial transaction happened today is a possible criminal behavior ?

Classification

15
New cards

Treu or False? Data mining process is autonomous and requires little oversight.

False

16
New cards

What is Description?

A data mining task aimed to describe patterns and trends lying within the data.

17
New cards

What is estimation?

A data mining task that approximates the value of a numeric target variable using a set of numeric and/or categorical predictor variables

Example: Estimating the amount of money a random family of 4 will spend on back-to-school shopping this fall

18
New cards

What is prediction?

A data mining task that’s results lie in the future

example: predicting the price of a stock 3 months into the future

19
New cards

What is classification?

A data mining task that has a categorical target variable that can be split into different “classes” (income bracket for example).

example: diagnosing whether or not a particular disease is present

20
New cards

What is clustering?

A data mining task that groups records, observations, or cases into classes of similar objects. There is no target variable.

example: target marketing of a niche product for a small business which does not have a large marketing budget

21
New cards

What is association?

A data mining task that finds which attributes go together. It seeks to uncover rules for quantifying the relationship between two or more attributes. “if the antecedent then consequent”

Example: examining the proportion of children whose parents read to them who are themselves good readers.

22
New cards

What is the z-score equation?

knowt flashcard image
23
New cards

If z-score is less than the sample mean then the z-score is ___ than zero

z-score is less than zero

24
New cards

When skewness is positive then mean __ median?

mean is greater than the median

25
New cards

What is the use of standardizing variables?

Convert variables to a same scale

26
New cards

When Handling Missing Data, one could?

-Replace Missing Values with User-defined Constant

– Replace Missing Values with Mode or Mean/Median

– Replace Missing Values with Random Values

27
New cards

True or False? IQR is more robust that Z-score method for outlier detection, however, it is highly sensitive to mean and standard deviation

False

28
New cards

In data mining tasks, one could reduce the margin of errors by…

Increasing the sample size

29
New cards

True or False? In Forward Regression, you start with all variables of interest in the model and then at each step, the least significant variable is dropped, assuming it’s p-value is above a pre-set level (α = .05 or .10)

False

30
New cards
<p>Select all appropriate options</p><p>A. No. of observations is 76</p><p>B. R square is 70.0</p><p>C. Each addition milligram (unit) of sodium, the estimated decrease in nutritional rating is 0.06057, when sugars is held constant</p><p>D. Rating = 2.37 – .20  Sugars – 0.01  Sodium + error</p>

Select all appropriate options

A. No. of observations is 76

B. R square is 70.0

C. Each addition milligram (unit) of sodium, the estimated decrease in nutritional rating is 0.06057, when sugars is held constant

D. Rating = 2.37 – .20  Sugars – 0.01  Sodium + error

A and C

31
New cards

Before running a k-nearest neighbor model it is required to…

set the number of neighbors to compare instances to

32
New cards

In kNN, distance for non numerical variable can be computed by

different function

33
New cards

Euclidean distance formula

knowt flashcard image
34
New cards

Calculate the E-distance for the following: Patient A is 20-years-old and has a Na/K ratio = 12, and Patient B is 30 years-old and has a Na/K ratio = 8

10.77

35
New cards

A sample of 1000 data items has a mean of 100 and a standard deviation of 2 with a range of 94 to 107.

a. Compute Z-score the following two values: 104, 98

b. Compute Min-Max range the following: 104, 98

a. 2, -1

b. 0.769, 0.308

36
New cards

What are the supervised data mining tasks?

Description, estimation, prediction, and classification

(they all have a target variable)

37
New cards

What are the unsupervised data mining tasks?

Clustering and association

(No target variable)

38
New cards

Normality vs Normalization

Normality deals with the distribution of data

Normalization deals with unskewing data

39
New cards

Choose appropriate fit statistics for estimation model selection:

Average Squared Error (ASE)

Schwarz’s Bayesian Criterion (SBC)

Log Likelihood

<p>Average Squared Error (ASE)</p><p>Schwarz’s Bayesian Criterion (SBC)</p><p>Log Likelihood</p>
40
New cards

Choose appropriate fit statistics for decision model selection:

Misclassification and average profit/loss

<p>Misclassification and average profit/loss</p>
41
New cards

Which is true when modeling a Decision Tree?

• Each variable is evaluated at each node to determine the splitting variable

• The same variable may be used for splitting at different locations in the Decision Tree

• CART (Phi) / information gain criteria can be used for selecting candidate splits

• If not pruned, a stopping criterion in creating a Decision Tree is when the tree reaches the leaf nodes

• All of the above

All of the above

42
New cards
<p>Compute the goodness of fit for candidate split 3 </p><p>equation: 2PL*PR * |P(j|tL)-P(j|tR)|</p>

Compute the goodness of fit for candidate split 3

equation: 2PL*PR * |P(j|tL)-P(j|tR)|

0.125

43
New cards

What is data mining?

The process of discovering useful patterns and trends in large data sets

44
New cards

Is automation a substitute for human input in data mining?

No, humans need to be actively involved at every phase of the data mining process.

45
New cards

Why do we need to preprocess data?

missing values, outliers, data in a form not suitable for mining models, inconsistent values, obsolete or redundant fields.

46
New cards

Data cleaning and data transformation are associated with?

preprocessing

47
New cards

Ways to handle missing data

  • - replace missing value with some constant

  • - replace with the field mean (numerical) or mode (categorical)

  • - replace with a value generated at random from the observed distribution of the variable

  • - replace with imputed value based on the other characteristics of the record

48
New cards

What is an outlier

extreme values that go against the trend of the remaining data

49
New cards

What are measures of center

mean, median, mode

50
New cards

measures of location

percentiles and quantiles

51
New cards

Measures of variability

range, standard deviation, mean absolute deviation, and IQR

52
New cards

Equation for sample std dev

knowt flashcard image
53
New cards

Why should data miners normalize their numeric variables?

to standardize the scale of effect each variable has on the results.

54
New cards

What is Min-Max Normalization

Looks at how much greater the field value is than the min and scaling this difference by the range. Values will range 0-1.

<p>Looks at how much greater the field value is than the min and scaling this difference by the range. Values will range 0-1.</p>
55
New cards

What is z-score standardization?

takes the difference between the field value and field mean and scales this difference by the std deviation of the field values.

56
New cards

What is decimal scaling?

ensures that every normalized value lies between -1 and 1

<p>ensures that every normalized value lies between -1 and 1</p>
57
New cards

A data value is an outlier if (IQR)

it is located 1.5 IQR below Q1 or 1.5 IQR above Q3

equation to see: Q1 - 1.5(IQR) and Q3 + 1.5(IQR)

58
New cards

What is a dummy(flag/indicator) variable?

a categorical variable that only has two values (0 or 1). This is used during regressions when one wants to use categorical predictors (gender). Regression requires predictors to be numeric.

59
New cards

What is an unary variable?

takes on only a single value, so more like a constant

60
New cards

How to calculate confidence interval

point estimate ± margin of error

61
New cards

What is margin of error

it indicates the range within which the true population parameter is expected to lie, based on a sample estimate

62
New cards

What is standard error of the estimate?

accuracy of predictions made by a regression model.

<p>accuracy of predictions made by a regression model<span>.</span></p>
63
New cards

What is r squared

a measure of how closely the linear regression model fits the data

64
New cards

What is cross validation

a technique for insuring that the results uncovered in an analysis are generalizable to an independent, unseen, data set.

two types: Two fold and k-fold

65
New cards

What is meant by overfitting?

this results when the provisional model tries to account for every possible trend or structure in the training set.

66
New cards

What is the most often used algorithim for classification?

kNN/k-nearest-neighbor

67
New cards

What is an example of instance based learning?

kNN

68
New cards

What is simple unweighted voting

  1. 1. before running the algorithm, decide on the value of k

  2. 2. then compare new record to k nearest neighbors

  3. 3. once the k records have been chosen, the distance no longer matters. one record, one vote.

69
New cards

What is weighted voting?

closer neighbors have a larger voice in the classification decision than do more distant neighbors. Weighted voting also makes it much less likely for ties to arise.

70
New cards

What is a decision tree?

a collection of decision nodes, connected by branches, extending downward from the root node until terminating in leaf nodes

  • - target variable must be categorical

71
New cards

Requirements that must be met before decision tree algorithm may be applied?

1. Decision tree algorithms represent supervised learning, and as such require preclassified target variables. A training data set must be supplied which provides the algorithm with the values of the target variable.

2. This training data set should be rich and varied, providing the algorithm with a healthy cross section of the types of records for which classification may be needed in the future. Decision trees learn by example, and if examples are systematically lacking for a definable subset of records, classification and prediction for this subset will be problematic or impossible.

3. The target attribute classes must be discrete. That is, one cannot apply decision tree analysis to a continuous target variable. Rather, the target variable must take on values that are clearly demarcated as either belonging to a particular class or not belonging.

72
New cards

Two algorithms for constructing decision trees?

CART (classification and regression trees) & C4.5

73
New cards

What is CART?

The decision trees produced are strictly binary, containing exactly two branches for each decision node. It recursively partitions the records in the training data set into subsets of records with similar values for the target attribute.

74
New cards

What is C4.5?

  • - is not restricted to binary splits.

  • - produces a tree of more variable shape.

  • - For categorical attributes, ___ by default produces a separate branch for each value of the categorical attribute. This may result in more “bushiness” than desired, since some values may have low frequency or may naturally be associated with other values.

  • - uses the concept of information gain or entropy reduction to select an optimal split

75
New cards

What are decision rules?

“if antecedent, then consequent”

76
New cards

What is VIF and what does it measure?

Variance Inflation Factor; measures multicollinearity

77
New cards

What are 4 assumptions of linear regression?

  1. 1. linearity

  2. 2. independence

  3. 3. Homoscedasticity

  4. 4. normality of residuals

78
New cards

Skewness and Kurtosis cutoff values?

Skewness: -12 to +2

Kurtosis: -10 to +10

79
New cards

Methods for normality of data

natural log, square root, inverse square root

80
New cards

statistical inference

Methods for estimating and testing hypotheses
about population characteristics based on
information contained in a sample

81
New cards

Data can be split into three components

Training, validation and testing

82
New cards

What is association analyses

Also called market basket analysis (MBA) and affinity analysis. Study of what goes with what. “customers who purchased x also purchased Y”

Explore top notes

note
Frankenstein - Letter 1
Updated 1125d ago
0.0(0)
note
101 Spanish Verbs
Updated 1283d ago
0.0(0)
note
AP Human Geography
Updated 97d ago
0.0(0)
note
ENDOCRINE SYSTEM
Updated 1107d ago
0.0(0)
note
Frankenstein - Letter 1
Updated 1125d ago
0.0(0)
note
101 Spanish Verbs
Updated 1283d ago
0.0(0)
note
AP Human Geography
Updated 97d ago
0.0(0)
note
ENDOCRINE SYSTEM
Updated 1107d ago
0.0(0)

Explore top flashcards

flashcards
Biochemistry Ch. 7-9
114
Updated 835d ago
0.0(0)
flashcards
AP World Centuries Quiz
79
Updated 1149d ago
0.0(0)
flashcards
important psych people
31
Updated 1062d ago
0.0(0)
flashcards
2023 Y11 Sem 1 Exam
30
Updated 1027d ago
0.0(0)
flashcards
Lecture Exam 2
118
Updated 370d ago
0.0(0)
flashcards
Spanish - C5 Vocab E
20
Updated 749d ago
0.0(0)
flashcards
spanish vocab list
50
Updated 370d ago
0.0(0)
flashcards
AP Psych Unit 1 Biology Part 1
52
Updated 528d ago
0.0(0)
flashcards
Biochemistry Ch. 7-9
114
Updated 835d ago
0.0(0)
flashcards
AP World Centuries Quiz
79
Updated 1149d ago
0.0(0)
flashcards
important psych people
31
Updated 1062d ago
0.0(0)
flashcards
2023 Y11 Sem 1 Exam
30
Updated 1027d ago
0.0(0)
flashcards
Lecture Exam 2
118
Updated 370d ago
0.0(0)
flashcards
Spanish - C5 Vocab E
20
Updated 749d ago
0.0(0)
flashcards
spanish vocab list
50
Updated 370d ago
0.0(0)
flashcards
AP Psych Unit 1 Biology Part 1
52
Updated 528d ago
0.0(0)