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

Similarity Shrinkage #26

Closed
taolian opened this issue Jan 26, 2016 · 1 comment
Closed

Similarity Shrinkage #26

taolian opened this issue Jan 26, 2016 · 1 comment

Comments

@taolian
Copy link
Contributor

taolian commented Jan 26, 2016

In Section 5.2 of Herlocker 1999 and Table 2 of Herlocker 2002, the significance weighting or shrinkage parameter for the similarity value takes the form of the fraction of the number of common elements and a threshold, for example, min(n/50, 1).

Line 546 of Recommder.java
I am wondering whether there is any advantage of sim *= n / (n + shrinkage + 0.0); over sim *= Math.min(n / (double)shrinkage, 1.0); or other considerations here.

@guoguibing
Copy link
Owner

Just two different ways to shrink similarities.

@taolian taolian closed this as completed Jan 17, 2017
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