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

Finding similar people? #44

Open
mgreer opened this issue Jan 5, 2016 · 2 comments
Open

Finding similar people? #44

mgreer opened this issue Jan 5, 2016 · 2 comments

Comments

@mgreer
Copy link

mgreer commented Jan 5, 2016

Since GER is already using similarity to recommend items, could there be a straight up API for finding similar people themselves?

Very very useful for community building.

@grahamjenson
Copy link
Owner

Hey, there are no plans at the moment to add a direct API for person similarity... BUT there are two methods that can be used right now to implement such a method:

  1. person_neighbourhood which takes a person and returns a list of people that are (probably) similar to them
  2. calculate_similarities_from_person which will take a person and a list of people and return an object with all the people and their weights

To hook them up it would look like:

person_to_look_at = "Alice"
ger.person_neighbourhood(namespace, person_to_look_at, actions, configuration)
.then( (people) ->
  ger.calculate_similarities_from_person(namespace, person_to_look_at, people, actions, configuration)
)
.then( (similar_people) ->
  #a list of similar weighted people to be sorted and returned
)

I am going to leave this issue open, because although there are no plans now it will probably be added in the future.

@mgreer
Copy link
Author

mgreer commented Feb 4, 2016

Solution works great! Thank you!

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