ML Map Reduce (Lecture 11) (Máy học với MapReduce)
Slide bài giảng về Machine Learning với MapReduce, bao gồm các phần về K-Means Clustering và EM-Algorithm.
Génération de l'aperçu...
Machine Learning with MapReduce K-Means Clustering 3 How to MapReduce K-Means? Given K, assign the first K random points to be the initial cluster centers Assign subsequent points to the closest cluster using the supplied distance measure Compute the centroid of each cluster and iterate the previous step until the cluster centers converge within delta Run a final pass over the points to cluster them for output K-Means Map/Reduce Design Driver Runs multiple iteration jobs using mapper+combiner+reducer Runs final clustering job using only mapper Mapper Configure: Single file containing encoded Clusters Input: File split containing encoded Vectors Output: Vectors keyed by nearest cluster Combiner Input: Vectors keyed by nearest cluster Output: Cluster centroid vectors keyed by “cluster” Reducer (singleton) Input: Cluster centroid vectors Output: Single file containing Vectors keyed by cluster Mapper - mapper has k centers in memory. Input Key-value pair (each input data point x). Find the index of the closest of the k centers (call it iClosest). Emit: (key,value) = (iClosest, x) Reducer(s) – Input (key,value) Key = index of center Value = iterator over input data points closest to ith center At each key value, run through the iterator and average all the Corresponding input data points. Emit: (index of center, new center) Improved Version: Calculate partial sums in mappers Mapper - mapper has k centers in memory. Running through one input data point at a time (call it x). Find the index of the closest of the k centers (call it iClosest). Accumulate sum of inputs segregated into K groups depending on which center is closest. Emit: ( , partial sum) Or Emit(index, partial sum) Reducer – accumulate partial sums and Emit with index or without EM-Algorithm What is MLE? Given A sample X={X1, …, Xn} A vector of parameters θ We define Likelihood of the data: P(X | θ) Log-likelihood of the data: L(θ)=log P(X|θ)
… Tải file gốc để đọc toàn bộ tài liệu.
- Nom du document
- ML Map Reduce (Lecture 11) (Máy học với MapReduce)
- École / Cours
- University of Hamburg · Big Data
- Contenu
- Tài liệu giới thiệu cách triển khai thuật toán K-Means Clustering và EM-Algorithm bằng MapReduce. Nó giải thích các bước thiết kế Map, Combiner, Reducer cho K-Means và trình bày nền tảng lý thuyết của EM-Algorithm, bao gồm MLE và cách xử lý dữ liệu ẩn.
- Table des matières
- K-Means Clustering
- How to MapReduce K-Means?
- K-Means Map/Reduce Design
- Mapper - mapper has k centers in memory.
- Improved Version: Calculate partial sums in mappers
- EM-Algorithm
- What is MLE?
- MLE (cont)
- An easy case
- An easy case (cont)
- Basic setting in EM
- The basic EM strategy
- The log-likelihood function
- The iterative approach for MLE
- Doc.pages
- 51 pages
- Téléversé par
- Giang Le
Foire aux questions
Tài liệu này có miễn phí không?
Có. “ML Map Reduce (Lecture 11) (Máy học với MapReduce)” miễn phí — bạn chỉ cần đăng nhập rồi bấm Tải xuống để lấy file gốc.
Tài liệu dài bao nhiêu trang?
Tài liệu gồm 51 trang, thuộc môn Big Data. Bạn có thể xem trước online trước khi tải.
Tôi có thể xem trước trước khi tải không?
Có. Bạn xem trước tài liệu ngay trên trang này bằng trình đọc online, rồi quyết định tải về.

Commentaires (0)
Aucun commentaire pour le moment. Soyez le premier !