throw new UserError(this, 105);
}
Attributes Att = exampleSet.getAttributes();
AttributeRole ur=Att.getRole("user identification");
Attribute u=ur.getAttribute();
AttributeRole ir=Att.getRole("item identification");
Attribute i=ir.getAttribute();
Attribute label=null;
if(OU==true){
if(Att.getLabel()!=null)
label=Att.getLabel();
}
RatingPredictor model = exampleSetInput1.getData();
ExampleSet out=exampleSet;
ArrayList<Integer> new_users=new ArrayList<Integer>();
ArrayList<Integer> new_items=new ArrayList<Integer>();
com.rapidminer.data.CompactHashSet<Integer> s2=new com.rapidminer.data.CompactHashSet<Integer>();
com.rapidminer.data.CompactHashSet<Integer> s3=new com.rapidminer.data.CompactHashSet<Integer>();
ArrayList<Integer> r_users=null;
ArrayList<Integer> r_items=null;
ArrayList<Double> ratings=null;
Attribute pred = AttributeFactory.createAttribute("prediction",
Ontology.REAL);
if(!attributes.contains(pred)){
attributes.addRegular(pred);
ExampleTable a=exampleSet.getExampleTable();