ML Map Reduce (Lecture 11) (Máy học với MapReduce)
- Seiten
- 51
- Định dạng
- PPTX
- Dung lượng
- 593 KB
- Trường
- University of Hamburg
- Aufrufe
- 0
- Kommentare
- 0
- Lượt tải
- 0
Vorschau wird generiert...
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.
- Dokumentenname
- ML Map Reduce (Lecture 11) (Máy học với MapReduce)
- Schule / Kurs
- University of Hamburg · Big Data
- Inhalt
- 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.
- Inhaltsverzeichnis
- 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
- Seiten
- 51 Seiten
- Hochgeladen von
- Uni24h
Beschreibung
Trích nội dung tài liệ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|θ)
Häufig gestellte Fragen
Ist dieses Dokument kostenlos?
Ja. „ML Map Reduce (Lecture 11) (Máy học với MapReduce)“ ist kostenlos — melden Sie sich einfach an und klicken Sie auf Herunterladen, um die Originaldatei zu erhalten.
Wie viele Seiten hat dieses Dokument?
Das Dokument hat 51 Seiten, für den Kurs Big Data. Sie können es vor dem Herunterladen online in der Vorschau ansehen.
Kann ich vor dem Herunterladen eine Vorschau ansehen?
Ja. Sie können sich dieses Dokument direkt auf dieser Seite im Online-Reader ansehen und dann entscheiden, ob Sie es herunterladen möchten.
ML Map Reduce (Lecture 11) (Máy học với MapReduce)
Vorschau wird generiert...
Trích nội dung tài liệ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|θ)
- Dokumentenname
- ML Map Reduce (Lecture 11) (Máy học với MapReduce)
- Schule / Kurs
- University of Hamburg · Big Data
- Inhalt
- 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.
- Inhaltsverzeichnis
- 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
- Seiten
- 51 Seiten
- Hochgeladen von
- Uni24h
Kommentare (0)
Noch keine Kommentare. Seien Sie der Erste!
Stream (11) (Xử lý luồng dữ liệu) - Julian M. Kunkel
Krone (09) (Sự phát triển của dữ liệu) (Tiếng Anh)
Parallel mf (09) (Thuật toán phân tán phân tích ma trận dữ liệu lớn)
Big Data Analytics - Phân tích dữ liệu lớn (Lecture 5)
NoSQL db (06) (Cơ sở dữ liệu NoSQL)
Tổng hợp Đề Toán 5 - Luyện thi vào Lớp 6 - CLB EMath
Bài giảng vật lý đại cương (Chương 3) - Đỗ Ngọc Uấn
Chương 8.Nguyên tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 7.Cơ học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 6.Quang học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang

Kommentare (0)
Noch keine Kommentare. Seien Sie der Erste!