List of usage examples for org.apache.mahout.cf.taste.impl.recommender TopItems getTopUsers
public static long[] getTopUsers(int howMany, LongPrimitiveIterator allUserIDs, IDRescorer rescorer, Estimator<Long> estimator) throws TasteException
From source file:de.unima.dws.webmining.rs.recommender.AvgUserPrefAdaptedUserBasedRecommender.java
License:Apache License
private long[] doMostSimilarUsers(int howMany, TopItems.Estimator<Long> estimator) throws TasteException { DataModel model = getDataModel();/*from www . ja v a 2 s .c o m*/ return TopItems.getTopUsers(howMany, model.getUserIDs(), null, estimator); }