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
AI 摘要
- 文档名称
- 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。您可以在下载前进行在线预览。
我可以在下载前预览吗?
是的。您可以通过在线阅读器直接在本页面预览此文档,然后再决定是否下载。
MLlib and Distributing the Singular Value Decomposition - Reza Zadeh
正在生成预览...
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
评论 (0)
暂无评论。快来抢沙发吧!
Neumann (mối quan hệ giữa Exascale Computing và Big Data) - Philipp Neumann
Tính toán trong bộ nhớ với Spark - Julian M. Kunkel
Intro to Mapreduce (02) (Giới thiệu về MapReduce và Hadoop) (Tiếng Anh)
GPUs (04) (Xử lý song song và bộ xử lý đồ họa)
Neo4j (08) (Xử lý đồ thị với Neo4j) - BigData Analytics - Julian M. Kunkel
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
Chương 5.Thuyết tương đối - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 4. Tán xạ ánh sáng - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 3.Phân cực ánh sáng - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
评论 (0)
暂无评论。快来抢沙发吧!