Find Jobs
Hire Freelancers

bigdata hadoop

$30-250 USD

Closed
Posted almost 10 years ago

$30-250 USD

Paid on delivery
1. 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). Your goal is to compute 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). 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) 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. 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: [login to view URL]~enron/[login to view URL] Submission: The source code of six algorithms (stripes and pairs for problem 1 (a& b) and problem2); a simple description on how to run your programs; and a screen shot on running each algorithm. Finally, all your programs shall be tested and run on Amazon EC2, and you need run your program on 4 mappers and 2 reducers. 3. This problem follows the first question in Homework 5. Your input datasets are transactional data with the following format: 25 52 164 240 274 368 401 448 538 561 630 687 730 775 825 834 39 52 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), and can be annotated by its line number, such as T1, T2, T3, …. Your goal is to discover all the transaction pairs (Ti, Tj) whose common items are more than 2 (using Hadoop/MapReduce). For example, T1 and T2 is a good pair as their common items are 3. Note that the number of transactions can be very large (>=1M).
Project ID: 5929552

About the project

3 proposals
Remote project
Active 10 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
3 freelancers are bidding on average $291 USD for this job
User Avatar
A proposal has not yet been provided
$500 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have read the book you have mentioned here. I can tackle this when you have a good definition of what the expected output format is. Please let me know.
$250 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
kent, United States
5.0
1
Payment method verified
Member since Apr 26, 2014

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.