Modifier and Type | Method and Description |
---|---|
List<Tuple2od<I>> |
Recommendation.getItems()
Returns the list of item-score pairs.
|
Constructor and Description |
---|
Recommendation(U user,
List<Tuple2od<I>> items)
Constructs the recommendation.
|
Modifier and Type | Class and Description |
---|---|
class |
IdPref<I>
A user or item preference.
|
Constructor and Description |
---|
IdPref(Tuple2od<I> tuple)
Constructor from a object-double pair.
|
Modifier and Type | Method and Description |
---|---|
protected Tuple2od<T> |
ObjectDoubleTopN.get(int i) |
Modifier and Type | Method and Description |
---|---|
protected int |
ObjectDoubleTopN.compare(int i,
Tuple2od<T> e) |
protected void |
ObjectDoubleTopN.set(int i,
Tuple2od<T> e) |
Modifier and Type | Method and Description |
---|---|
protected double |
BinomialNonRedundancyReranker.BinomialNonRedundancyUserReranker.nov(Tuple2od<I> itemValue) |
protected double |
BinomialDiversityReranker.BinomialDiversityUserReranker.nov(Tuple2od<I> itemValue) |
protected double |
BinomialCoverageReranker.BinomialCoverageUserReranker.nov(Tuple2od<I> itemValue) |
protected void |
BinomialNonRedundancyReranker.BinomialNonRedundancyUserReranker.update(Tuple2od<I> bestItemValue) |
protected void |
BinomialDiversityReranker.BinomialDiversityUserReranker.update(Tuple2od<I> bestItemValue) |
protected void |
BinomialCoverageReranker.BinomialCoverageUserReranker.update(Tuple2od<I> bestItemValue) |
Modifier and Type | Method and Description |
---|---|
protected double |
MMR.UserMMR.nov(Tuple2od<I> itemValue) |
protected void |
MMR.UserMMR.update(Tuple2od<I> bestItemValue) |
Modifier and Type | Method and Description |
---|---|
double |
ScoresRelevanceAspectModel.ScoresUserRelevanceAspectModel.pi_f(Tuple2od<I> iv,
F f) |
double |
AspectModel.ItemAspectModel.pi_f(Tuple2od<I> iv,
F f)
Returns probability of an item given an aspect
|
double |
ScoresAspectModel.ScoresUserAspectModel.pi_f(Tuple2od<I> iv,
F f) |
Modifier and Type | Method and Description |
---|---|
void |
ScoresRelevanceAspectModel.ScoresUserRelevanceAspectModel.initializeWithItems(List<Tuple2od<I>> items) |
abstract void |
AspectModel.UserAspectModel.initializeWithItems(List<Tuple2od<I>> items)
Initialises the model with items.
|
void |
ScoresAspectModel.ScoresUserAspectModel.initializeWithItems(List<Tuple2od<I>> items) |
Modifier and Type | Method and Description |
---|---|
protected double |
AlphaXQuAD.UserAlphaXQuAD.nov(Tuple2od<I> iv) |
protected void |
AlphaXQuAD.UserAlphaXQuAD.update(Tuple2od<I> biv) |
Modifier and Type | Method and Description |
---|---|
default Tuple2od<F> |
FastFeatureIndex.fidx2feature(Tuple2id tuple)
Applies FastFeatureIndex::fidx2feature to the first element of the tuple.
|
default Tuple2od<I> |
FastItemIndex.iidx2item(Tuple2id tuple)
Applies FastItemIndex::iidx2item to the first element of the tuple.
|
default Tuple2od<U> |
FastUserIndex.uidx2user(Tuple2id tuple)
Applies FastUserIndex::uidx2user to the first element of the tuple.
|
Modifier and Type | Method and Description |
---|---|
default Tuple2id |
FastFeatureIndex.feature2fidx(Tuple2od<F> tuple)
Applies FastFeatureIndex::feature2fidx to the first element of the tuple.
|
default Tuple2id |
FastItemIndex.item2iidx(Tuple2od<I> tuple)
Applies FastItemIndex::item2iidx to the first element of the tuple.
|
default Tuple2id |
FastUserIndex.user2uidx(Tuple2od<U> tuple)
Applies FastUserIndex::user2uidx to the first element of the tuple.
|
Modifier and Type | Method and Description |
---|---|
Stream<Tuple2od<I>> |
ItemNeighborhood.getNeighbors(I i)
Returns a stream of item neighbors
|
Modifier and Type | Method and Description |
---|---|
Stream<Tuple2od<I>> |
ItemSimilarity.similarItems(I i)
Returns all the items that are similar to the item.
|
Modifier and Type | Method and Description |
---|---|
Stream<Tuple2od<U>> |
UserNeighborhood.getNeighbors(U u)
Returns a stream of user neighbors
|
Constructor and Description |
---|
CachedUserNeighborhood(FastUserIndex<U> uIndex,
Stream<org.jooq.lambda.tuple.Tuple2<U,Stream<Tuple2od<U>>>> neighborhoods)
Constructor that caches a stream of previously calculated neighborhoods.
|
Modifier and Type | Method and Description |
---|---|
Stream<Tuple2od<U>> |
UserSimilarity.similarUsers(U u)
Returns all the users that are similar to the user.
|
Modifier and Type | Method and Description |
---|---|
protected double |
ItemNoveltyReranker.value(Tuple2od<I> iv,
Stats relStats,
it.unimi.dsi.fastutil.objects.Object2DoubleMap<I> novMap,
Stats novStats)
Re-scored value to determine the re-ranking.
|
Modifier and Type | Method and Description |
---|---|
protected abstract double |
LambdaReranker.LambdaUserReranker.nov(Tuple2od<I> iv)
Returns the novelty score of an item.
|
protected abstract void |
GreedyReranker.GreedyUserReranker.update(Tuple2od<I> bestItemValue)
Updates the value of the objective function after a selection.
|
protected double |
LambdaReranker.LambdaUserReranker.value(Tuple2od<I> iv) |
protected abstract double |
GreedyReranker.GreedyUserReranker.value(Tuple2od<I> itemValue)
Objective function that drives the greedy selection.
|
Modifier and Type | Method and Description |
---|---|
protected int |
LambdaReranker.LambdaUserReranker.selectItem(it.unimi.dsi.fastutil.ints.IntSortedSet remainingI,
List<Tuple2od<I>> list) |
protected int |
GreedyReranker.GreedyUserReranker.selectItem(it.unimi.dsi.fastutil.ints.IntSortedSet remainingI,
List<Tuple2od<I>> list)
Selects the next element of the permutation that maximizes the
objective function.
|
Modifier and Type | Method and Description |
---|---|
protected abstract double |
BayesRuleReranker.likelihood(Tuple2od<I> iv)
Returns the likelihood of an item: p(u | i).
|
protected double |
AlphaBayesRuleReranker.likelihood(Tuple2od<I> iv) |
Modifier and Type | Method and Description |
---|---|
static <T1> Tuple2od<T1> |
Tuples.tuple(T1 v1,
double v2)
Creates a tuple of object-double.
|
Modifier and Type | Method and Description |
---|---|
int |
Tuple2od.compareTo(Tuple2od<T1> other) |
Constructor and Description |
---|
Tuple2od(Tuple2od<T1> tuple)
Constructor from an object-double tuple.
|
Copyright © 2016. All rights reserved.