简体   繁体   English

ALS 实时推荐 Apache Flink

[英]ALS Real-Time Recommendation Apache Flink

I want to implement a real-time recommendation on Apache Flink with the ALS algorithm.我想用 ALS 算法在 Apache Flink 上实现实时推荐。

The model can be previously trained ready with Batch and then just loaded into Flink. model 可以预先使用 Batch 进行训练,然后加载到 Flink 中。 Then an input stream of Data should be processed and used for the prediction.然后应处理数据的输入 stream 并将其用于预测。

The library FlinkMl is no longer included since Flink 1.9.自 Flink 1.9 起不再包含库 FlinkMl。 Beyond that, there are a lot of libraries designed for machine learning with Apache Flink.除此之外,还有许多使用 Apache Flink 设计用于机器学习的库。

For this I need a starting point that helps me to realize this project.为此,我需要一个帮助我实现这个项目的起点。

1、Recommend to try Alink.Alink is the Machine Learning algorithm platform based on Flink, developed by the PAI team of Alibaba computing platform.it supports the ALS algorithm. 1、推荐尝试Alink。Alink是阿里巴巴计算平台PAI团队基于Flink开发的机器学习算法平台,支持ALS算法。https://github.com/alibaba/Alink/blob/master/README.en-US.mdhttps://github.com/alibaba/Alink/blob/master/README.en-US.md

you'll find the README that can explain it much better.你会发现 README 可以更好地解释它。

2、Try Pandas?Pandas UDF/UDAF can be called directly in PyFlink. 2、试试Pandas?Pandas UDF/UDAF可以直接在PyFlink中调用。

hope it can help u.希望它可以帮助你。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM