官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 彭泽县| 且末县| 岳阳县| 新余市| 东兴市| 广灵县| 霍邱县| 隆安县| 合阳县| 麦盖提县| 江山市| 松滋市| 射阳县| 资溪县| 胶南市| 綦江县| 什邡市| 兰坪| 兴文县| 龙南县| 九龙坡区| 钟山县| 宜城市| 山西省| 延庆县| 洱源县| 富民县| 平顶山市| 湖口县| 扶风县| 贵溪市| 清水县| 哈尔滨市| 榕江县| 徐汇区| 惠来县| 天气| 封丘县| 万盛区| 黔江区| 仁怀市|