MAPREDUCE, SIMILAR ITEMS AND DATA STREAMS

SIMILAR ITEMS AND DATA STREAMS

ASSESSMENT 1 – MAPREDUCE, SIMILAR ITEMS AND DATA STREAMS

Due: Week 2, Wednesday at 11.59 pm Weighting: 20%

Purpose

The purpose of this assessment is to evaluate your learning and knowledge of using the MapReduce technique mentioned in Week 1, finding similar items and mining data streams.

Your Task

Your task is to complete the following exercises:

Exercise 1 – Friend Recommendation System (Stanford) (40 points)

  • Write a MapReduce program in Spark (see Overview Module for download instructions) that implements a simple “People You Might Know” social network friendship recommendation algorithm.

The key idea is that if two people have a lot of mutual friends, then the system should recommend that they connect with each other.

Input:

  • ·       Download the input file from the link: http://snap.stanford.edu/class/ cs246- data/hw1q1.zip. The input file contains the adjacency list and has multiple lines in the following format: <User><TAB><Friends>
  • ·       Here, <User> is a unique integer ID corresponding to a unique user, and <Friends> is a comma separated list of unique IDs corresponding to the friends of the user with the unique ID <User>.
  • ·       Note that the friendships are mutual (i.e., edges are undirected): if A is friends with B then B is also friends with A. Algorithm: Let us use a simple algorithm such that, for each user U, the algorithm recommends N = 10 users who are not already friends with U, but have the greatest number of mutual friends in common with U.

Output:

  • The output should contain one line per user in the following format:

<User><TAB><Recommendations> where <User> is a unique ID corresponding to a user and <Recommendations> is a comma separated list of unique IDs corresponding to the algorithm’s recommendation of people that <User> might know, ordered in decreasing number of mutual friends.

  • Even if a user has less than 10 second-degree friends, output all of them in decreasing order of the number of mutual friends.
  • If there are recommended users with the same number of mutual friends, then output those user IDs in numerically ascending order.
  • Also, please provide a description of how you are going to use MapReduce jobs to solve this problem. Do not write more than 3 to 4 sentences for this: only a very high- level description of your strategy to tackle this problem.

For your submission

  • Include your source code
  • Include in your writeup a short paragraph describing your algorithm to tackle this problem.
  • Include in your writeup the recommendations for the users with following user IDs: 924, 8941, 8942, 9019, 9020, 9021, 9022, 9990, 9992, 9993.

Exercise 2 S-curve (exercise 3.4.1 in Leskovec, Rajaraman and Ullman) (7+7+7 points)

Evaluate the S-curve 1 − (1 − sr)b for s = 0.1, 0.2, . . ., 0.9, for the following values of r and b;

  • r=3 and b=10.
  • r=6 and b=20.
  • r=5 and b=50.

Exercise 3 Filtering Streams (similar to Exercises of 4.3 in Leskovec, Rajaraman and Ullman) (10 + 10 points)

  1. For the situation of the running example of Section 4.3.1 in Leskovec, Rajaraman and Ullman with changed conditions (10 billion bits, 2 billion members of the set S).

Calculate the false-positive rate when using three hash functions. Do the same for four hash functions.

  • As a function of n, the number of bits and m the number of members in the set S, what number of hash functions minimizes the false-positive rate?

Reference:

Leskovec, J., Rajaraman, A. and Ullman, J.D., 2020. Mining of massive data sets. Cambridge university press.

Outcomes

This task addresses the following course learning outcomes.

Course Learning Outcomes
CLO1
Explain algorithms for big data sets and methodologies in the context of data mining.
CLO3   Develop and integrate algorithms as a part of software development for mining big data.
CLO5   Utilise contemporary technologies and practices to effectively handle big datasets.

Requirements

  • You must submit your assessment using the relevant portal in MyUni/Canvas.
  • All written assessments (excluding quizzes) must be submitted using a text document e.g., doc, docx, pdf via the link at the top of the page.
  • Consult the assessment rubric when preparing your submission.
  • Questions can be posted to the relevant assessment Discussion Board.

Academic Integrity

Please ensure that you have read the Academic Integrity Policy.

Grading Criteria

This assessment is worth 20% of your overall grade. Refer to the attached rubric for detailed information on the grading criteria for this assessment.

