We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
for key1 in user1: for key2 in user2: if key1[0] == key2[0]: sum_xy +=(key1[1] - avg_x) * (key2[1] - avg_y) sum_y +=(key2[1] - avg_y) * (key2[1] -avg_y) sum_x +=(key1[1] - avg_x) * (key1[1] - avg_x) if sum_xy == 0.0: return 0 sx_sy=math.sqrt(sum_x) * math.sqrt(sum_y)
这个函数里面的相似度计算应该是这样吧, userFC.py
The text was updated successfully, but these errors were encountered:
No branches or pull requests
这个函数里面的相似度计算应该是这样吧, userFC.py
The text was updated successfully, but these errors were encountered: