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.
正在生成预览...
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
… 下载原始文件以阅读完整文档。
- 文档名称
- MLlib and Distributing the Singular Value Decomposition - Reza Zadeh
- 学校 / 课程
- Stanford University · Big Data
- 内容
- 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.
- 目录
- Outline
- Example Invocations
- Benefits of Iterations
- Singular Value Decomposition
- All-pairs Similarity Computation
- MLlib + {Streaming, GraphX, SQL}
- Future Directions
- 页数
- 42 页
- 上传者
- Uni24h
常见问题
此文档免费吗?
是的。“MLlib and Distributing the Singular Value Decomposition - Reza Zadeh”是免费的 — 只需登录并点击“下载”即可获取原始文件。
这份文档有多少页?
该文档共有 42 页,适用于课程 Big Data。您可以在下载前进行在线预览。
我可以在下载前预览吗?
是的。您可以通过在线阅读器直接在本页面预览此文档,然后再决定是否下载。

评论 (0)
暂无评论。快来抢沙发吧!