Modifier and Type | Method and Description |
---|---|
double |
BinomialMetric.evaluate(Recommendation<U,I> recommendation)
Returns a score for the recommendation list.
|
Modifier and Type | Method and Description |
---|---|
protected BinomialNonRedundancyReranker.BinomialNonRedundancyUserReranker |
BinomialNonRedundancyReranker.getUserReranker(Recommendation<U,I> recommendation,
int maxLength) |
protected LambdaReranker.LambdaUserReranker |
BinomialDiversityReranker.getUserReranker(Recommendation<U,I> recommendation,
int maxLength) |
protected BinomialCoverageReranker.BinomialCoverageUserReranker |
BinomialCoverageReranker.getUserReranker(Recommendation<U,I> recommendation,
int maxLength) |
Constructor and Description |
---|
BinomialCoverageUserReranker(Recommendation<U,I> recommendation,
int maxLength)
Constructor.
|
BinomialDiversityUserReranker(Recommendation<U,I> recommendation,
int maxLength)
Constructor.
|
BinomialNonRedundancyUserReranker(Recommendation<U,I> recommendation,
int maxLength)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
EILD.evaluate(Recommendation<U,I> recommendation)
Returns a score for the recommendation list.
|
Modifier and Type | Method and Description |
---|---|
protected LambdaReranker.LambdaUserReranker |
MMR.getUserReranker(Recommendation<U,I> recommendation,
int maxLength) |
Constructor and Description |
---|
UserMMR(Recommendation<U,I> recommendation,
int maxLength)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
AlphaNDCG.evaluate(Recommendation<U,I> recommendation)
Returns a score for the recommendation list.
|
double |
ERRIA.evaluate(Recommendation<U,I> recommendation)
Returns a score for the recommendation list.
|
Modifier and Type | Method and Description |
---|---|
protected LambdaReranker.LambdaUserReranker |
AlphaXQuAD.getUserReranker(Recommendation<U,I> recommendation,
int maxLength) |
Constructor and Description |
---|
UserAlphaXQuAD(Recommendation<U,I> recommendation,
int maxLength)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
SRecall.evaluate(Recommendation<U,I> recommendation)
Returns a score for the recommendation list.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractSalesDiversityMetric.add(Recommendation<U,I> recommendation) |
Modifier and Type | Method and Description |
---|---|
void |
SystemMetric.add(Recommendation<U,I> recommendation)
Add a recommendation to the metric.
|
double |
RecommendationMetric.evaluate(Recommendation<U,I> recommendation)
Returns a score for the recommendation list.
|
Modifier and Type | Method and Description |
---|---|
void |
AverageRecommendationMetric.add(Recommendation<U,I> recommendation) |
double |
AverageRecommendationMetric.addAndEvaluate(Recommendation<U,I> recommendation)
Adds the recommendation metric to the average and returns the user value.
|
double |
Recall.evaluate(Recommendation<U,I> recommendation)
Returns a score for the recommendation list.
|
double |
NDCG.evaluate(Recommendation<U,I> recommendation)
Returns a score for the recommendation list.
|
double |
Precision.evaluate(Recommendation<U,I> recommendation)
Returns a score for the recommendation list.
|
double |
AveragePrecision.evaluate(Recommendation<U,I> recommendation)
Returns a score for the recommendation list.
|
double |
ReciprocalRank.evaluate(Recommendation<U,I> recommendation)
Returns a score for the recommendation list.
|
double |
NumRetrieved.evaluate(Recommendation<U,I> recommendation)
Returns a score for the recommendation list.
|
double |
Recommendability.evaluate(Recommendation<U,I> recommendation)
Returns a score for the recommendation list.
|
Modifier and Type | Method and Description |
---|---|
double |
ItemNoveltyMetric.evaluate(Recommendation<U,I> recommendation)
Returns a score for the recommendation list.
|
Modifier and Type | Method and Description |
---|---|
int[] |
ItemNoveltyReranker.rerankPermutation(Recommendation<U,I> recommendation,
int maxLength) |
Modifier and Type | Field and Description |
---|---|
protected Recommendation<U,I> |
GreedyReranker.GreedyUserReranker.recommendation
input recommendation
|
Modifier and Type | Method and Description |
---|---|
Recommendation<U,I> |
RerankingRecommender.getRecommendation(U u,
int maxLength,
Predicate<I> filter) |
static <U,I> Recommendation<U,I> |
PermutationReranker.permuteRecommendation(Recommendation<U,I> recommendation,
int[] perm)
Applies a permutation to re-rank a recommendation.
|
Recommendation<U,I> |
Reranker.rerankRecommendation(Recommendation<U,I> recommendation,
int maxLength)
Re-ranks a recommendation.
|
Recommendation<U,I> |
PermutationReranker.rerankRecommendation(Recommendation<U,I> recommendation,
int maxLength) |
Modifier and Type | Method and Description |
---|---|
protected abstract GreedyReranker.GreedyUserReranker<U,I> |
LambdaReranker.getUserReranker(Recommendation<U,I> recommendation,
int maxLength) |
protected abstract GreedyReranker.GreedyUserReranker<U,I> |
GreedyReranker.getUserReranker(Recommendation<U,I> recommendation,
int maxLength)
Returns an instance of
GreedyReranker.GreedyUserReranker that does the greedy
selection. |
static <U,I> Recommendation<U,I> |
PermutationReranker.permuteRecommendation(Recommendation<U,I> recommendation,
int[] perm)
Applies a permutation to re-rank a recommendation.
|
int[] |
LambdaReranker.rerankPermutation(Recommendation<U,I> recommendation,
int maxLength)
Returns the permutation that is applied to the input recommendation
to generate the re-ranked recommendation.
|
int[] |
NullReranker.rerankPermutation(Recommendation<U,I> recommendation,
int maxLength)
Returns the permutation that is applied to the input recommendation
to generate the re-ranked recommendation.
|
int[] |
RandomReranker.rerankPermutation(Recommendation<U,I> recommendation,
int maxLength)
Returns the permutation that is applied to the input recommendation
to generate the re-ranked recommendation.
|
int[] |
GreedyReranker.rerankPermutation(Recommendation<U,I> recommendation,
int maxLength)
Returns the permutation that is applied to the input recommendation
to generate the re-ranked recommendation.
|
abstract int[] |
PermutationReranker.rerankPermutation(Recommendation<U,I> recommendation,
int maxLength)
Returns the permutation that is applied to the input recommendation
to generate the re-ranked recommendation.
|
Recommendation<U,I> |
Reranker.rerankRecommendation(Recommendation<U,I> recommendation,
int maxLength)
Re-ranks a recommendation.
|
Recommendation<U,I> |
PermutationReranker.rerankRecommendation(Recommendation<U,I> recommendation,
int maxLength) |
Constructor and Description |
---|
GreedyUserReranker(Recommendation<U,I> recommendation,
int maxLength)
Constructor
|
LambdaUserReranker(Recommendation<U,I> recommendation,
int maxLength)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int[] |
BayesRuleReranker.rerankPermutation(Recommendation<U,I> recommendation,
int maxLength) |
Modifier and Type | Method and Description |
---|---|
static <U,I> it.unimi.dsi.fastutil.objects.Object2DoubleMap<I> |
AlphaBayesRuleReranker.calculateNorm(Stream<Recommendation<U,I>> recommendations)
Calculates the norm (sum of relevance scores) of each item.
|
Constructor and Description |
---|
AlphaBayesRuleReranker(double alpha,
Stream<Recommendation<U,I>> recommendations)
Constructor that receives a set of recommendations and calculates the
norm.
|
Modifier and Type | Method and Description |
---|---|
double |
ETD.evaluate(Recommendation<U,I> recommendation)
Returns a score for the recommendation list.
|
Modifier and Type | Method and Description |
---|---|
Recommendation<U,I> |
AbstractRecommender.getRecommendation(U u) |
Recommendation<U,I> |
Recommender.getRecommendation(U u)
Free recommendation.
|
Recommendation<U,I> |
AbstractRecommender.getRecommendation(U u,
int maxLength) |
Recommendation<U,I> |
Recommender.getRecommendation(U u,
int maxLength)
Free recommendation.
|
abstract Recommendation<U,I> |
AbstractRecommender.getRecommendation(U u,
int maxLength,
Predicate<I> filter) |
Recommendation<U,I> |
Recommender.getRecommendation(U u,
int maxLength,
Predicate<I> filter)
Filter recommendation.
|
Recommendation<U,I> |
AbstractRecommender.getRecommendation(U u,
Predicate<I> filter) |
Recommendation<U,I> |
Recommender.getRecommendation(U u,
Predicate<I> filter)
Filter recommendation.
|
Recommendation<U,I> |
AbstractRecommender.getRecommendation(U u,
Stream<I> candidates) |
Recommendation<U,I> |
Recommender.getRecommendation(U u,
Stream<I> candidates)
Candidates ranking.
|
Modifier and Type | Method and Description |
---|---|
Recommendation<U,I> |
AbstractFastRecommender.getRecommendation(U u,
int maxLength) |
Recommendation<U,I> |
AbstractFastRecommender.getRecommendation(U u,
int maxLength,
Predicate<I> filter) |
Recommendation<U,I> |
AbstractFastRecommender.getRecommendation(U u,
Stream<I> candidates) |
Modifier and Type | Method and Description |
---|---|
Recommendation<U,I> |
RandomRecommender.getRecommendation(U u,
Stream<I> candidates) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractRecommenderRunner.run(Function<U,Recommendation<U,I>> recProvider,
Consumer<Recommendation<U,I>> consumer)
Prints the recommendations.
|
protected void |
AbstractRecommenderRunner.run(Function<U,Recommendation<U,I>> recProvider,
Consumer<Recommendation<U,I>> consumer)
Prints the recommendations.
|
void |
FilterRecommenderRunner.run(Recommender<U,I> recommender,
Consumer<Recommendation<U,I>> consumer) |
void |
CandidatesRecommenderRunner.run(Recommender<U,I> recommender,
Consumer<Recommendation<U,I>> consumer) |
void |
RecommenderRunner.run(Recommender<U,I> recommender,
Consumer<Recommendation<U,I>> consumer)
Runs the recommender and prints the recommendations to an output
stream.
|
Modifier and Type | Method and Description |
---|---|
void |
FastFilterRecommenderRunner.run(Recommender<U,I> recommender,
Consumer<Recommendation<U,I>> consumer) |
Modifier and Type | Method and Description |
---|---|
double |
CPR.evaluate(Recommendation<U,I> recommendation) |
Modifier and Type | Method and Description |
---|---|
protected GreedyReranker.GreedyUserReranker<U,I> |
PM.getUserReranker(Recommendation<U,I> recommendation,
int maxLength) |
Modifier and Type | Method and Description |
---|---|
default Stream<Recommendation<U,I>> |
RecommendationFormat.Reader.get() |
Stream<Recommendation<U,I>> |
TuplesRecommendationFormat.Reader.readAll() |
Stream<Recommendation<U,I>> |
RecommendationFormat.Reader.readAll()
Reads all recommendations.
|
Modifier and Type | Method and Description |
---|---|
default void |
RecommendationFormat.Writer.accept(Recommendation<U,I> recommendation) |
void |
TuplesRecommendationFormat.Writer.write(Recommendation<U,I> recommendation) |
void |
RecommendationFormat.Writer.write(Recommendation<U,I> recommendation)
Writes the recommendation.
|
Modifier and Type | Method and Description |
---|---|
double |
KCall.evaluate(Recommendation<U,I> recommendation) |
Modifier and Type | Method and Description |
---|---|
int[] |
DitheringReranker.rerankPermutation(Recommendation<U,I> recommendation,
int maxLength) |
Copyright © 2016. All rights reserved.