Package | Description |
---|---|
es.uam.eps.ir.ranksys.fast |
Core classes of RankSys-fast.
|
es.uam.eps.ir.ranksys.fast.index |
Fast versions of user/item/feature indexes.
|
es.uam.eps.ir.ranksys.fast.preference |
Fast versions of PreferenceData.
|
es.uam.eps.ir.ranksys.fast.utils.topn |
Fast versions of TopN.
|
es.uam.eps.ir.ranksys.nn.item.neighborhood |
Item neighborhoods.
|
es.uam.eps.ir.ranksys.nn.item.sim |
Item similarities.
|
es.uam.eps.ir.ranksys.nn.neighborhood |
Neighborhoods.
|
es.uam.eps.ir.ranksys.nn.sim |
Similarities.
|
es.uam.eps.ir.ranksys.nn.user.neighborhood |
User neighborhoods.
|
es.uam.eps.ir.ranksys.nn.user.sim |
User similarities.
|
es.uam.eps.ir.ranksys.novelty.inverted.neighborhood |
Inverted neighborhoods.
|
org.ranksys.core.util.tuples |
Primitive tuples.
|
Modifier and Type | Method and Description |
---|---|
List<Tuple2id> |
FastRecommendation.getIidxs()
Returns the list of item-score pairs identified by index.
|
Constructor and Description |
---|
FastRecommendation(int uidx,
List<Tuple2id> iidxs)
Constructor.
|
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 |
---|---|
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 | Class and Description |
---|---|
class |
IdxPref
A user or item preference by indexes.
|
Constructor and Description |
---|
IdxPref(Tuple2id tuple)
Constructor from tuple
|
Modifier and Type | Method and Description |
---|---|
protected Tuple2id |
IntDoubleTopN.get(int i) |
Modifier and Type | Method and Description |
---|---|
protected int |
IntDoubleTopN.compare(int i,
Tuple2id e) |
protected void |
IntDoubleTopN.set(int i,
Tuple2id e) |
Modifier and Type | Method and Description |
---|---|
Stream<Tuple2id> |
ItemNeighborhood.getNeighbors(int idx)
Returns the neighborhood of a user/index.
|
Modifier and Type | Method and Description |
---|---|
Stream<Tuple2id> |
ItemSimilarity.similarElems(int idx) |
Stream<Tuple2id> |
ItemSimilarity.similarItems(int iidx)
Returns all the items that are similar to the item - fast version.
|
Modifier and Type | Method and Description |
---|---|
Stream<Tuple2id> |
Neighborhood.getNeighbors(int idx)
Returns the neighborhood of a user/index.
|
Stream<Tuple2id> |
ThresholdNeighborhood.getNeighbors(int idx)
Returns the neighborhood of a user/index.
|
Stream<Tuple2id> |
CachedNeighborhood.getNeighbors(int idx)
Returns the neighborhood of a user/index.
|
Stream<Tuple2id> |
TopKNeighborhood.getNeighbors(int idx)
Returns the neighborhood of a user/index.
|
Constructor and Description |
---|
CachedNeighborhood(int n,
Stream<Tuple2io<Stream<Tuple2id>>> neighborhoods)
Constructor that caches a stream of previously calculated neighborhoods.
|
Modifier and Type | Method and Description |
---|---|
Stream<Tuple2id> |
VectorSimilarity.similarElems(int idx1) |
Stream<Tuple2id> |
SetSimilarity.similarElems(int idx1) |
Stream<Tuple2id> |
Similarity.similarElems(int idx)
Returns all the users/items having a similarity greater than 0,
together with the value of the similarity.
|
Modifier and Type | Method and Description |
---|---|
Stream<Tuple2id> |
UserNeighborhood.getNeighbors(int idx)
Returns the neighborhood of a user/index.
|
Modifier and Type | Method and Description |
---|---|
Stream<Tuple2id> |
UserSimilarity.similarElems(int idx) |
Stream<Tuple2id> |
UserSimilarity.similarUsers(int uidx)
Returns all the users that are similar to the user - fast version.
|
Modifier and Type | Method and Description |
---|---|
Stream<Tuple2id> |
InvertedNeighborhood.getNeighbors(int idx)
Returns the neighborhood of a user/index.
|
Modifier and Type | Method and Description |
---|---|
static Tuple2id |
Tuples.tuple(int v1,
double v2)
Creates a tuple of integer-double.
|
Modifier and Type | Method and Description |
---|---|
int |
Tuple2id.compareTo(Tuple2id other) |
Constructor and Description |
---|
Tuple2id(Tuple2id tuple)
Constructor from an integer-double tuple.
|
Copyright © 2016. All rights reserved.