- Learning Salesforce Einstein
- Mohith Shrivastava
- 165字
- 2021-07-02 21:44:05
Spark MLlib
MLlib ALS algorithm takes the training data of the RDD type, that is, Distributed Datasets [Rating] and trains a model, which is a MatrixFactorizationModel object.
RDD is a special data type supported by Spark. The RDD format is immutable, and they run on clusters and can operate in Parallel. One can perform on an RDD class.
The technique we are using here is known as . Let's assume User A likes Product A, Product B, and Product C and rated them with a score. Then, let's assume User B likes Product B, Product C, and Product D and gave a similar rating to the score User A gave for Product B and Product C. Now, using Collaborative Filtering, one can find out what User A would rate for Product D or what User B would rate for Product A as we have some commonality between User A and User B--they both rated Product B and Product C similarly.
推薦閱讀
- Raspberry Pi Networking Cookbook(Second Edition)
- Learning ArcGIS Pro 2
- 編程卓越之道(卷3):軟件工程化
- 算法訓練營:入門篇(全彩版)
- Android Application Development Cookbook(Second Edition)
- Flask Web開發入門、進階與實戰
- 機器人Python青少年編程開發實例
- GeoServer Beginner's Guide(Second Edition)
- C程序設計實踐教程
- 從零開始學C語言
- Hands-On JavaScript for Python Developers
- Visual Studio Code 權威指南
- C語言程序設計實踐
- PHP 8從入門到精通(視頻教學版)
- H5+移動營銷設計寶典