c++ or c programming

c++ or c programming

write your solution please in (MS word,)

1. Suppose a group of 12 students with the test scores listed as follows:19,

71, 48, 63, 35, 85, 69, 81, 72, 88, 99, 95. Partition them into four bins

by

(a) equal-frequency (equi-depth) method

(b) equal-width method

(c) an even better method (such as clustering).

2. What are the value ranges of the following normalization methods,

respectively?

(a) min-max normalization,

(b) z-score normalization,

(c) normalization by decimal scaling?

3. Table below shows how many transactions containing beer and/or nuts

among 10000 transactions.

Beer No Beer total

Nuts 50 800 850

No Nuts 150 9000 9150

Total 200 9800 10000

(a) (roughly) calculate X^2 ,

(b) calculate lift,

(c) calculate all-con confidence,

(d) based on your calculations, how do you conclude the relationship

between buying beer and buying nuts?

Hint: The formulae to compute x^2 , lift and all-con dence are as follows.

X^2 =sum (observed expected)^2

expected

lif t =P(A U B)/P(A)P(B)

all conf(X) =sup(X)/max item sup(X)=sup(X)maxfsup(ij)j8ij 2 Xg

where maxfsup(ij)j8ij 2 Xg is the maximum (single) item support of

all the items in X.

2

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper