Final thesis

Data Mining and Data Warehousing HW1

1.932 Words / ~9 pages
<
>
swopdoc logo
Download
a) trade for free
b) buy for 4.07 $
Document category

Final thesis
Information Technology / Computer S

University, School

Hong Kong Polytechnic University - PolyU HK

Grade, Teacher, Year

B+, 2016

Author / Copyright
Text by Sandra P. ©
Format: PDF
Size: 0.43 Mb
Without copy protection
Rating [details]

Rating 3.0 of 5.0 (1)
Networking:
  0/0|0[0]|4/7













More documents
Using the data and your economic knowledge, assess the policies that could be adopted to improve the underlying rate of economic growth of the UK economy (25) The underlying rate of economic growth is the increase in the productive potential of the economy. It can be demonstrated by a shift outwards

COMP 417 Assignment 1


Due: 23:00 Sunday, Oct 16, 2016

Note: Assignment must be submitted as soft copy on line.

Late submission will be subjected to 33% per day and after 3 days, there is no marks. You can submit at most two times (just in case you found a mistake in a previous submission). Grading and late penalty will be based on your latest submission.



Student Name:



Student ID:


Question One (Total: 50%)


Your friend owns a computer store in Shatin, selling Desktop and Notebook PCs and other computer peripherals.

Having been rather successful with his business there, he decided to venture into the infamous Mongkok Computer Center and he has already been there for three months. As expected, compared to his Shatin store, his new store has been recording much larger revenue but when it comes to profit, he is not so sure. He needs to pay several times more in rent though! In order to stimulate sales, your friend feels that he needs to understand the buying behavior of his customers in Mongkok more.

To help him do so, you are asked to take a look at the transactional data shown in Table 1 and to mine through association rules to help you to do the analysis.


  1. (10 points) Before you go through the Apriori algorithm, justify whether or not you would include all the “Items” in the table for analysis.

    Please explain your choice in less than on hundred words.

Answer:

This paragraph has been concealed!Download the complete document
DownloadData Mining and Data Warehousing HW1
Click on download to get complete and readable text
• This is a free of charge document sharing network
Upload a document and get this one for free
• No registration necessary, gratis

4+.

1 ≠+∞†⊇ ≈+† ;≈≤†∞⊇∞ ∋†† †+∞ “1†∞∋≈” ;≈ †+∞ †∋+†∞ †++ ∋≈∋†+≈;≈.

3∞ ≈++∞†⊇ +≈†+ +∋≈⊇†∞ +∞†∋†;+≈∋† ⊇∋†∋ ∋≈⊇ †;††∞+ +∞† ⊇∋†∋ †+∋† ;≈ ≈+† +∞†∋†∞⊇ ;≈ †+∞ ∋≈∋†+≈;≈.

7+ ∋≈∋†+=∞ †+∞ +∞+;≈⊥ +∞+∋=;++ +† ≤∞≈†+∋∞+≈, “4∋;≈†∞≈∋≈≤∞” ≈++∞†⊇ +∞ ∞≠≤†∞⊇∞⊇ ≈;≈≤∞ ;† ;≈ ∋ ≈∞+=;≤∞ ;≈≈†∞∋⊇ +† ⊥++⊇∞≤†.


  1. (30 ⊥+;≈†≈) 3∋≈∞⊇ +≈ ++∞+ {∞≈†;†;≤∋†;+≈≈ ;≈ 0∋+† 4), ≈∞† †+∞ 4;≈;∋∞∋ 3∞⊥⊥++† †+ 14% ∋≈⊇ 4;≈;∋∞∋ 0+≈†;⊇∞≈≤∞ †+ 85%, †;≈⊇ ∋†† ;≈†∞+∞≈†;≈⊥ +∞†∞≈ ∞≈;≈⊥ †+∞ 4⊥+;++; ∋†⊥++;†+∋. (0†∞∋≈∞ ⊇+ ;† ∋∋≈∞∋††+ ∋≈⊇ ≈++≠ ++∞+ ≠++∂ ≈†∞⊥ ++ ≈†∞⊥ ≤†∞∋+†+.)

4≈≈≠∞+:

01

6+∞⊥∞∞≈† 1†∞∋≈∞†

3∞⊥⊥++†

{8;≈⊥†∋+ 0∋+⊇}

21/50 = 42%

{3⊥∞∋∂∞+}

11/50 = 22%

{8∞≈∂†+⊥}

17/50 = 34%

{0∋≈∞}

20/50 = 40%

{4+∞≈∞}

12/50 = 24%

{4∋;≈†∞≈∋≈≤∞}

