incubator-hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hama Wiki] Trivial Update of "TraditionalCollaborativeFiltering" by Frederick Haebin Na
Date Tue, 02 Sep 2008 09:52:14 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hama Wiki" for change notification.

The following page has been changed by Frederick Haebin Na:
http://wiki.apache.org/hama/TraditionalCollaborativeFiltering

------------------------------------------------------------------------------
      }
  
      // 2. Get the pair set of all row key combinations
+     //  So, we don't have to recalculate the same value pair with reversed order.
+     //  ex) similar(UserA, UserB) == similar(UserB, UserA)
+     //  In this case, it is going to return {{1, 2}, {1, 3}, {2, 3}}
+     //   by discarding {{2, 1}, {3, 1}, {3, 2}} from the full possible combination.
      Combination x = new Combination(data.length, 2);
      
      // 3. |a|ยท|b|cos(q) calculation

Mime
View raw message