Student EID: _____________________ Seat Number: _____________
Student Number: _______________
City University of Hong Kong
MS6711 Data Mining 2018-2019 Semester B
Figures
Not to be taken away from the examination venue.
This paper contains figures for the following questions:
• Question 3b
• Question 4
• Question 6
• Question 8
• Question 9
• Question 10
• Question 11
Figure Q3b:
The CLUSTER Procedure
Ward’s Minimum Variance Cluster Analysis
Cluster History
Number of Clusters
–Clusters Joined—
FREQ
SPRSQ
RSQ
20
CL21
CL35
75
0.0005
.996
19
OB7
CL29
7
0.0007
.995
18
OB16
OB37
6
0.0012
.994
17
CL20
CL40
181
0.0016
.992
16
CL25
OB8
1550
0.0017
.990
15
CL24
OB41
38
0.0019
.989
14
OB31
CL38
10
0.0022
.986
13
CL19
CL26
234
0.0028
.984
12
CL23
CL33
1172
0.0028
.981
11
CL22
CL27
365
0.0040
.977
10
CL17
CL13
415
0.0042
.973
9
CL16
OB39
1956
0.0056
.967
8
CL32
CL14
46
0.0082
.959
7
CL10
CL11
780
0.0127
.946
6
CL18
OB49
7
0.0137
.932
5
CL9
CL12
3128
0.0361
.896
4
CL7
CL15
818
0.0363
.860
3
CL8
CL6
53
0.0948
.765
2
CL4
CL5
3946
0.1815
.584
1
CL2
CL3
3999
0.5837
.000
Figure Q4:
Brand
Price
Quality
A
8
10
B
5
4
C
8
9
D
6
7
Figure Q6:
Node A
Node B
Node C
N in Node = Number of records in the node
Figure Q8:
Target variable Y = 1 if response 0 otherwise
Input variable Intercept
Income in dollar
Age in year
Square of Age in year
Estimate -5.0 0.0025 0.046 -0.005
Figure Q9:
Sequence ID
Frequent Sequence
Sequence ID
Frequent Sequence
A
< {1, 2, 3} >
F
< {1, 2, 4} >
B
< {1, 2} {3} >
G
< {2, 3} {3} >
C
< {1} {2, 3} >
H
< {2, 3} {4} >
D
< {1, 2} {4} >
I
< {2} {3} {3} >
E
< {1, 3} {4} >
J
< {2} {3} {4} >
Figure Q10:
Transaction ID
Items bought
1001
{i1, i4, i5}
1024
{i1, i2, i3, i5}
1012
{i1, i2, i4, i5}
1031
{i1, i3, i4, i5}
1015
{i2, i3, i5}
1022
{i2, i4, i5}
1029
{i3, i4, i5}
1040
{i1, i2, i3, i5}
1033
{i1, i4, i5}
1038
{i1, i2, i5}
Figure Q11:
Age
Rank Index
Age
Rank Index
Age
Rank Index
13
1
25
11
35
21
15
2
25
12
36
22
16
3
25
13
40
23
16
4
25
14
45
24
19
5
30
15
46
25
20
6
33
16
52
26
20
7
33
17
70
27
21
8
35
18
22
9
35
19
22
10
35
20