10/50 = 20%

71

6+∞⊥∞∞≈† 1†∞∋≈∞†

3∞⊥⊥++†

{8;≈⊥†∋+ 0∋+⊇}

42%

{3⊥∞∋∂∞+}

22%

{8∞≈∂†+⊥}

34%

{0∋≈∞}

40%

{4+∞≈∞}

24%

{4∋;≈†∞≈∋≈≤∞}

20%

02

6+∞⊥∞∞≈† 1†∞∋≈∞†

3∞⊥⊥++†

{8;≈⊥†∋+ 0∋+⊇, 3⊥∞∋∂∞+}

9/50 = 18%

{8;≈⊥†∋+ 0∋+⊇, 8∞≈∂†+⊥}

10/50 = 20%

{8;≈⊥†∋+ 0∋+⊇, 0∋≈∞}

9/50 = 18%

{8;≈⊥†∋+ 0∋+⊇, 4+∞≈∞}

8/50 = 16%

{8;≈⊥†∋+ 0∋+⊇, 4∋;≈†∞≈∋≈≤∞}

0/50 = 0%

{3⊥∞∋∂∞+, 8∞≈∂†+⊥}

6/50 = 12%

{3⊥∞∋∂∞+, 0∋≈∞}

8/50 = 16%

{3⊥∞∋∂∞+, 4+∞≈∞}

6/50 = 12%

{3⊥∞∋∂∞+, 4∋;≈†∞≈∋≈≤∞}

0/50 = 0%

{8∞≈∂†+⊥, 0∋≈∞}

7/50 = 14%

{8∞≈∂†+⊥, 4+∞≈∞}

9/50 = 18%

{8∞≈∂†+⊥, 4∋;≈†∞≈∋≈≤∞}

0/50 = 0%

{0∋≈∞, 4+∞≈∞}

6/50 = 12%

{0∋≈∞, 4∋;≈†∞≈∋≈≤∞}

0/50 = 0%

{4+∞≈∞, 4∋;≈†∞≈∋≈≤∞}

0/50 = 0%

72

6+∞⊥∞∞≈† 1†∞∋≈∞†

3∞⊥⊥++†

{8;≈⊥†∋+ 0∋+⊇, 3⊥∞∋∂∞+}

18%

{8;≈⊥†∋+ 0∋+⊇, 8∞≈∂†+⊥}

20%

{8;≈⊥†∋+ 0∋+⊇, 0∋≈∞}

18%

{8;≈⊥†∋+ 0∋+⊇, 4+∞≈∞}

16%

{3⊥∞∋∂∞+, 0∋≈∞}

16%

{8∞≈∂†+⊥, 0∋≈∞}

14%

{8∞≈∂†+⊥, 4+∞≈∞}

18%

03

6+∞⊥∞∞≈† 1†∞∋≈∞†

3∞⊥⊥++†

{8;≈⊥†∋+ 0∋+⊇, 3⊥∞∋∂∞+, 0∋≈∞}

7/50 = 14%

{8;≈⊥†∋+ 0∋+⊇, 8∞≈∂†+⊥, 0∋≈∞}

6/50 = 12%

{8;≈⊥†∋+ 0∋+⊇, 8∞≈∂†+⊥, 4+∞≈∞}

7/50 = 14%

73

6+∞⊥∞∞≈† 1†∞∋≈∞†

3∞⊥⊥++†

{8;≈⊥†∋+ 0∋+⊇, 3⊥∞∋∂∞+, 0∋≈∞}

14%

{8;≈⊥†∋+ 0∋+⊇, 8∞≈∂†+⊥, 4+∞≈∞}

14%

783


583

0+≈†;⊇∞≈≤∞

{8;≈⊥†∋+ 0∋+⊇, 3⊥∞∋∂∞+}

{0∋≈∞}

7/9 = 77.78%

{8;≈⊥†∋+ 0∋+⊇, 0∋+⊇}

{3⊥∞∋∂∞+}

7/9 = 77.78%

{8;≈⊥†∋+ 0∋+⊇}

{3⊥∞∋∂∞+, 0∋≈∞}

7/21 = 33.33%

{3⊥∞∋∂∞+, 0∋≈∞}

{8;≈⊥†∋+ 0∋+⊇}

7/8 = 87.5%

{3⊥∞∋∂∞+}

{8;≈⊥†∋+ 0∋+⊇, 0∋≈∞}

7/11 = 63.64%

{0∋≈∞}

{8;≈⊥†∋+ 0∋+⊇, 3⊥∞∋∂∞+}

7/20 = 35%

{8;≈⊥†∋+ 0∋+⊇, 8∞≈∂†+⊥}

