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

------------------------------------------------------------------------------
  
    public static void main(String[] args) {
      HamaConfiguration conf = new HamaConfiguration();
+ 
+     // 1. Build a user by item matrix, Set entries from the raw data
      Matrix userByItem = new Matrix(conf, "userByItem");  
- 
      for (int i = 0; i < 3; i++) {
        for (int j = 0; j < 4; j++) {
- 
-         // 1. Request updates for the user by item matrix data set entries 
from the raw data
          userByItem.set(i, j, data[i][j]);
        }
      }

Reply via email to