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 udanax
Date Wed, 13 Aug 2008 11:36:56 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 udanax:
http://wiki.apache.org/hama/TraditionalCollaborativeFiltering

------------------------------------------------------------------------------
      HamaConfiguration conf = new HamaConfiguration();
      Matrix userByItem = new Matrix(conf, "userByItem");  
  
-     // 1. Build an user by item matrix 
      for (int i = 0; i < 3; i++) {
        for (int j = 0; j < 4; j++) {
+ 
+         // 1. Build an user by item matrix from the raw data
          userByItem.set(i, j, data[i][j]);
        }
      }

Mime
View raw message