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]);
        }
      }

Reply via email to