Questions tagged [als]
19 questions
0
votes
1 answer
Spark ALS model.transform(test) drops rows from test. What could be the reason?
test (a table with columns: user_id, item_id, rating, with 6.2M rows)
als = ALS(userCol="user_id",
itemCol="item_id",
ratingCol="rating",
coldStartStrategy="drop",
…

Anmol Deep
- 463
- 1
- 5
- 16
0
votes
1 answer
ALS Real-Time Recommendation Apache Flink
I want to implement a real-time recommendation on Apache Flink with the ALS algorithm.
The model can be previously trained ready with Batch and then just loaded into Flink. Then an input stream of Data should be processed and used for the…

jkempter
- 3
- 2
0
votes
2 answers
ALS training data with case class rating
I am using the Amazon consumer reviews dataset. My objective is to apply collaborative filtering. I succeeded adding myself as a user and adding user rating.
I want to create a model. I want to use ALS but I have a problem with ALS.train() because I…

Alemha
- 3
- 5
-3
votes
1 answer
I want to make predict function and recommendProducts function in spark ALSModel
I am studying pyspark.
ml als does not support the "predict(user,product)" function in mllib als. How can I implement the predict(user,product) function? thank you

sun tony
- 3
- 2