Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于usercf #2

Open
DoubleYing opened this issue Jun 9, 2020 · 2 comments
Open

关于usercf #2

DoubleYing opened this issue Jun 9, 2020 · 2 comments

Comments

@DoubleYing
Copy link

在u2u2i的过程中,没有看到找相似user的过程。或者说,
val df_user_prefer2 = df_user_prefer1.withColumn("score", col("pref") * col("similar") * (lit(1) / log(col("sum_item") * hot_item_regular + math.E))).select("useridJ", "itemid", "score")
这一行,为什么可以直接去掉useridI这一项呢?

@xiaogp
Copy link
Owner

xiaogp commented Jun 9, 2020 via email

@DoubleYing
Copy link
Author

嗯,好像看懂了,谢谢您的回复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants