Double criterionWeight = Double.valueOf(entry[1]);
weights.add(criterionWeight);
}
GroupRecommender recommendAlg=new GroupRecommender();
recommendAlg.SetRatings(ansambl.get(0).GetRatings());
recommendAlg.SetMaxRating(ansambl.get(0).GetMaxRating());
recommendAlg.SetMinRating(ansambl.get(0).GetMinRating());
recommendAlg.SetRecommenders(ansambl);
recommendAlg.item_mapping=ansambl.get(0).item_mapping;
recommendAlg.user_mapping=ansambl.get(0).user_mapping;
recommendAlg.SetWeights(weights);
recommendAlg.SetDWeight(getParameterAsDouble("default_weight"));
exampleSetOutput.deliver(recommendAlg);
}