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.
Generating preview...
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
… Download the original file to read the full document.
- Document name
- MLlib and Distributing the Singular Value Decomposition - Reza Zadeh
- School / Course
- Stanford University · Big Data
- Content
- 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 of contents
- Outline
- Example Invocations
- Benefits of Iterations
- Singular Value Decomposition
- All-pairs Similarity Computation
- MLlib + {Streaming, GraphX, SQL}
- Future Directions
- Pages
- 42 pages
- Uploaded by
- Uni24h
Frequently asked questions
Is this document free?
Yes. “MLlib and Distributing the Singular Value Decomposition - Reza Zadeh” is free — just sign in and click Download to get the original file.
How many pages is this document?
The document has 42 pages, for the course Big Data. You can preview it online before downloading.
Can I preview before downloading?
Yes. You can preview this document right on this page with the online reader, then decide whether to download.

Comments (0)
No comments yet. Be the first!