MLlib and Distributing the Singular Value Decomposition - Reza Zadeh
Tài liệu này giới thiệu về MLlib, thư viện học máy của Spark, và cách phân phối thuật toán phân rã giá trị suy biến (SVD). Nó cũng đề cập đến các ứng dụng khác như tính toán tương đồng cặp đôi và các hướng phát triển trong tương lai.
Vorschau wird generiert...
MLlib and Distributing the " Singular Value Decomposition Reza Zadeh Outline Example Invocations Benefits of Iterations Singular Value Decomposition All-pairs Similarity Computation MLlib + {Streaming, GraphX, SQL} Future Directions Introduction A General Platform Standard libraries included with Spark Spark Spark SQL Streaming " structured real-time GraphX graph Spark Core MLlib machine learning … MLlib History MLlib is a Spark subproject providing machine learning primitives Initial contribution from AMPLab, UC Berkeley Shipped with Spark since Sept 2013 MLlib: Available algorithms classification: logistic regression, linear SVM," naïve Bayes, least squares, classification tree regression: generalized linear models (GLMs), regression tree collaborative filtering: alternating least squares (ALS), non-negative matrix factorization (NMF) clustering: k-means|| decomposition: SVD, PCA optimization: stochastic gradient descent, L-BFGS Example Invocations Example: K-means Example: PCA Example: ALS Benefits of fast iterations Optimization At least two large classes of optimization problems humans can solve: Convex Programs Singular Value Decomposition Optimization - LR data = spark.textFile(...).map(readPoint).cache() w = numpy.random.rand(D) for i in range(iterations): gradient = data.map(lambda p: (1 / (1 + exp(-‐p.y * w.dot(p.x)))) * p.y * p.x ).reduce(lambda a, b: a + b) w -‐= gradient print “Final w: %s” % w MR PageRank Repeatedly multiply sparse matrix and vector Requires repeatedly hashing together page adjacency lists and rank vector Same file grouped over and over Neighbors (id, edges) Ranks (id, rank) … iteration 1 iteration 2 iteration 3 Spark PageRank Using cache(), keep neighbor lists in RAM Using partitioning, avoid repeated hashing partitionBy Neighbors (id, edges) Ranks (id, rank) … join join join Spark PageRank Using cache(), keep neighbor lists in RAM U
… Laden Sie die Originaldatei herunter, um das vollständige Dokument zu lesen.
- Dokumentenname
- MLlib and Distributing the Singular Value Decomposition - Reza Zadeh
- Schule / Kurs
- Stanford University · Big Data
- Inhalt
- Tài liệu trình bày về MLlib, thư viện học máy của Spark, với trọng tâm là thuật toán SVD phân tán. Nó giải thích lợi ích của lặp nhanh trong các thuật toán và cách MLlib triển khai SVD cho các dạng ma trận khác nhau, cùng với các ứng dụng khác như tính toán độ tương đồng.
- Inhaltsverzeichnis
- Outline
- Example Invocations
- Benefits of Iterations
- Singular Value Decomposition
- All-pairs Similarity Computation
- MLlib + {Streaming, GraphX, SQL}
- Future Directions
- Seiten
- 42 Seiten
- Hochgeladen von
- Uni24h
Häufig gestellte Fragen
Ist dieses Dokument kostenlos?
Ja. „MLlib and Distributing the Singular Value Decomposition - Reza Zadeh“ 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 42 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.

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