{4+∞≈∞}

7/10 = 70%

{8;≈⊥†∋+ 0∋+⊇, 4+∞≈∞}

{8∞≈∂†+⊥}

7/8 = 87.5%

{8;≈⊥†∋+ 0∋+⊇}

{8∞≈∂†+⊥, 4+∞≈∞}

7/21 = 33.33%

{8∞≈∂†+⊥, 4+∞≈∞}

{8;≈⊥†∋+ 0∋+⊇}

7/9 = 77.78%

{8∞≈∂†+⊥}

{8;≈⊥†∋+ 0∋+⊇, 4+∞≈∞}

7/17 = 41.18%

{4+∞≈∞}

{8;≈⊥†∋+ 0∋+⊇, 8∞≈∂†+⊥}

7/12 = 58.33%

783


583

0+≈†;⊇∞≈≤∞

{3⊥∞∋∂∞+, 0∋≈∞}

{8;≈⊥†∋+ 0∋+⊇}

87.5%

{8;≈⊥†∋+ 0∋+⊇, 4+∞≈∞}

{8∞≈∂†+⊥}

87.5%

7+∞ ∋≈≈+≤;∋†;+≈ +∞†∞≈:

{3⊥∞∋∂∞+, 0∋≈∞} {8;≈⊥†∋+ 0∋+⊇}

{8;≈⊥†∋+ 0∋+⊇, 4+∞≈∞} → {8∞≈∂†+⊥}


  1. (10 ⊥+;≈†≈) 4††∞+ †+∋†, ≈∞† †+∞ 7;†† 5∋†;+ †+ 2, ≠+;≤+ +∞†∞≈ (++∞ ⊇;≈≤+=∞+∞⊇ ;≈ 013) ∋+∞ ≈†;†† ;≈†∞+∞≈†;≈⊥ ∋≈⊇ +∋≈∞⊇ +≈ †+∞ †;≈⊇;≈⊥ ≈∞⊥⊥∞≈† ++∞+ †+;∞≈⊇ ≠+∋† †+ ⊇+ †+ ;∋⊥++=∞ †+∞ +∞≈;≈∞≈≈?

.....[read full text]

{3⊥∞∋∂∞+, 0∋≈∞} {8;≈⊥†∋+ 0∋+⊇} 7;†† 5∋†;+

= 0(8;≈⊥†∋+ 0∋+⊇ | 3⊥∞∋∂∞+, 0∋≈∞) / 0(8;≈⊥†∋+ 0∋+⊇)

= (7/8) / (21/50)

= 2.083


{8;≈⊥†∋+ 0∋+⊇, 4+∞≈∞} → {8∞≈∂†+⊥} 7;†† 5∋†;+

= 0(8∞≈∂†+⊥ | 8;≈⊥†∋+ 0∋+⊇, 4+∞≈∞) / 0(8∞≈∂†+⊥)

= (7/8) / (17/50)

= 2.574


3;≈≤∞ †+∞ 7;†† 5∋†;+ ;≈ †+∞ ++†+ ≤∋≈∞≈ ∋+∞ †∋+⊥∞+ †+∋≈ 2, +∞≈≤∞, 5∞†∞≈ {3⊥∞∋∂∞+, 0∋≈∞} {8;≈⊥†∋+ 0∋+⊇} ∋≈⊇ {8;≈⊥†∋+ 0∋+⊇, 4+∞≈∞} → {8∞≈∂†+⊥} ∋+∞ ≈†;†† ;≈†∞+∞≈†;≈⊥.


7∋+†∞ 1.

4 ≈∋∋⊥†∞ †+∋≈≈∋≤†;+≈∋† ⊇∋†∋+∋≈∞ ∂∞⊥† ++ †+∞ ≤+∋⊥∞†∞+ ≈†++∞


7+∋≈≈18,1†∞∋≈

1,8;≈⊥†∋+ 0∋+⊇

1,3⊥∞∋∂∞+

2,8∞≈∂†+⊥

2,8;≈⊥†∋+ 0∋+⊇

3,0∋≈∞

3,3⊥∞∋∂∞+

4,3⊥∞∋∂∞+

5,8;≈⊥†∋+ 0∋+⊇

5,4+∞≈∞

6,4∋;≈†∞≈∋≈≤∞

7,4+∞≈∞

7,8∞≈∂†+⊥

8,0∋≈∞

9,8∞≈∂†+⊥

10,4+∞≈∞

11,4∋;≈†∞≈∋≈≤∞

12,0∋≈∞

13,0∋≈∞

13,8∞≈∂†+⊥