Rubric title: Assessment 1 — MapReduce, Similar Items and Data Streams
CriteriaRatingsPoints
Exercise 1:Points: 40.0 Name: Full pointsPoints: 30.0 Name: Partial pointsPoints: 20.0 Name: Partial pointsPoints: 0.0 Name: No points40.0 pts
MapReduce implementation works and the output meets all the requirements.MapReduce implementation works but meets only some requirements and includes small mistakes.Shows understanding of how to solve the task, but the MapReduce implementation only partially works.No working implementation of MapReduce.
Exercise 2:Points: 21.0 Name: Full pointsPoints: 14.0 Name: Partial pointsPoints: 7.0 Name: Partial pointsPoints: 0.0 Name: No points21.0 pts
All results are correct.2/3 of the results are correct.1/3 of the results are correct.No correct results.
Exercise 3:Points: 20.0 Name: Full pointsPoints: 15.0 Name: Partial pointsPoints: 10.0 Name: Partial pointsPoints: 0.0 Name: No points20.0 pts
Both parts are completely correct.One of the parts is completely correct, the other has small mistakes.One of the parts is partially correct; or, both are not completely correct but follow the correct approach.Both parts are incorrect and the approach to solve them is incorrect.
Total:81 pts
Order Now

Get expert help for SIMILAR ITEMS AND DATA STREAMS and many more. 24X7 help, plag free solution. Order online now!

Universal Assignment (July 27, 2024) MAPREDUCE, SIMILAR ITEMS AND DATA STREAMS. Retrieved from https://universalassignment.com/mapreduce-similar-items-and-data-streams/.
"MAPREDUCE, SIMILAR ITEMS AND DATA STREAMS." Universal Assignment - July 27, 2024, https://universalassignment.com/mapreduce-similar-items-and-data-streams/
Universal Assignment March 12, 2023 MAPREDUCE, SIMILAR ITEMS AND DATA STREAMS., viewed July 27, 2024,<https://universalassignment.com/mapreduce-similar-items-and-data-streams/>
Universal Assignment - MAPREDUCE, SIMILAR ITEMS AND DATA STREAMS. [Internet]. [Accessed July 27, 2024]. Available from: https://universalassignment.com/mapreduce-similar-items-and-data-streams/
"MAPREDUCE, SIMILAR ITEMS AND DATA STREAMS." Universal Assignment - Accessed July 27, 2024. https://universalassignment.com/mapreduce-similar-items-and-data-streams/
"MAPREDUCE, SIMILAR ITEMS AND DATA STREAMS." Universal Assignment [Online]. Available: https://universalassignment.com/mapreduce-similar-items-and-data-streams/. [Accessed: July 27, 2024]

Please note along with our service, we will provide you with the following deliverables:

Please do not hesitate to put forward any queries regarding the service provision.

We look forward to having you on board with us.

Categories

Get 90%* Discount on Assignment Help

Most Frequent Questions & Answers

Universal Assignment Services is the best place to get help in your all kind of assignment help. We have 172+ experts available, who can help you to get HD+ grades. We also provide Free Plag report, Free Revisions,Best Price in the industry guaranteed.

We provide all kinds of assignmednt help, Report writing, Essay Writing, Dissertations, Thesis writing, Research Proposal, Research Report, Home work help, Question Answers help, Case studies, mathematical and Statistical tasks, Website development, Android application, Resume/CV writing, SOP(Statement of Purpose) Writing, Blog/Article, Poster making and so on.

We are available round the clock, 24X7, 365 days. You can appach us to our Whatsapp number +1 (613)778 8542 or email to info@universalassignment.com . We provide Free revision policy, if you need and revisions to be done on the task, we will do the same for you as soon as possible.

We provide services mainly to all major institutes and Universities in Australia, Canada, China, Malaysia, India, South Africa, New Zealand, Singapore, the United Arab Emirates, the United Kingdom, and the United States.

We provide lucrative discounts from 28% to 70% as per the wordcount, Technicality, Deadline and the number of your previous assignments done with us.

After your assignment request our team will check and update you the best suitable service for you alongwith the charges for the task. After confirmation and payment team will start the work and provide the task as per the deadline.

Yes, we will provide Plagirism free task and a free turnitin report along with the task without any extra cost.

No, if the main requirement is same, you don’t have to pay any additional amount. But it there is a additional requirement, then you have to pay the balance amount in order to get the revised solution.

The Fees are as minimum as $10 per page(1 page=250 words) and in case of a big task, we provide huge discounts.

We accept all the major Credit and Debit Cards for the payment. We do accept Paypal also.

Popular Assignments

Assessment Task 2 – NAPLAN Exercise

