icyc0re / bd914

Big Data Project 2014 - Foursquare project
6 stars 1 forks source link

similitude between two categories #31

Closed maccari closed 10 years ago

maccari commented 10 years ago

In order to get similitudes between venue<->venue or venue<->user, implement a method to compute the similitudes between two categories, using the tree from https://developer.foursquare.com/categorytree or the json in https://github.com/icyc0re/bd914/blob/master/dataset/categories.

Two sub-categories with a different parent should return 0. Two sub-categories with a common parent returns the depth of this parent.

So the bigger the depth, the bigger the similitude between the categories.

icyc0re commented 10 years ago

closed by commit dc5731846f1ba9f7aaf6976618cd36b10914fb6f