# Mapreduce

. Your input datasets are transactional data with the following format:

25 52 164 240 274 328 368 448 538 561 630 687 730 775 825 834

39 120 124 205 401 581 704 814 825 834

35 249 674 712 733 759 854 950

39 422 449 704 825 857 895 937 954 964

15 229 262 283 294 352 381 708 738 766 853 883 966 978

26 104 143 320 569 620 798

7 185 214 350 529 658 682 782 809 849 883 947 970 979

227 390

71 192 208 272 279 280 300 333 496 529 530 597 618 674 675 720 855 914 932

Each line records a transaction (a set of items being purchased together).

a. The co-occurrences of each pair of items, Count (A, B)=# of transactions contains both A and B, and the conditional probability Prob(B|A)=Count(A,B)/Count(A).

b. The co-occurrences of each triple of items, Count (A,B,C) =# of transactions contains both A and B, and the conditional probability Prob(A|B,C)=Count(A,B,C)/Count(B,C)

c. You need implement both the “stripes” approach and the “pair” approach om Hadoop (See slides on MapReduce Algorithm Design and Chapter 3 in Jimmy Lin's textbook). Both stripes and pairs need to be generalized to b.

d. For b, you can assume that the count of pairs are already computed in step and you need to reuse their results (read from the result file produced by step a).

The sample datasets can be found at: [login to view URL]

2. Revising your algorithms (in 1) to count the co-occurrences of pairs of words Count(A,B) and the conditional probability Prob(B|A)=Count(A,B)/Count(A).

Your inputs are text files and considering using the following criteria for a unit (corresponding a transaction in 1):

a. each line is a unit

b. each sentence is a unit

c. each paragraph is a unit (Bonus)

Run your algorithms on the Enrone email datasets:

Aptitudini: Map Reduce, Hadoop, Apache, Big Data Sales, Python

Despre angajator:
( 0 recenzii ) Islamabad, Pakistan

ID Proiect: #29685900

## 2 freelanceri licitează în medie 10\$ pentru acest proiect

gopalbagdawat1

5.00iog f f o if rixjkv m udo tr EU odious jh c st I it dog dh o0 Urr wet I BBC x gu st Inc go ky re wet I'd su I nd I I'd add h ph x so oy 45 eery if d jl ud

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(0 recenzii)
0.0
uvtxyz1991

- previous experience in such topics; - eager to discuss a lot in this chat stream; - degree stats / maths;

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(0 recenzii)
0.0