Assessment Task 2 (35%) – Evaluation and discussion of test items Assessment Task 2 (35%) – Evaluation and discussion of test items AITSL Standards: This assessmeAITSL Standards: This assessment provides the opportunity to develop evidence that demonstrates these Standards: 1.2        Understand how students learn 1.5        Differentiate teaching to meet with

Read More »

EBY014 Degree Tutor Group 2 Assignment

  Assignment Brief Module Degree Tutor Group 2 Module Code EBY014 Programme BA (Hons) Business and Management with   Foundation Year Academic Year 2024/2025 Issue Date 6th May 2024 Semester Component Magnitude Weighting Deadline Learning outcomes assessed 2 1 2000 words Capstone Assessment 100% 26th July, 2024 1/2/3/4 Module Curriculum

Read More »

NTW 600 Computer Network and Security

Assessment 2 Information and Rubric Subject Code  NTW 600 Subject Name Computer Network and Security Assessment Number and Title Assessment 2: Cyber Security Threats to IT Infrastructure of a real-world Organisation Assessment Type Group Assessment Length / Duration  1500 words Weighting %  30% Project Report: 20% Presentation :10% (Recorded) Total

Read More »

LAW500 Business Law Assessment 2 – Group Project

Assessment Information and Rubric Subject Code LAW500 Subject Name Business Law Assessment Number and Title Assessment 2 – Group Project Assessment Type Group Length / Duration 3000 words maximum, no ±10%, and excluding references Weighting % 30% Total Marks 100 Submission Online Submission via TurnitIn for the written report Due

Read More »

Population Nutrition Case Study Analysis

HSN702 – Lifespan Nutrition Assessment Task: 1 Assignment title: Population Nutrition Case Study Analysis Assignment task type: Short Written Report and Literature Search Strategy Task details The primary focus of this assignment is on population nutrition. Nutritionists play an important role in promoting population health through optimal nutritional intake. In

Read More »

Applied Quantitative Economics Assignment

Goldsmiths College, University of London Applied Quantitative Economics Project ** You must attempt only one project, and you must complete it either in R or in Excel ** General Background Key Stage 4 (KS4) is a legal term for the last two years of secondary school education in England leading

Read More »

Score good marks in your Master of Pharmacy (M.Pharm)

Master Your Knowledge: A Guide to a Fulfilling Career in Pharmacy with an M.Pharm The Master of Pharmacy (M.Pharm) program equips you to become a medication management specialist, delving into the science behind drugs and their impact on the human body. You’ll explore advanced pharmaceutical topics, from drug discovery and

Read More »

Score good marks in your Master of Science (M.Sc) in Microbiology

Unveiling the Microscopic Marvels: A Guide to Your Master of Science (M.Sc.) in Microbiology The Master of Science (M.Sc.) in Microbiology program equips you to delve into the fascinating world of microorganisms, from life-saving bacteria to infectious pathogens. You’ll explore their role in health, disease, the environment, and even industrial

Read More »

Score good marks in your Master of Science (M.Sc) in Microbiology

Master Your Craft: A Guide to a Thriving Career in Biotechnology with an M.Sc. The Master of Science (M.Sc.) in Biotechnology program equips you to be at the forefront of scientific discovery, innovation, and problem-solving in the exciting field of biotechnology. From developing life-saving drugs to creating sustainable biofuels, the

Read More »

Score good marks in your Master of Technology (M.Tech) in Information Technology

The Master of Technology (M.Tech) in Information Technology program propels you to the forefront of the ever-evolving IT landscape. You’ll delve into advanced computing concepts, cutting-edge technologies, and specialized areas of IT expertise. But navigating complex algorithms, intricate software systems, and in-depth research projects can feel overwhelming. Universal Assignment Solutions

Read More »

Score good marks in your MBA in Human Resource Management

The Master of Business Administration (MBA) in Human Resource Management (HRM) equips you to become a strategic HR professional, shaping the future of workplaces by attracting, developing, and retaining top talent. However, navigating complex workforce management issues, crafting effective HR policies, and staying abreast of evolving labor laws can feel

Read More »

A Guide to Your Master of Computer Applications (MCA) Journey

The Master of Computer Applications (MCA) program equips you with the skills to become a sought-after software developer or IT professional. However, navigating complex programming languages, intricate algorithms, and advanced software development methodologies can feel overwhelming. Universal Assignment Solutions can be your guiding light! We offer comprehensive assignment help designed

Read More »

Expert Assignment Help for Master of Climate Science Students

