/** * Constructor. * * @param cutoff maximum length of the recommendation lists that is evaluated */ public Entropy(int cutoff) { super(cutoff, new NoDiscountModel(), new NoRelevanceModel<>()); } }
/** * Constructor. * * @param cutoff maximum length of the recommendation lists that is evaluated */ public GiniSimpsonIndex(int cutoff) { super(cutoff, new NoDiscountModel(), new NoRelevanceModel<>()); }
/** * Constructor. * * @param cutoff maximum length of the recommendation lists that is evaluated * @param numItems total number of items in the catalog */ public GiniIndex(int cutoff, int numItems) { super(cutoff, new NoDiscountModel(), new NoRelevanceModel<>()); this.numItems = numItems; }
/** * Constructor. * * @param cutoff maximum length of the recommendation lists that is evaluated */ public IUD(int cutoff) { super(cutoff, new NoDiscountModel(), new NoRelevanceModel<>()); }
/** * Constructor. * * @param cutoff maximum size of the recommendation list that is evaluated * @param nSystems number of compared systems * @param otherUserRecommendations other systems recommendations */ public ISD(int cutoff, int nSystems, Function<U, List<List<I>>> otherUserRecommendations) { super(cutoff, new ISDCItemNovelty<>(nSystems, otherUserRecommendations, new NoDiscountModel()), new NoRelevanceModel<>(), new NoDiscountModel()); }
NoRelevanceModel<Long, Long> norel = new NoRelevanceModel<>();