Data & Analytics Study Set

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

1/32

encourage image

There are no tags or description

Looks like no tags are added yet.

33 Terms

1
New cards
Simple vs. advanced analytics
simple analytics shows what has/is happening, advanced analytics tells you why and can predict what will happen
2
New cards

Classification

A statistical method used to determine to what category (or “class”) a new observation belongs (ex. Fraudulent/legitimate transactions, real/spam emails)

3
New cards

How classification works

  1. Choose a categorical outcome variable

  2. Split the data set into training and validation subsets

  3. Use the training set to find a model that predicts the outcome as a function of the other attributes

  4. Apply the model to the validation set to check accuracy

  5. Apply the final model to future cases (i.e. prediction)


4
New cards

Error rate

# of misclassified records / total records (Error rate + Correct classification rate = 100%)

5
New cards

Correct classification rate

# of correctly classified records / total records (Error rate + Correct classification rate = 100%)

6
New cards
What are the pros and cons with a complex tree?
pros= potentially more accurate, cons= harder to read / overfitting
7
New cards
What happens if a tree is too complex?
It may have poor predictive performance as it hyperanalyzes training data and exaggerates minor fluctuations so the decision tree gets less accurate on the validation set.
8
New cards
How to choose the correct decision tree?
look at the bottom of the “U”, where the tree is the most accurate when compared to the validation set
9
New cards

Minimum split

minimum amount of data points in each node needed to add an additional split

<p>minimum amount of data points in each node needed to add an additional split </p>
10
New cards

Maximum Depth

# of levels, larger depth = larger tree

11
New cards
What do k & means mean in the K-means algorithm?
k=number of clusters, Means= centroids (Center of a cluster),
12
New cards
Normalization
adjusting for differences in scale and converting things to standard deviation so you can compare data. (ex. income: 0-1M, age: 0-100) (also remove outliers)
13
New cards
How to read standard deviation
negative for below average, and positive for above average
14
New cards
Within-Cluster SSE
measures cohesion (how tightly grouped each cluster is) (you can do it for each cluster)
15
New cards
Between-Cluster SSE
measures separation (average distance from centroids) (measure after clusters are created)
16
New cards
Is it better to have a low or high Within-Cluster SSE?
Lower value bc its less distance from values to clusters
17
New cards
A high number of clusters has…
higher cohesion (good) (Low Within-Cluster SSE) but also have lower separation (bad) (lower Between-Cluster SSE)
18
New cards
Ideal clusters have…
High cohesion (Low Within-Cluster SSE) and High separation (High Between-Cluster SSE)
19
New cards
How to find the optimal K value
look for the number of clusters that has limited marginal return (“elbow” of the “L” in the graph)
20
New cards
What are the centroids in K-value clustering
The average of variables in each cluster are the coords for their centroids
21
New cards
Support
how often the associations are present in total dataset
22
New cards

Support Equation


<p></p>
23
New cards
Confidence
the strength of the association (from 0 to 1, higher confidence = stronger association)
24
New cards
Confidence Equation


<p></p>
25
New cards
Lift Equation


<p></p>
26
New cards
Lift > 1
Positive Association, The presence of X increases the likelihood of Y
27
New cards
Lift < 1
Negative association, The presence of X decreases the likelihood of Y
28
New cards
Lift = 1
Neutral, The items occur together purely by chance; one does not affect the other.
29
New cards
High lift value
considering the popularity of the items, there is a strong positive association
30
New cards
High confidence + low lift
means that Y is a very popular product, so it just happens to be associated a lot.
31
New cards

What is the advantage of fewer clusters?

Higher separation, and easier to interpret.

32
New cards

how to describe a centroid in relation to the population average

X sales were X standard deviations below the population average

33
New cards

When to use Association Rule Analysis

When you want to find out which items predict the occurrence of other items