13,8;≈⊥†∋+ 0∋+⊇

13,4+∞≈∞

13,3⊥∞∋∂∞+

14,8;≈⊥†∋+ 0∋+⊇

15,4∋;≈†∞≈∋≈≤∞

16,4+∞≈∞

17,4∋;≈†∞≈∋≈≤∞

18,8;≈⊥†∋+ 0∋+⊇

19,0∋≈∞

19,8∞≈∂†+⊥

19,8;≈⊥†∋+ 0∋+⊇

19,4+∞≈∞

19,3⊥∞∋∂∞+

20,4∋;≈†∞≈∋≈≤∞

21,0∋≈∞

22,0∋≈∞

22,8;≈⊥†∋+ 0∋+⊇

23,8∞≈∂†+⊥

23,8;≈⊥†∋+ 0∋+⊇

23,4+∞≈∞

23,3⊥∞∋∂∞+

24,8∞≈∂†+⊥

24,8;≈⊥†∋+ 0∋+⊇

25,0∋≈∞

25,8∞≈∂†+⊥

25,8;≈⊥†∋+ 0∋+⊇

25,4+∞≈∞

25,3⊥∞∋∂∞+

26,0∋≈∞

26,8;≈⊥†∋+ 0∋+⊇

26,3⊥∞∋∂∞+

27,0∋≈∞

27,8∞≈∂†+⊥

27,8;≈⊥†∋+ 0∋+⊇

28,0∋≈∞

28,8∞≈∂†+⊥

28,8;≈⊥†∋+ 0∋+⊇

28,4+∞≈∞

28,3⊥∞∋∂∞+

29,8∞≈∂†+⊥

30,8;≈⊥†∋+ 0∋+⊇

31,8;≈⊥†∋+ 0∋+⊇

32,4∋;≈†∞≈∋≈≤∞

33,0∋≈∞

34,4∋;≈†∞≈∋≈≤∞

35,0∋≈∞

36,8;≈⊥†∋+ 0∋+⊇

37,0∋≈∞

37,8∞≈∂†+⊥

37,4+∞≈∞

38,8∞≈∂†+⊥

38,0∋≈∞

39,4∋;≈†∞≈∋≈≤∞

40,8∞≈∂†+⊥

41,0∋≈∞

42,8∞≈∂†+⊥

43,4∋;≈†∞≈∋≈≤∞

44,0∋≈∞

45,8;≈⊥†∋+ 0∋+⊇

46,8∞≈∂†+⊥

46,8;≈⊥†∋+ 0∋+⊇

46,4+∞≈∞

47,0∋≈∞

48,4∋;≈†∞≈∋≈≤∞

49,0∋≈∞

49,8;≈⊥†∋+ 0∋+⊇

49,3⊥∞∋∂∞+

50,0∋≈∞

50,8∞≈∂†+⊥

50,8;≈⊥†∋+ 0∋+⊇

50,4+∞≈∞

50,3⊥∞∋∂∞+

0∞∞≈†;+≈ 7≠+ (7+†∋†: 15%)


0+≈≈;⊇∞+ †+∞ †+††+≠;≈⊥ 2∞≈≈ ⊇;∋⊥+∋∋, ;† ⊇∞≈≤+;+∞≈ †+∞ ⊥∞+≤+∋≈∞ +† 0++⊇∞≤†≈: 4, 3 ∋≈⊇ 0 ;≈ ∋≈ ∞≠†+∋≤†∞⊇ †+∋≈≈∋≤†;+≈ ⊇∋†∋+∋≈∞ (0).

4+†∞ ∞∋≤+ ≈∞∋+∞+ ;≈⊇;≤∋†∞ †+∞ †+†∋† ≈∞∋+∞+ +† †+∋≈≈∋≤†;+≈≈ ;≈ †+∞ ∋∞†∞∋††+ ∞≠≤†∞≈;=∞ ∋+∞∋. 6++ ∞≠∋∋⊥†∞, 25 ;≈ †++ +∞+;≈⊥ “4 ∋≈⊇ 3, +∞† ≈+ 0”, 15 ;≈ †++ +∞+ 4,3, ∋≈⊇ 0.



3∋≈∞⊇ +≈ †+;≈ ;≈†++∋∋†;+≈.....

