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.
Génération de l'aperçu...
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
… Téléchargez le fichier original pour lire le document complet.
- Nom du document
- MLlib and Distributing the Singular Value Decomposition - Reza Zadeh
- École / Cours
- Stanford University · Big Data
- Contenu
- 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.
- Table des matières
- Outline
- Example Invocations
- Benefits of Iterations
- Singular Value Decomposition
- All-pairs Similarity Computation
- MLlib + {Streaming, GraphX, SQL}
- Future Directions
- Pages
- 42 pages
- Téléversé par
- Giang Le
Foire aux questions
Ce document est-il gratuit ?
Oui. « MLlib and Distributing the Singular Value Decomposition - Reza Zadeh » est gratuit — il suffit de vous connecter et de cliquer sur Télécharger pour obtenir le fichier original.
Combien de pages compte ce document ?
Le document contient 42 pages, pour le cours Big Data. Vous pouvez le prévisualiser en ligne avant de le télécharger.
Puis-je prévisualiser avant de télécharger ?
Oui. Vous pouvez prévisualiser ce document directement sur cette page avec le lecteur en ligne, puis décider de le télécharger ou non.

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