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

Adjust the alternatives ranking to incorporate unfollows and newfollows #288

Open
Qwlouse opened this issue Feb 8, 2014 · 2 comments
Open

Comments

@Qwlouse
Copy link
Owner

Qwlouse commented Feb 8, 2014

The weight of the transitive follows should depend on the number of newfollows VS unfollows.

Suggestion:
If a node has 100 inherited follows, 1 newfollow and 3 unfollows the total weight should be 1 (newfollow) + 25 (100 * 1/4) = 26 because the ratio of newfollows to unfollows is 1:3.

@pinae
Copy link
Collaborator

pinae commented Feb 8, 2014

Your suggestion would mean that with 1000 inherited follws, 100 new follows and just 1 unfollow the rating is 100 + 1000 * 1 / 2 = 600. While a proposal with no new and no unfollows keeps a rating of 1000. I think that is not what we want to achieve.

My suggestion: Only count unfollows if they are more than newfollows: newfollows + inherited / max(1,unfollows - newfollows)
With your numbers:
1+100/max(1,3-1)=51
My examples:
100+1000/max(1,1-100)=1100
0+1000/max(1,0-0)=1000

This Issue References #20 .

@Qwlouse
Copy link
Owner Author

Qwlouse commented Feb 11, 2014

No what I mean with your numbers is:

100 + (1000*100/101) ~= 100 + 990 = 1090

Because here the ratio of newfollows to unfollows is 100:1

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

No branches or pull requests

2 participants