• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!



This version was saved 13 years, 2 months ago View current version     Page history
Saved by mike@mbowles.com
on April 21, 2011 at 5:23:07 pm

Machine Learning on Big Data with MapReduce

Course objectives:  
Participants will learn to adapt and execute machine learning algorithms in the map reduce framework.  Participants should finish the class able to author their own machine learning algorithms for map reduce and to run them on Amazon Web Services.  Amazon is providing AWS credits for class participants. 

Participants will learn to use python code to author mappers and reducers for “hadoop-streaming”.  For most of the class we will employ “mrjob” - an open-source framework developed at Yelp.  Employing mrjob enables class members to program mappers and reducers in python.  The mrjob framework then submits the mapper-reducer to run locally without using hadoop, to run on Amazon Web Services, or to run them on a private hadoop cluster.  This will simplify the programming tasks.

Schedule: Here's a tentative schedule to give a rough idea of what we intend to cover.  This may change somewhat to meet the interests of the class participants. 


Week 1
Implementing Algorithms on Big Data
April 13
MapReduce, Hadoop Streaming, Mahout, Amazon (AWS, EMR)

Lecture 1,

mrjob installation

April 14
mrjob - Jimmy Retzlaff from Yelp
Lecture 2  
Week 2
April 20
k-means, Canopy Clustering

Lecture 3  

Week 2 Homework Assignment

April 21
Lecture 4  
Week 3
Supervised Learning
April 27 Regularized Regression - glmnet algo for elasticnet  
April 28 SVM - Pegasos algo for two-class and one-class, extensions  
Week 4 Recommender systems  
May 4 Background and simple recommender system  
May 5 SVD methods, SVD on mapReduce, Lanczos algo  
Week 5 Frequent ItemSet Implementations  
May 11 tbd  
May 12 tbd  


-Facility with undergrad level math and stats (vector calculus, density functions, etc.)
-Comfortable programming  basic python (version 2.6 or 2.7 NOT version 3). 

-You'll also need to develop some familiarity with Numpy - ("random" family of functions, matrix(), array())
-Install mrjob and boto (these are both python installations)
-Familiarity with basic machine learning.  


Background Material:


Reference material for python

Here's a page with links to Python tutorial to help you learn python.  python references DO NOT INSTALL Python VERSION 3 - it has incompatibilities.  You can find python at www.python.org



Here's some installation help with mrjob. mrjob installation We'll have a wide variety of different OS and capabilities.  If you make discoveries about the process when you install, add info the the mrjob installation page. 


Here's some general documentation on mrjob and a google group devoted to it:  mrjob resources


Amazon Web Services

You'll need to sign up for AWS.  This page has step-by-step signup directions:  AWS



Register for the class at:  http://machinelearningbigdata.eventbrite.com/


People have asked to attend this class remotely, so we've added a teleconference ticket on eventbrite.  We need signups for remote attendees at least one day before the event so we have time to communicate connection info.


Thank you to amazon web services for sponsoring this class. 


Comments (0)

You don't have permission to comment on this page.