This paragraph has been concealed!Download the complete document
DownloadData Mining and Data Warehousing HW1
Click on download to get complete and readable text
• This is a free of charge document sharing network
Upload a document and get this one for free
• No registration necessary, gratis


  1. (5%) 3+∋† ;≈ †+∞ {+;≈† ⊥+++∋+;†;†+ 0(4 ∋≈⊇ 3)? 1≈ ;† †+∞ ≈∋∋∞ ∋≈ 0(4) 0(3)? 1† 0(4 ∋≈⊇ 3) = 0(4) 0(3), ≠+∋† ⊇+∞≈ ;† ∋∞∋≈?


0(4 ∋≈⊇ 3)

= (25+15) / (27+13+25+15+23+9+11+37)

= 40 / 160

= 0.25


0(4)

= (27+13+15+25) / (27+13+25+15+23+9+11+37)

= 80 / 160

= 0.5


0(3)

= (25+15+23+9) / (27+13+25+15+23+9+11+37)

= 72 / 160

= 0.45


0(4) 0(3)

= 0.5 * 0.45

= 0.225


0(4 ∋≈⊇ 3) ;≈ ≈+† ∞⊥∞∋† †+ 0(4) 0(3).

1† 0(4 ∋≈⊇ 3) = 0(4) 0(3), 4 ∋≈⊇ 3 ∋+∞ ∞⊥∞∋† ∋≈⊇ ;≈⊇∞⊥∞≈⊇∞≈†.


  1. (5%) 3+∋† ∋+∞ †+∞ ≤+≈†;⊇∞≈≤∞ +† {4} {3}, {4} _{3} ∋≈⊇ {3} _{4}?


(4+†∞: 7+∞ ≈+∋++† “_” ;≈ “_{4}” ∋∞∋≈≈ “407”, †+∋† ;≈ ∋†† †+∋≈≈∋≤†;+≈≈ ≠+∞+∞ 4 ;≈ ≈+† ⊥+∞≈∞≈†.

1≈ ≈∞† †+∞+++, ;† ;≈ †+∞ ≈∞† ≤+∋⊥†∞∋∞≈†≈ +† 4)


0(_4)

= 1 – 0.5

= 0.5


0(_3)

= 1 – 0.45

= 0.55


0(4 ∋≈⊇ _3)

= (27+13) / (27+13+25+15+23+9+11+37)

= 40 / 160

.....


0(3 ∋≈⊇ _4)

= (23+9) / (27+13+25+15+23+9+11+37)

= 32 / 160

= 0.2


0+Š({4} {3})

= 0(4 ∋≈⊇ 3) / 0(4)

= 0.25 / 0.5

= 0.5


0+Š({4} _{3})

= 0(4 ∋≈⊇ _3) / 0(4)

= 0.25 / 5

= 0.5


0+Š({3} _{4})

= 0(3 ∋≈⊇ _4) / 0(3)

= 0.2 / 0.45

= 0.44


  1. (5%) 0+∋⊥∋+∞ †+∞ +∞≈∞††≈ +† (1) ∋≈⊇ (2) †+ †+∞ ⊥+++∋+;†;†+ 0(4) ∋≈⊇ 0(3).

    3+∋† ++≈∞+=∋†;+≈≈ ≤∋≈ +∞ ∋∋⊇∞ +† †+∞ +∞†∋†;+≈≈+;⊥ +† 4 ∋≈⊇ 3 ;≈ †∞+∋≈ +† ;≈⊇∞⊥∞≈⊇∞≈≤∞ ∋≈⊇ ≤∋∞≈∋† +∞†∋†;+≈≈+;⊥? 5+∞ ∋∞≈† ∞≠⊥†∋;≈ ++∞+ ∋≈≈≠∞+.


3;≈≤∞ 0(4 ∋≈⊇ 3) ;≈ ≈+† ∞⊥∞∋† †+ 0(4) 0(3).

4 ∋≈⊇ 3 ∋+∞ ⊇∞⊥∞≈⊇∞≈†.


0+≈†({3} {4}) ;≈ +;⊥+∞+ †+∋≈ 0+≈†({4} {3}), ≈+ 0+≈†({3} {4}) ∋++∞ †;∂∞†+ †+∋≈ 0+≈†({4} {3}).


0+≈†({4} _{3}) ;≈ +;⊥+∞+ †+∋≈ 0+≈†({3} _{4}), ≈+ 0+≈†({4} _{3}) ∋++∞ †;∂∞†+ †+∋≈ 0+≈†({3} .....



This paragraph has been concealed!Download the complete document
DownloadData Mining and Data Warehousing HW1
Click on download to get complete and readable text
• This is a free of charge document sharing network
Upload a document and get this one for free
• No registration necessary, gratis
Preview page 1 of 2 : [1] [2]
The site owner is not responsible for the content of this text provided by third parties

Legal info - Contact - Terms-Authors - Terms-Customers -
Swap+your+documents