AttributeRole ar=aatr.getRole("attribute identification");
Attribute at=ar.getAttribute();
ir=aatr.getRole("item identification");
i=ir.getAttribute();
SparseBooleanMatrix mat=new SparseBooleanMatrix();
for (Example example : attribute_set) {
double j;
j=example.getValue(i);
int iid=item_mapping.ToInternalID((int) j);
j=example.getValue(at);
int aid=(int)j;
mat.setLocation(iid, aid, true);
}
System.out.println();
System.out.println(training_data.GetMaxItemID()+" "+training_data.GetMaxUserID());