简单的建议/推荐算法算法、简单、建议

2023-09-12 21:18:44 作者:学霸模式开启

我要寻找一个简单的建议算法来实现我的Web应用程序。就像Netflix公司,亚马逊等...但更简单。我不需要博士学位的工作团队,以获得更好的建议指标。

I am looking for a simple suggestion algorithm to implement in to my Web App. Much like Netflix, Amazon, etc... But simpler. I don't need teams of Phd's working to get a better suggestion metric.

所以说我有:

在用户1喜欢Object1。 在用户2喜欢Object1和Object2的。

我要建议用户1搞不好也喜欢Object2的。

I want to suggest to User1 they might also like Object2.

我可以明显地拿出一些幼稚。我在寻找的东西审核和容易实现。

I can obviously come up with something naive. I'm looking for something vetted and easily implemented.

推荐答案

有对建议的算法中的出色许多简单,不是那么简单的例子 集体智慧编程

There are many simple and not so simple examples of suggestion algorithms in the excellent Programming Collective Intelligence

借助 Pearson相关系数(有点干维基百科的文章),可以给pretty的好成绩。下面是在的Python 在TSQL随着算法的一个有趣的解释

The Pearson correlation coefficient (a little dry Wikipedia article) can give pretty good results. Here's an implementation in Python and another in TSQL along with an interesting explanation of the algorithm.