spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devi P.V" <devip2...@gmail.com>
Subject Spark MLlib:Collaborative Filtering
Date Wed, 24 Aug 2016 08:28:42 GMT
Hi all,
I am newbie in collaborative filtering.I want to implement collaborative
filtering algorithm(need to find top 10 recommended products) using Spark
and Scala.I have a rating dataset where userID & ProductID are String type.

UserID                   ProductID             Rating
b3a68043-c1      p1-160ff5fDS-f74           1
b3a68043-c2      p5-160ff5fDS-f74           1
b3a68043-c0      p9-160ff5fDS-f74           1


I tried ALS algorithm using spark MLlib.But it support rating userID &
productID only Integer type.How can I solve this problem?

Thanks In Advance

Mime
View raw message