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

Research/Develop Event-UserData relationship sorting algorithm #5

Open
jamrreed opened this issue Sep 19, 2013 · 1 comment
Open

Research/Develop Event-UserData relationship sorting algorithm #5

jamrreed opened this issue Sep 19, 2013 · 1 comment
Assignees

Comments

@jamrreed
Copy link
Collaborator

Gotta figure out how to sort the events on the "search for events" page. Initial sorting will be done somewhat based on the front page algorithm but combined with the new user data criteria until they filter the results.

@ghost ghost assigned jamrreed Sep 19, 2013
@jamrreed
Copy link
Collaborator Author

This will extend the decaying notion of the previous issue. In that issue we determined a formula for decay:
P = 0.5N + C(1-e^(x - k))
We introduce another constant to change the position, T for tag.
One way to possibly implement an added position relative to tags is to collect a list of tags that each user is associated to based on the events they have been associated with. There will be a total number of tags for each type of tag. Given a sorted list, we can say that T can represent multiple values to be added (if the event in question has multiple tags.)

For example, we have Tag1, Tag2, Tag3, Tag4, Tag5.
The event is listed as Tag2, Tag3.
The user has, based on previous events, 50 Tag1, 0 Tag2, 75Tag3, 10Tag4, 0 Tag 5. Total tags = 165.
Because event has 2 and 3 , we get an average amount (75 / 165 ) + ( 0 / 165) due to event having Tag 3 and Tag2.
T becomes 75/175 (then multiply by constant).
So we have T= (75/175) * A, where A is some constant we determine that represents how weighted the tag is.

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

1 participant