Modifier and Type | Class and Description |
---|---|
class |
AbstractLongPrimitiveIterator |
class |
LongPrimitiveArrayIterator
While long[] is an Iterable, it is not an Iterable<Long>.
|
class |
SamplingLongPrimitiveIterator
Wraps a
LongPrimitiveIterator and returns only some subset of the elements that it would,
as determined by a sampling rate parameter. |
Modifier and Type | Method and Description |
---|---|
LongPrimitiveIterator |
FastIDSet.iterator() |
LongPrimitiveIterator |
FastByIDMap.keySetIterator() |
static LongPrimitiveIterator |
SamplingLongPrimitiveIterator.maybeWrapIterator(LongPrimitiveIterator delegate,
double samplingRate) |
Modifier and Type | Method and Description |
---|---|
static LongPrimitiveIterator |
SamplingLongPrimitiveIterator.maybeWrapIterator(LongPrimitiveIterator delegate,
double samplingRate) |
Constructor and Description |
---|
SamplingLongPrimitiveIterator(LongPrimitiveIterator delegate,
double samplingRate) |
SamplingLongPrimitiveIterator(RandomWrapper random,
LongPrimitiveIterator delegate,
double samplingRate) |
Modifier and Type | Method and Description |
---|---|
LongPrimitiveIterator |
PlusAnonymousUserDataModel.getItemIDs() |
LongPrimitiveIterator |
PlusAnonymousUserDataModel.getUserIDs() |
LongPrimitiveIterator |
PlusAnonymousConcurrentUserDataModel.getUserIDs() |
Modifier and Type | Method and Description |
---|---|
LongPrimitiveIterator |
FileDataModel.getItemIDs() |
LongPrimitiveIterator |
FileDataModel.getUserIDs() |
Modifier and Type | Method and Description |
---|---|
static List<RecommendedItem> |
TopItems.getTopItems(int howMany,
LongPrimitiveIterator possibleItemIDs,
IDRescorer rescorer,
TopItems.Estimator<Long> estimator) |
static long[] |
TopItems.getTopUsers(int howMany,
LongPrimitiveIterator allUserIDs,
IDRescorer rescorer,
TopItems.Estimator<Long> estimator) |
Modifier and Type | Method and Description |
---|---|
LongPrimitiveIterator |
Factorization.getItemIDMappingKeys() |
LongPrimitiveIterator |
Factorization.getUserIDMappingKeys() |
Modifier and Type | Method and Description |
---|---|
protected OpenIntObjectHashMap<Vector> |
ALSWRFactorizer.itemFeaturesMapping(LongPrimitiveIterator itemIDs,
int numItems,
double[][] featureMatrix) |
protected OpenIntObjectHashMap<Vector> |
ALSWRFactorizer.userFeaturesMapping(LongPrimitiveIterator userIDs,
int numUsers,
double[][] featureMatrix) |
Modifier and Type | Method and Description |
---|---|
LongPrimitiveIterator |
DataModel.getItemIDs() |
LongPrimitiveIterator |
DataModel.getUserIDs() |
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.