Embark on your Master of Climate Science journey with confidence! As you delve into the complexities of climate systems, atmospheric dynamics, and the pressing challenges of climate change, feeling overwhelmed by demanding coursework is natural. Universal Assignment Solutions can be your guide! We offer comprehensive assignment help designed to empower

Read More »

Expert Assignment Help for Master of Information Systems Students

Mastering the complexities of information systems (IS) in today’s ever-evolving digital landscape requires a blend of technical expertise and strategic thinking. Enrolled in a Master of Information Systems (MSIS) program, you’re poised to become a leader in designing, implementing, and managing the information systems that power our world. But feeling

Read More »

Expert Assignment Help for Your Master of Science in Statistics

Embarking on your Master of Science in Statistics (MS Statistics) program is an exciting step towards a rewarding career. As you delve into the intricacies of statistical theory, data analysis techniques, and advanced modeling, feeling overwhelmed by challenging coursework is natural. Universal Assignment Solutions can be your guide! We offer

Read More »

Expert Assignment Help for Master of Urban Design Students

Master of Urban Design (MUD) programs equip you to transform cities into vibrant, sustainable, and equitable spaces. But navigating complex urban design theories, crafting master plans, and tackling real-world design challenges can feel overwhelming. Universal Assignment Solutions can be your design compass! We offer comprehensive assignment help designed to empower

Read More »

Expert Assignment Help for Master of Public History Students

Embark on your Master of Public History journey with confidence! As you delve into the complexities of museums, archives, historic preservation, and interpreting the past for diverse audiences, feeling overwhelmed by demanding coursework is natural. Universal Assignment Solutions can be your trusted partner! We offer comprehensive assignment help designed to

Read More »

Expert Assignment Help for Master of Conservation Biology Students

Are you passionate about protecting our planet’s incredible biodiversity but feeling overwhelmed by the complexities of conservation biology? Struggling with research proposals, population modeling, or navigating the intricacies of habitat restoration in your Master’s program? Universal Assignment Solutions can be your scientific compass! We offer comprehensive assignment help designed to

Read More »

Expert Assignment Help for Master of International Education Students

Embarking on your Master of International Education (MIE) journey is a noble pursuit. As you delve into the complexities of intercultural learning, global citizenship education, and preparing students for a globally interconnected world, feeling overwhelmed by demanding coursework is natural. Universal Assignment Solutions can be your trusted guide! We offer

Read More »

Expert Assignment Help for Master of Public Art Studies Students

Embarking on your Master of Public Art Studies program is an exciting venture. As you delve into the world of public art theory, community engagement, and artistic interventions in the urban landscape, feeling overwhelmed by demanding coursework is natural. Universal Assignment Solutions can be your trusted guide! We offer comprehensive

Read More »

Expert Assignment Help for Master of Real Estate Finance Students

Feeling lost in the labyrinth of loan-to-value ratios, cap rates, and complex financial modeling for real estate projects? Drowning in the sea of market analysis and feasibility studies in your Master of Real Estate Finance program? Universal Assignment Solutions can be your compass, navigating you towards becoming a real estate

Read More »

Expert Assignment Help for Master of Corporate Finance Students

Feeling lost in the labyrinth of financial models, complex valuation techniques, and demanding coursework in your Master of Corporate Finance program? Universal Assignment Solutions can be your compass to navigating the exciting world of corporate finance! We offer comprehensive assignment help designed to empower you to become a financial whiz

Read More »

Expert Assignment Help for Master of Arts in Teaching Students

Embarking on your Master of Arts in Teaching (MAT) journey is a noble pursuit. As you delve into the complexities of pedagogy, curriculum development, and educational leadership, feeling overwhelmed by demanding coursework is natural. Universal Assignment Solutions can be your trusted guide! We offer comprehensive assignment help designed to empower

Read More »

Expert Assignment Help for Master of Food Science Students

Feeling overwhelmed by the intricate dance of chemistry, biology, and engineering in your food? Drowning in complex food processing techniques and demanding coursework in your Master of Food Science program? Universal Assignment Solutions can be your culinary compass! We offer comprehensive assignment help designed to empower you to become a

Read More »

Expert Assignment Help for Master of Educational Leadership Students

Feeling overwhelmed by the complexities of educational leadership, the weight of educational policy, and demanding coursework in your Master of Educational Leadership program? Universal Assignment Solutions can be your guiding light! We offer comprehensive assignment help designed to empower you to become a visionary leader who transforms schools. Why Choose

Read More »

Can't Find Your Assignment?

Open chat
1
Free Assistance
Universal Assignment
Hello 👋
How can we help you?