Skip navigation links
A B C D E F G H I J K L M N O P Q R S T U V W Z 

A

AbsoluteThreshold - Class in org.grouplens.lenskit.transform.threshold
Checks similarity values to ensure their absolute values are over the ThresholdValue.
AbsoluteThreshold(double) - Constructor for class org.grouplens.lenskit.transform.threshold.AbsoluteThreshold
Construct a new absolute-value threshold.
AbstractBeanEntity - Class in org.lenskit.data.entities
Abstract entity implementation that uses bean methods.
AbstractBeanEntity(AbstractBeanEntity.BeanEntityLayout, EntityType, long) - Constructor for class org.lenskit.data.entities.AbstractBeanEntity
Construct a bean entity.
AbstractBeanEntity.BeanAttributeGetter - Class in org.lenskit.data.entities
Internal utility class - do not use.
AbstractBeanEntity.BeanEntityLayout - Class in org.lenskit.data.entities
 
AbstractBeanEntityBuilder - Class in org.lenskit.data.entities
Base class for entity builders using bean-style setters.
AbstractBeanEntityBuilder(EntityType) - Constructor for class org.lenskit.data.entities.AbstractBeanEntityBuilder
 
AbstractBeanEntityBuilder.AttrMethod - Class in org.lenskit.data.entities
Abstract class for accessing attribute methods.
AbstractBeanEntityBuilder.DoubleAttrMethod - Class in org.lenskit.data.entities
 
AbstractBeanEntityBuilder.LongAttrMethod - Class in org.lenskit.data.entities
 
AbstractConfigContext - Class in org.lenskit.inject
Helper for implementing Lenskit config contexts.
AbstractConfigContext() - Constructor for class org.lenskit.inject.AbstractConfigContext
 
AbstractDataAccessObject - Class in org.lenskit.data.dao
Helper class to make it easier to create DAOs.
AbstractDataAccessObject() - Constructor for class org.lenskit.data.dao.AbstractDataAccessObject
 
AbstractDescriptionWriter - Class in org.lenskit.util.describe
Base class to help implementing DescriptionWriters.
AbstractDescriptionWriter() - Constructor for class org.lenskit.util.describe.AbstractDescriptionWriter
 
AbstractEntity - Class in org.lenskit.data.entities
Base class to make it easier to implement entities.
AbstractEntity(EntityType, long) - Constructor for class org.lenskit.data.entities.AbstractEntity
 
AbstractFilteringGreedyRerankStrategy - Class in org.lenskit.rerank
Abstract class designed to make implementation of a GreedyRerankStrategy easier.
AbstractFilteringGreedyRerankStrategy() - Constructor for class org.lenskit.rerank.AbstractFilteringGreedyRerankStrategy
 
AbstractItemBasedItemRecommender - Class in org.lenskit.basic
Base class to make it easier to implement ItemBasedItemRecommender.
AbstractItemBasedItemRecommender() - Constructor for class org.lenskit.basic.AbstractItemBasedItemRecommender
 
AbstractItemBasedItemScorer - Class in org.lenskit.basic
Base class to make it easier to implement ItemBasedItemScorer.
AbstractItemBasedItemScorer() - Constructor for class org.lenskit.basic.AbstractItemBasedItemScorer
 
AbstractItemRecommender - Class in org.lenskit.basic
Base class to ease implementation of item recommenders.
AbstractItemRecommender() - Constructor for class org.lenskit.basic.AbstractItemRecommender
 
AbstractItemScorer - Class in org.lenskit.basic
Base class to make item scorers easier to implement.
AbstractItemScorer() - Constructor for class org.lenskit.basic.AbstractItemScorer
 
AbstractItemVectorNormalizer - Class in org.lenskit.transform.normalize
Abstract item vector normalizer implementation.
AbstractItemVectorNormalizer() - Constructor for class org.lenskit.transform.normalize.AbstractItemVectorNormalizer
 
AbstractObjectStream<T> - Class in org.lenskit.util.io
Base class to make ObjectStreams easier to implement.
AbstractObjectStream() - Constructor for class org.lenskit.util.io.AbstractObjectStream
 
AbstractRatingPredictor - Class in org.lenskit.basic
Base class to make item scorers easier to implement.
AbstractRatingPredictor() - Constructor for class org.lenskit.basic.AbstractRatingPredictor
 
AbstractRatingVectorPDAO - Class in org.lenskit.data.ratings
Base class for helping construct rating vector proxy DAOs.
AbstractRatingVectorPDAO(DataAccessObject) - Constructor for class org.lenskit.data.ratings.AbstractRatingVectorPDAO
 
AbstractResult - Class in org.lenskit.results
Base class for basic result types.
AbstractResult(long, double) - Constructor for class org.lenskit.results.AbstractResult
Create a new result.
AbstractResult() - Constructor for class org.lenskit.results.AbstractResult
Create a new, uninitialized result.
AbstractScoringGreedyRerankStrategy - Class in org.lenskit.rerank
Abstract class designed to make implementation of a GreedyRerankStrategy easier.
AbstractScoringGreedyRerankStrategy() - Constructor for class org.lenskit.rerank.AbstractScoringGreedyRerankStrategy
 
AbstractTableWriter - Class in org.lenskit.util.table.writer
Abstract helper class for implementing table writers.
AbstractTableWriter() - Constructor for class org.lenskit.util.table.writer.AbstractTableWriter
 
AbstractUserVectorNormalizer - Class in org.lenskit.transform.normalize
Abstract user vector normalizer implementation.
AbstractUserVectorNormalizer() - Constructor for class org.lenskit.transform.normalize.AbstractUserVectorNormalizer
 
AbstractVectorNormalizer - Class in org.lenskit.transform.normalize
Abstract vector normalizer implementation.
AbstractVectorNormalizer() - Constructor for class org.lenskit.transform.normalize.AbstractVectorNormalizer
 
acquireSemaphore(Semaphore) - Static method in class org.lenskit.util.parallel.Blockers
Acquire a semaphore, coordinating with the fork-join pool if one is running.
adaptFromType(MethodVisitor, Class<?>) - Static method in class org.lenskit.util.reflect.CGUtils
Emit instructions that adapt the current stack contents to Object.
adaptToType(MethodVisitor, Class<?>) - Static method in class org.lenskit.util.reflect.CGUtils
Emit instructions that adapt the current stack (an Object) to a possibly primitive target type.
add(Entity) - Method in class org.lenskit.data.store.EntityCollectionBuilder
Add an entity to the collection.
add(Entity, boolean) - Method in class org.lenskit.data.store.EntityCollectionBuilder
Add an entity to the collection.
add(long, double, int, double) - Method in class org.lenskit.knn.item.ItemItemScoreAccumulator
Add a score to the accumulator.
add(Result) - Method in class org.lenskit.results.ResultAccumulator
Add a result to the accumulator.
add(long, double) - Method in class org.lenskit.results.ResultAccumulator
Add a basic result to the accumulator.
add(int, long) - Method in class org.lenskit.util.collections.CompactableLongArrayList
 
add(long) - Method in class org.lenskit.util.collections.CompactableLongArrayList
 
add(T) - Method in class org.lenskit.util.collections.SortedListAccumulator
Add an item to the accumulator.
add(T) - Method in class org.lenskit.util.keys.KeyedObjectMapBuilder
 
add(T...) - Method in class org.lenskit.util.keys.KeyedObjectMapBuilder
 
add(String, Object) - Method in class org.lenskit.util.table.RowBuilder
Add a single column by name.
addAlgorithm(AlgorithmInstance) - Method in class org.lenskit.eval.traintest.SimpleEvaluator
Adds an algorithmInfo to the experiment being built.
addAlgorithm(String, LenskitConfiguration) - Method in class org.lenskit.eval.traintest.SimpleEvaluator
An algorithm instance constructed with a name and Lenskit configuration
addAlgorithm(AlgorithmInstance) - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Add an algorithm to the experiment.
addAlgorithm(String, Closure<?>) - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Add an algorithm configured by a Groovy closure.
addAlgorithm(String, Path) - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Add one or more algorithms by loading a config file.
addAlgorithms(List<AlgorithmInstance>) - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Add multiple algorithm instances.
addAlgorithms(Path) - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Add one or more algorithms from a configuration file.
addAll(int, Collection<? extends Long>) - Method in class org.lenskit.util.collections.CompactableLongArrayList
 
addAll(Collection<? extends Long>) - Method in class org.lenskit.util.collections.CompactableLongArrayList
 
addAll(Iterable<? extends T>) - Method in class org.lenskit.util.keys.KeyedObjectMapBuilder
 
addAll(Map<String, ?>) - Method in class org.lenskit.util.table.RowBuilder
Add several columns from a map.
addArgument(String) - Method in class org.lenskit.external.ExternalProcessItemScorerBuilder
Add a command line argument.
addArguments(Collection<String>) - Method in class org.lenskit.external.ExternalProcessItemScorerBuilder
Add some command line arguments.
addArguments(String...) - Method in class org.lenskit.external.ExternalProcessItemScorerBuilder
Add some command line arguments.
addAttribute(TypedName<?>) - Method in class org.lenskit.data.dao.file.JSONEntityFormat
Add an attribute to the list of expected attributes.
addAttribute(String, TypedName<?>) - Method in class org.lenskit.data.dao.file.JSONEntityFormat
Add an attribute to the list of expected attributes, with a JSON field name.
addBindings(BindingFunctionBuilder) - Method in class org.lenskit.inject.RecommenderGraphBuilder
Add bindings to the graph builder.
addColumn(TypedName<?>) - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
Associate an attribute with the next column.
addColumn(String, TypedName<?>) - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
Add a column.
addColumn(String) - Method in class org.lenskit.util.table.TableLayoutBuilder
Add a column to the table layout.
addColumns(TypedName<?>...) - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
Add columns to a format.
addColumns(Iterable<String>) - Method in class org.lenskit.util.table.TableLayoutBuilder
Add columns to the layout.
addColumns(String...) - Method in class org.lenskit.util.table.TableLayoutBuilder
Add columns to the layout.
addComponent(Object) - Method in class org.lenskit.config.BindingDSL
 
addComponent(Object) - Method in class org.lenskit.inject.AbstractConfigContext
 
addComponent(Class<?>) - Method in class org.lenskit.inject.AbstractConfigContext
 
addComponent(Object) - Method in interface org.lenskit.LenskitConfigContext
Add a component object to the injector.
addComponent(Class<?>) - Method in interface org.lenskit.LenskitConfigContext
Add a component type to the injector.
addConfiguration(LenskitConfiguration) - Method in class org.lenskit.inject.RecommenderGraphBuilder
Add a recommender configuration.
addConfiguration(LenskitConfiguration) - Method in class org.lenskit.LenskitRecommenderEngineBuilder
Add a configuration to be included in the recommender engine.
addConfiguration(LenskitConfiguration, ModelDisposition) - Method in class org.lenskit.LenskitRecommenderEngineBuilder
Add a configuration to be used when building the engine.
addConfiguration(LenskitConfiguration) - Method in class org.lenskit.LenskitRecommenderEngineLoader
Add a configuration to use when loading the configuration.
addDataSet(Crossfolder) - Method in class org.lenskit.eval.traintest.SimpleEvaluator
Adds a crossfolder’s results to the experiment.
addDataSet(String, StaticDataSource, int, double) - Method in class org.lenskit.eval.traintest.SimpleEvaluator
Add a new data set to be cross-folded.
addDataSet(StaticDataSource, int, double) - Method in class org.lenskit.eval.traintest.SimpleEvaluator
Add a new data set to be cross-folded.
addDataSet(String, StaticDataSource, int) - Method in class org.lenskit.eval.traintest.SimpleEvaluator
Add a new data set to be cross-folded.
addDataSet(StaticDataSource, int) - Method in class org.lenskit.eval.traintest.SimpleEvaluator
Add a new data set to be cross-folded.
addDataSet(DataSet) - Method in class org.lenskit.eval.traintest.SimpleEvaluator
Adds a single DataSet to the TrainTestExperiment.
addDataSet(StaticDataSource, StaticDataSource) - Method in class org.lenskit.eval.traintest.SimpleEvaluator
Add a data set to the experiment.
addDataSet(DataSet) - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Add a data set.
addDataSets(List<DataSet>) - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Add several data sets.
addDefaultIndex(TypedName<Long>) - Method in class org.lenskit.data.dao.EntityCollectionDAOBuilder
Add an attribute to index by default on all entities.
addDerivedEntity(EntityType, EntityType, TypedName<Long>) - Method in class org.lenskit.data.dao.file.StaticDataSource
Add a derived entity to the data source.
addDerivedEntity(EntityDerivation) - Method in class org.lenskit.data.dao.file.StaticDataSource
Add a derived entity to the data source.
addEntities(Entity...) - Method in class org.lenskit.data.dao.EntityCollectionDAOBuilder
Add multiple entities.
addEntities(Iterable<? extends Entity>) - Method in class org.lenskit.data.dao.EntityCollectionDAOBuilder
Add multiple entities.
addEntity(Entity) - Method in class org.lenskit.data.dao.EntityCollectionDAOBuilder
Add an entity to the DAO.
addEntityLayout(EntityType, AttributeSet) - Method in class org.lenskit.data.dao.EntityCollectionDAOBuilder
Set a layout for an entity type.
addEntityLayout(EntityType, AttributeSet, Class<? extends EntityBuilder>) - Method in class org.lenskit.data.dao.EntityCollectionDAOBuilder
Set a layout for an entity type.
addFilterField(TypedName<A>, A) - Method in class org.lenskit.data.dao.EntityQueryBuilder
Add a filter condition to the builder.
addFilterField(Attribute<?>) - Method in class org.lenskit.data.dao.EntityQueryBuilder
Add a filter condition to the builder.
addFilterFields(List<Attribute<?>>) - Method in class org.lenskit.data.dao.EntityQueryBuilder
Add a filter condition to the builder.
addHint(String, Object...) - Method in exception org.lenskit.RecommenderConfigurationException
 
addIndex(EntityType, TypedName<?>) - Method in class org.lenskit.data.dao.EntityCollectionDAOBuilder
Index entities by an attribute.
addIndex(EntityType, TypedName<?>) - Method in class org.lenskit.data.dao.file.StaticDataSource
Index entities by an attribute.
addIndex(TypedName<T>) - Method in class org.lenskit.data.store.EntityCollectionBuilder
Add an index to an entity collection to speed up lookups.
addIndex(String) - Method in class org.lenskit.data.store.EntityCollectionBuilder
Add an index to an entity collection to speed up lookups.
addItemFileArgument(LongSet, String) - Method in class org.lenskit.external.ExternalProcessItemScorerBuilder
Add a list of items as a command-line argument.
addItemFileArgument(LongSet) - Method in class org.lenskit.external.ExternalProcessItemScorerBuilder
Add a list of items as a command-line argument.
addLoggingGroup(ArgumentParser) - Static method in class org.lenskit.cli.util.Logging
 
addMetric(PredictMetric<?>) - Method in class org.lenskit.eval.traintest.predict.PredictEvalTask
Add a prediction metric.
addMetric(TopNMetric<?>) - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
Add a prediction metric.
addMetric(PredictMetric<?>) - Method in class org.lenskit.eval.traintest.SimpleEvaluator
Add a metric to the experiment.
addRatingFileArgument(DataAccessObject, String) - Method in class org.lenskit.external.ExternalProcessItemScorerBuilder
Add a list of ratings as a command-line argument.
addRatingFileArgument(DataAccessObject) - Method in class org.lenskit.external.ExternalProcessItemScorerBuilder
Add a list of ratings as a command-line argument.
addResults(long, Result...) - Method in class org.lenskit.basic.PrecomputedItemScorer.Builder
Add results for a user.
addRoot(Class<?>) - Method in class org.lenskit.LenskitConfiguration
Add the specified component type as a root component.
addRoots(Iterable<Class<?>>) - Method in class org.lenskit.inject.RecommenderGraphBuilder
Add roots to the graph builder.
addRow(List<?>) - Method in class org.lenskit.util.table.TableBuilder
Add a row to the table.
addRow(Object...) - Method in class org.lenskit.util.table.TableBuilder
Add a row to the table.
addScalar(Long2DoubleMap, double) - Static method in class org.lenskit.util.math.Vectors
Add a scalar to each element of a vector.
addScore(long, long, double) - Method in class org.lenskit.basic.PrecomputedItemScorer.Builder
Add a score.
addSortKey(TypedName<? extends Comparable>) - Method in class org.lenskit.data.dao.EntityQueryBuilder
Add an ascending sort key.
addSortKey(TypedName<? extends Comparable>, SortOrder) - Method in class org.lenskit.data.dao.EntityQueryBuilder
Add a sort key.
addSortKey(SortKey) - Method in class org.lenskit.data.dao.EntityQueryBuilder
Add a sort key.
addSortKeys(Iterable<SortKey>) - Method in class org.lenskit.data.dao.EntityQueryBuilder
Add multiple sort keys.
addSource(Collection<? extends Entity>) - Method in class org.lenskit.data.dao.file.StaticDataSource
Add a collection data source.
addSource(Collection<? extends Entity>, Map<String, Object>) - Method in class org.lenskit.data.dao.file.StaticDataSource
Add a collection data source.
addSource(EntitySource) - Method in class org.lenskit.data.dao.file.StaticDataSource
Add an entity source.
addTask(EvalTask) - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Add an evaluation task.
addTask(ForkJoinTask<?>) - Method in class org.lenskit.util.parallel.TaskGroup
Add a task to be executed.
addTestEntity(Entity...) - Method in class org.lenskit.eval.traintest.TestUserBuilder
 
addTestRating(long, double) - Method in class org.lenskit.eval.traintest.TestUserBuilder
 
addTrainEntity(Entity...) - Method in class org.lenskit.eval.traintest.TestUserBuilder
 
addUserFileArgument(LongSet, String) - Method in class org.lenskit.external.ExternalProcessItemScorerBuilder
Add a list of users as a command-line argument.
addUserFileArgument(LongSet) - Method in class org.lenskit.external.ExternalProcessItemScorerBuilder
Add a list of users as a command-line argument.
advance() - Method in class org.lenskit.util.ProgressLogger
Record that an item has been completed.
AggregateResult(TopNMAPMetric.Context) - Constructor for class org.lenskit.eval.traintest.recommend.TopNMAPMetric.AggregateResult
 
AggregateResult(TopNMRRMetric.Context) - Constructor for class org.lenskit.eval.traintest.recommend.TopNMRRMetric.AggregateResult
 
algorithm(Closure<?>) - Method in class org.lenskit.eval.traintest.MultiAlgorithmDSL
 
algorithm(String, Closure<?>) - Method in class org.lenskit.eval.traintest.MultiAlgorithmDSL
Create a new algorithm in this file.
AlgorithmInstance - Class in org.lenskit.eval.traintest
An instance of a recommender algorithm to be trained and measured.
AlgorithmInstance(String, LenskitConfiguration) - Constructor for class org.lenskit.eval.traintest.AlgorithmInstance
Construct a new algorithm instance.
AlgorithmInstance(String, List<LenskitConfiguration>, Map<String, Object>) - Constructor for class org.lenskit.eval.traintest.AlgorithmInstance
Construct a new algorithm instance.
AlgorithmInstanceBuilder - Class in org.lenskit.eval.traintest
Builder for algorithm instances.
AlgorithmInstanceBuilder() - Constructor for class org.lenskit.eval.traintest.AlgorithmInstanceBuilder
Construct a new algorithm instance builder.
AlgorithmInstanceBuilder(String) - Constructor for class org.lenskit.eval.traintest.AlgorithmInstanceBuilder
Construct a new algorithm instance builder with a name.
allItems() - Static method in class org.lenskit.eval.traintest.recommend.ItemSelector
 
allMatch(Predicate<? super T>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
anyMatch(Predicate<? super T>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
apply(long, long, double) - Method in interface org.grouplens.lenskit.transform.clamp.ClampingFunction
Clamp a value.
apply(long, long, double) - Method in class org.grouplens.lenskit.transform.clamp.IdentityClampingFunction
 
apply(long, long, double) - Method in class org.grouplens.lenskit.transform.clamp.RatingRangeClampingFunction
 
apply(Entity) - Method in class org.lenskit.data.dao.EntityQuery
apply(String) - Method in class org.lenskit.data.dao.file.LineEntityParser
 
apply(List<? extends Rating>, Random) - Method in enum org.lenskit.eval.crossfold.SortOrder
Apply the ordering.
apply(DAGNode<Component, Dependency>) - Method in class org.lenskit.inject.NodeInstantiator
 
applyReversedTransform(InvertibleFunction<Long2DoubleMap, Long2DoubleMap>) - Method in class org.lenskit.knn.item.ItemItemScoreAccumulator
Apply the reverse of a transform to the results.
as(Class<T>) - Method in interface org.lenskit.api.Result
Convert this result to the specified type, if possible.
as(Class<T>) - Method in class org.lenskit.basic.FallbackResult
Convert this result to another type.
as(Class<T>) - Method in class org.lenskit.results.AbstractResult
Convert this result to the specified type, if possible.
as(Class<T>) - Method in class org.lenskit.results.RescoredResult
Convert this type.
asLong2DoubleFunction(Map<Long, Double>) - Static method in class org.lenskit.util.collections.LongUtils
asLong2DoubleMap(Map<Long, Double>) - Static method in class org.lenskit.util.collections.LongUtils
Wrap or cast a long-to-double map into Fastutil.
asLongCollection(Collection<Long>) - Static method in class org.lenskit.util.collections.LongUtils
Get a Fastutil LongCollection from a Collection of longs.
asLongList(List<Long>) - Static method in class org.lenskit.util.collections.LongUtils
 
asLongSet(Set<Long>) - Static method in class org.lenskit.util.collections.LongUtils
Get a Fastutil LongSet from a Set of longs.
asLongSet(Collection<Long>) - Static method in class org.lenskit.util.collections.LongUtils
Get a Fastutil LongSet from a Collection of longs.
asMap() - Method in class org.lenskit.data.entities.AbstractEntity
 
asMap() - Method in interface org.lenskit.data.entities.Entity
View this entity as a map.
asMap() - Method in interface org.lenskit.util.table.Row
Get a view of this row as a map.
asRow() - Method in interface org.lenskit.util.table.Row
Get a view of this row as a list.
asType(Class<V>) - Method in interface org.lenskit.data.dao.Query
View results as a different type.
at(Class<?>) - Method in class org.lenskit.config.BindingDSL
 
at(Class<?>, Closure<?>) - Method in class org.lenskit.config.BindingDSL
Configure inside an anchored context using a block.
at(Class<? extends Annotation>, Class<?>) - Method in class org.lenskit.config.BindingDSL
 
at(Class<? extends Annotation>, Class<?>, Closure<?>) - Method in class org.lenskit.config.BindingDSL
Enclose a block of configuration in a context.
at(Annotation, Class<?>) - Method in class org.lenskit.config.BindingDSL
 
at(Annotation, Class<?>, Closure<?>) - Method in class org.lenskit.config.BindingDSL
Enclose a block of configuration in a context.
at(Class<?>) - Method in interface org.lenskit.LenskitConfigContext
 
at(Class<? extends Annotation>, Class<?>) - Method in interface org.lenskit.LenskitConfigContext
 
at(Annotation, Class<?>) - Method in interface org.lenskit.LenskitConfigContext
 
at(Class<?>) - Method in class org.lenskit.LenskitConfiguration
 
at(Class<? extends Annotation>, Class<?>) - Method in class org.lenskit.LenskitConfiguration
 
at(Annotation, Class<?>) - Method in class org.lenskit.LenskitConfiguration
 
Attribute<T> - Class in org.lenskit.data.entities
An attribute associated with an entity, consisting of its name, type, and value.
ATTRIBUTES - Static variable in class org.lenskit.data.ratings.Rating
 
AttributeSet - Class in org.lenskit.data.entities
A set of attributes.
attributeValueFunction(TypedName<T>) - Static method in class org.lenskit.data.entities.Entities
 
AttrMethod(TypedName<?>) - Constructor for class org.lenskit.data.entities.AbstractBeanEntityBuilder.AttrMethod
 
autodetect(String) - Static method in enum org.lenskit.util.io.CompressionMode
Auto-detect a compression mode from a file name.
autodetect(File) - Static method in enum org.lenskit.util.io.CompressionMode
Auto-detect a compression mode from a file’s name.
AutoProvider(PreferenceDomain) - Constructor for class org.lenskit.transform.quantize.PreferenceDomainQuantizer.AutoProvider
 
average() - Method in interface org.lenskit.util.table.Column
Get the average of this column.
avgPrecision - Variable in class org.lenskit.eval.traintest.recommend.TopNMAPMetric.UserResult
 

B

BaselineScorer - Annotation Type in org.lenskit.baseline
Annotation for the baseline scorer of a stacked item scorer, or an item scorer used as a baseline in another component.
baselineScorer - Variable in class org.lenskit.transform.normalize.BaselineSubtractingUserVectorNormalizer
 
BaselineSubtractingUserVectorNormalizer - Class in org.lenskit.transform.normalize
User vector normalizer that subtracts a user’s baseline scores.
BaselineSubtractingUserVectorNormalizer(ItemScorer) - Constructor for class org.lenskit.transform.normalize.BaselineSubtractingUserVectorNormalizer
Create a new baseline-subtracting normalizer with the given baseline.
basename(String, boolean) - Static method in class org.lenskit.util.io.LKFileUtils
Get the basename of a file path, possibly without extension.
basicCopy(Result) - Static method in class org.lenskit.results.Results
Create a basic result that has the same ID and score as another result (a basic copy of the result).
basicCopyFunction() - Static method in class org.lenskit.results.Results
Guava function that converts a result to a basic result.
BasicEntityBuilder - Class in org.lenskit.data.entities
General-purpose builder for entities.
BasicEntityBuilder(EntityType) - Constructor for class org.lenskit.data.entities.BasicEntityBuilder
Create a new entity builder for a type.
basicEquivalence() - Static method in class org.lenskit.results.Results
An equivalence relation that considers objects to be equal if they are equal after being converted to basic results (that is, their IDs and scores are equal).
BasicNeighborIterationStrategy - Class in org.lenskit.knn.item.model
Neighbor iteration strategy that considers all items to be candidate neighbors.
BasicNeighborIterationStrategy() - Constructor for class org.lenskit.knn.item.model.BasicNeighborIterationStrategy
 
BasicResult - Class in org.lenskit.results
A basic Result implementation with no details.
BasicResult(long, double) - Constructor for class org.lenskit.results.BasicResult
Create a new basic result.
BasicResultList - Class in org.lenskit.results
Basic list-based implementation of a result list.
BasicResultList(List<? extends Result>) - Constructor for class org.lenskit.results.BasicResultList
Create a new result list from a list of results.
BasicResultMap - Class in org.lenskit.results
Standard result map implementation.
BasicResultMap(Iterable<? extends Result>) - Constructor for class org.lenskit.results.BasicResultMap
Create a new result map from a collection of results.
BeanAttributeGetter() - Constructor for class org.lenskit.data.entities.AbstractBeanEntity.BeanAttributeGetter
 
begin(Path) - Static method in class org.lenskit.util.io.StagedWrite
Begin a staged file writing operation.
begin(File) - Static method in class org.lenskit.util.io.StagedWrite
Begin a staged file writing operation.
BiasDamping - Annotation Type in org.lenskit.bias
Damping parameter for bias models.
BiasItemScorer - Class in org.lenskit.bias
Score items using a user-item bias model.
BiasItemScorer(BiasModel) - Constructor for class org.lenskit.bias.BiasItemScorer
Construct a new scorer.
BiasItemVectorNormalizer - Class in org.lenskit.transform.normalize
Item vector normalizer that subtracts user-item biases.
BiasItemVectorNormalizer(BiasModel) - Constructor for class org.lenskit.transform.normalize.BiasItemVectorNormalizer
Construct a new normalizer.
BiasModel - Interface in org.lenskit.bias
Interface for bias models that can be based on the user, item, or both.
BiasUserVectorNormalizer - Class in org.lenskit.transform.normalize
User vector normalizer that subtracts user-item biases.
BiasUserVectorNormalizer(BiasModel) - Constructor for class org.lenskit.transform.normalize.BiasUserVectorNormalizer
Construct a new normalizer.
BinarySearch - Class in org.lenskit.util
Utility class for implementing and working with binary searches.
BinarySearch() - Constructor for class org.lenskit.util.BinarySearch
 
bind(Class<T>) - Method in class org.lenskit.config.BindingDSL
 
bind(Class<? extends Annotation>, Class<T>) - Method in class org.lenskit.config.BindingDSL
 
bind(Class<? extends Annotation>, Class<T>) - Method in class org.lenskit.inject.AbstractConfigContext
 
bind(Class<T>) - Method in interface org.lenskit.LenskitConfigContext
 
bind(Class<? extends Annotation>, Class<T>) - Method in interface org.lenskit.LenskitConfigContext
 
bind(Class<T>) - Method in class org.lenskit.LenskitConfiguration
 
bindAny(Class<T>) - Method in class org.lenskit.config.BindingDSL
 
bindAny(Class<T>) - Method in class org.lenskit.inject.AbstractConfigContext
 
bindAny(Class<T>) - Method in interface org.lenskit.LenskitConfigContext
 
BindingDSL - Class in org.lenskit.config
Groovy DSL definition for configuring LensKit recommenders.
BlendWeight - Annotation Type in org.lenskit.hybrid
Blending weight for two-element hybrids.
Blockers - Class in org.lenskit.util.parallel
Utility classes for blocking computations.
Blockers() - Constructor for class org.lenskit.util.parallel.Blockers
 
build() - Method in class org.lenskit.basic.PrecomputedItemScorer.Builder
Construct the mock item scorer.
build() - Method in class org.lenskit.data.dao.EntityCollectionDAOBuilder
 
build() - Method in class org.lenskit.data.dao.EntityQueryBuilder
Build the data query.
build() - Method in class org.lenskit.data.entities.AbstractBeanEntityBuilder
 
build() - Method in class org.lenskit.data.entities.BasicEntityBuilder
 
build() - Method in class org.lenskit.data.entities.EntityBuilder
Build the entity.
build() - Method in class org.lenskit.data.ratings.PreferenceDomainBuilder
 
build() - Method in class org.lenskit.data.ratings.RatingBuilder
 
build() - Method in class org.lenskit.data.store.EntityCollectionBuilder
Build the entity collection.
build() - Method in class org.lenskit.eval.traintest.AlgorithmInstanceBuilder
 
build() - Method in class org.lenskit.eval.traintest.DataSetBuilder
 
build() - Method in class org.lenskit.eval.traintest.TestUserBuilder
 
build() - Method in class org.lenskit.external.ExternalProcessItemScorerBuilder
Build the item scorer.
build(LenskitConfiguration) - Static method in class org.lenskit.LenskitRecommender
build(LenskitConfiguration, DataAccessObject) - Static method in class org.lenskit.LenskitRecommender
Build a recommender from a configuration.
build(LenskitConfiguration) - Static method in class org.lenskit.LenskitRecommenderEngine
Build a LensKit recommender engine from a configuration.
build(LenskitConfiguration, DataAccessObject) - Static method in class org.lenskit.LenskitRecommenderEngine
Build a LensKit recommender engine from a configuration.
build() - Method in class org.lenskit.LenskitRecommenderEngineBuilder
build(DataAccessObject) - Method in class org.lenskit.LenskitRecommenderEngineBuilder
Build the recommender engine.
build() - Method in class org.lenskit.util.keys.KeyedObjectMapBuilder
 
build() - Method in class org.lenskit.util.table.RowBuilder
Build a row as a row object.
build() - Method in class org.lenskit.util.table.TableBuilder
 
build() - Method in class org.lenskit.util.table.TableLayoutBuilder
 
buildDependencySolver() - Method in class org.lenskit.inject.RecommenderGraphBuilder
Build a dependency solver from the provided bindings.
buildDependencySolverImpl(RecommenderGraphBuilder.SolveDirection) - Method in class org.lenskit.inject.RecommenderGraphBuilder
 
buildDependencyUnsolver() - Method in class org.lenskit.inject.RecommenderGraphBuilder
Build a dependency ‘unsolver’ from the provided bindings.
Builder(double, double, RatingMatrix, StoppingCondition) - Constructor for class org.lenskit.baseline.LeastSquaresItemScorer.Builder
Create a new builder.
Builder() - Constructor for class org.lenskit.basic.PrecomputedItemScorer.Builder
 
Builder(RatingVectorPDAO, UserVectorNormalizer, UserVectorNormalizer) - Constructor for class org.lenskit.knn.user.UserSnapshot.Builder
 
buildGraph() - Method in class org.lenskit.inject.RecommenderGraphBuilder
 
buildGraph() - Method in class org.lenskit.LenskitConfiguration
Deprecated.
This shouldn’t be used anymore.
buildList() - Method in class org.lenskit.util.table.RowBuilder
Build the row as a list.
buildMatrix() - Method in class org.lenskit.slopeone.SlopeOneModelDataAccumulator
 
buildObject(Builder<T>, Map<String, Object>) - Static method in class org.lenskit.config.GroovyUtils
Build an object using named arguments.
buildRecommender(DataAccessObject) - Method in class org.lenskit.LenskitRecommenderEngineBuilder
Build the recommender directly, skipping an engine.
buildRecommenderGraph(DataAccessObject) - Method in class org.lenskit.LenskitRecommenderEngineBuilder
Build a recommender graph for this engine builder’s configuration.
buildWithView(Class<E>) - Method in class org.lenskit.data.dao.EntityQueryBuilder
Build the data query with a view type.
BuiltBy - Annotation Type in org.lenskit.data.entities
Identify the builder type for an entity class.
byteSource(File) - Static method in class org.lenskit.util.io.LKFileUtils
Create a file byte source, automatically decompressing based on file name.
byteSource(File, CompressionMode) - Static method in class org.lenskit.util.io.LKFileUtils
Create a file byte source.
byteSource(URL, CompressionMode) - Static method in class org.lenskit.util.io.LKFileUtils
Create a URL-backed byte source.

C

callWithDelegate(Closure<?>, Object) - Static method in class org.lenskit.config.GroovyUtils
Call a configuration block with a specified delegate.
CGUtils - Class in org.lenskit.util.reflect
Code generation utilities.
CGUtils() - Constructor for class org.lenskit.util.reflect.CGUtils
 
checkForPlaceholders(DAGNode<Component, Dependency>, Logger) - Static method in class org.lenskit.inject.GraphtUtils
Check a graph for placeholder satisfactions.
checkRowWidth(int) - Method in class org.lenskit.util.table.writer.AbstractTableWriter
Check the width of a row to see if it is too wide.
ClampingFunction - Interface in org.grouplens.lenskit.transform.clamp
Function for clamping user-item data, typically a preference or rating.
clampValue(double) - Method in class org.lenskit.data.ratings.PreferenceDomain
Clamp a value to this preference domain.
clampVector(Map<Long, Double>) - Method in class org.lenskit.data.ratings.PreferenceDomain
 
ClassDirectory - Class in org.lenskit.util
Directory to look up where classes might be found.
ClassQueries - Class in org.lenskit.util.reflect
Various utility function queries on classes.
ClassQueries() - Constructor for class org.lenskit.util.reflect.ClassQueries
 
clear(AbstractBeanEntityBuilder) - Method in class org.lenskit.data.entities.AbstractBeanEntityBuilder.AttrMethod
 
clear() - Method in class org.lenskit.util.table.RowBuilder
Clear the row builder.
clearAttribute(TypedName<?>) - Method in class org.lenskit.data.entities.AbstractBeanEntityBuilder
 
clearAttribute(TypedName<?>) - Method in class org.lenskit.data.entities.BasicEntityBuilder
 
clearAttribute(TypedName<?>) - Method in class org.lenskit.data.entities.EntityBuilder
Clear an attribute.
clearColumns() - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
Clear the columns configured for this format.
clearExtraAttribute(TypedName<?>) - Method in class org.lenskit.data.entities.AbstractBeanEntityBuilder
Clear an extra attribute.
clearGroup() - Method in class org.lenskit.util.io.GroupingObjectStream
Clear the accumulated group.
clearItemId() - Method in class org.lenskit.data.ratings.RatingBuilder
Clear the item ID.
clearRating() - Method in class org.lenskit.data.ratings.RatingBuilder
Clear the rating value.
clearRoots() - Method in class org.lenskit.LenskitConfiguration
Clear the set of roots, removing all configured and default roots.
clearTimestamp() - Method in class org.lenskit.data.ratings.RatingBuilder
 
clearUserId() - Method in class org.lenskit.data.ratings.RatingBuilder
Clear the user ID.
close() - Method in interface org.lenskit.api.Recommender
Close the recommender.
close() - Method in class org.lenskit.inject.StaticInjector
 
close() - Method in class org.lenskit.LenskitRecommender
 
close() - Method in class org.lenskit.util.io.AbstractObjectStream
No-op implementation of the ObjectStream.close() method.
close() - Method in class org.lenskit.util.io.GroupingObjectStream
 
close() - Method in class org.lenskit.util.io.LineStream
 
close() - Method in interface org.lenskit.util.io.ObjectStream
Close the stream.
close() - Method in class org.lenskit.util.io.StagedWrite
Clean up the staged write, deleting the staging file if it still exists.
close() - Method in class org.lenskit.util.table.TableBuilder
 
close() - Method in class org.lenskit.util.table.writer.CSVWriter
 
close() - Method in class org.lenskit.util.table.writer.DevNullTableWriter
 
close() - Method in class org.lenskit.util.table.writer.MultiplexedTableWriter
 
close() - Method in interface org.lenskit.util.table.writer.TableWriter
Finish the table.
collect(Supplier<R>, BiConsumer<R, ? super T>, BiConsumer<R, R>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
collect(Collector<? super T, A, R>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
CollectionUtils - Class in org.lenskit.util.collections
Various helper methods for working with collections (particularly Fastutil collections).
Column - Interface in org.lenskit.util.table
A view of a column of a table.
column(int) - Method in interface org.lenskit.util.table.Table
Get a column by index.
column(String) - Method in interface org.lenskit.util.table.Table
Get a column by name.
columnIndex(String) - Method in class org.lenskit.util.table.TableLayout
Get the index of a particular column.
combine(Long2DoubleMap, Long2DoubleFunction, double, double) - Static method in class org.lenskit.util.math.Vectors
Add a vector to another (scaled) vector and a scalar.
Command - Interface in org.lenskit.cli
Interface implemented by all CLI subcommands.
commit() - Method in class org.lenskit.util.io.StagedWrite
Complete the staging write by replacing the target file with the staging file.
CommonAttributes - Class in org.lenskit.data.entities
Definitions and utilities for common fields.
CommonTypes - Class in org.lenskit.data.entities
Definitions and utiltiies for common entity types.
CommonTypes() - Constructor for class org.lenskit.data.entities.CommonTypes
 
CompactableLongArrayList - Class in org.lenskit.util.collections
A long array list that can use compact storage.
CompactableLongArrayList() - Constructor for class org.lenskit.util.collections.CompactableLongArrayList
 
CompactableLongArrayList(int) - Constructor for class org.lenskit.util.collections.CompactableLongArrayList
 
CompactableLongArrayList(Collection<? extends Long>) - Constructor for class org.lenskit.util.collections.CompactableLongArrayList
 
comparator() - Method in class org.lenskit.util.keys.KeyedObjectMap
 
comparator() - Method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
 
comparator() - Method in class org.lenskit.util.keys.LongSortedArraySet
 
compileSelector(String) - Static method in class org.lenskit.eval.traintest.recommend.ItemSelector
Compile an item selector from a Groovy expression.
CompressedByteSource - Class in org.lenskit.util.io
A Guava byte source that decompresses data from an underlying source.
CompressedByteSource(ByteSource, String) - Constructor for class org.lenskit.util.io.CompressedByteSource
Construct a compressed byte source.
CompressionMode - Enum in org.lenskit.util.io
 
compute() - Method in class org.lenskit.util.parallel.TaskGroup
 
computeNumToInspect(int, int, int) - Method in class org.lenskit.rerank.AbstractFilteringGreedyRerankStrategy
A method to compute how many of the items in the list to inspect before returning the best item found so far.
computeNumToInspect(int, int, int) - Method in class org.lenskit.rerank.AbstractScoringGreedyRerankStrategy
A method to compute how many of the items in the list to inspect before returning the best item found so far.
concat(Iterable<? extends ObjectStream<? extends T>>) - Static method in class org.lenskit.util.io.ObjectStreams
Concatenate object streams.
concat(ObjectStream<? extends T>...) - Static method in class org.lenskit.util.io.ObjectStreams
Concatenate object streams.
ConditionEvaluator - Interface in org.lenskit.eval.traintest
Measures the performance of a single experimental condition.
ConfigHelpers - Class in org.lenskit.config
LensKit configuration helper utilities.
ConfigurationLoader - Class in org.lenskit.config
Load LensKit configurations using the configuration DSL.
ConfigurationLoader() - Constructor for class org.lenskit.config.ConfigurationLoader
Construct a new configuration loader.
ConfigurationLoader(ClassLoader) - Constructor for class org.lenskit.config.ConfigurationLoader
Construct a new configuration loader.
configure(LenskitConfiguration, Closure<?>) - Static method in class org.lenskit.config.ConfigHelpers
Modify a configuration from a closure.
configure(LenskitConfiguration) - Method in class org.lenskit.config.LenskitConfigScript
Run this script against an existing configuration.
configure() - Method in class org.lenskit.config.LenskitConfigScript
Run this script and produce a new configuration.
configureArguments(ArgumentParser) - Method in interface org.lenskit.cli.Command
Configure the argument parser for this command.
configureArguments(ArgumentParser) - Method in class org.lenskit.cli.commands.Crossfold
 
configureArguments(ArgumentParser) - Method in class org.lenskit.cli.commands.GlobalRecommend
 
configureArguments(ArgumentParser) - Method in class org.lenskit.cli.commands.Graph
 
configureArguments(ArgumentParser) - Method in class org.lenskit.cli.commands.Predict
 
configureArguments(ArgumentParser) - Method in class org.lenskit.cli.commands.Recommend
 
configureArguments(ArgumentParser) - Method in class org.lenskit.cli.commands.RunScript
 
configureArguments(ArgumentParser) - Method in class org.lenskit.cli.commands.Simulate
 
configureArguments(ArgumentParser) - Method in class org.lenskit.cli.commands.TrainModel
 
configureArguments(ArgumentParser) - Method in class org.lenskit.cli.commands.TrainTest
 
configureArguments(ArgumentParser) - Method in class org.lenskit.cli.commands.Version
 
configureArguments(ArgumentParser) - Static method in class org.lenskit.cli.util.InputData
 
configureArguments(ArgumentParser, boolean) - Static method in class org.lenskit.cli.util.InputData
 
configureArguments(ArgumentParser) - Static method in class org.lenskit.cli.util.RecommenderLoader
 
configureArguments(ArgumentParser) - Static method in class org.lenskit.cli.util.ScriptEnvironment
 
configureLogging(Namespace) - Static method in class org.lenskit.cli.util.Logging
 
constantDoubleMap(Set<Long>, double) - Static method in class org.lenskit.util.collections.LongUtils
Create a map that maps a group of items to the same value.
ConstantItemScorer - Class in org.lenskit.basic
Item scorer that returns a fixed score for all items.
ConstantItemScorer(double) - Constructor for class org.lenskit.basic.ConstantItemScorer
Create a new constant item scorer.
ConstantItemScorer.Value - Annotation Type in org.lenskit.basic
The value used by the constant scorer.
consume(int, ObjectStream<T>) - Static method in class org.lenskit.util.io.ObjectStreams
Consume and discard the first n elements from an object stream.
contains(Object) - Method in class org.lenskit.data.entities.AttributeSet
 
contains(Object) - Method in class org.lenskit.results.BasicResultList
 
contains(long) - Method in class org.lenskit.util.keys.LongSortedArraySet
 
containsAll(Collection<?>) - Method in class org.lenskit.results.BasicResultList
 
containsKey(long) - Method in class org.lenskit.results.BasicResultMap
 
containsKey(long) - Method in class org.lenskit.util.keys.FrozenHashKeyIndex
 
containsKey(long) - Method in class org.lenskit.util.keys.HashKeyIndex
 
containsKey(long) - Method in class org.lenskit.util.keys.KeyedObjectMap
 
containsKey(long) - Method in class org.lenskit.util.keys.KeyedObjectMapBuilder
Query whether an object with the specified key has been added.
containsKey(long) - Method in interface org.lenskit.util.keys.KeyIndex
Query whether this index contains a particular key.
containsKey(long) - Method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
 
containsKey(long) - Method in class org.lenskit.util.keys.SortedKeyIndex
Query whether this set contains the specified key in its domain.
containsValue(Object) - Method in class org.lenskit.util.keys.KeyedObjectMap
 
Context() - Constructor for class org.lenskit.eval.traintest.predict.CoveragePredictMetric.Context
 
Context() - Constructor for class org.lenskit.eval.traintest.predict.MAEPredictMetric.Context
 
Context() - Constructor for class org.lenskit.eval.traintest.predict.RMSEPredictMetric.Context
 
Context() - Constructor for class org.lenskit.eval.traintest.recommend.TopNEntropyMetric.Context
 
Context() - Constructor for class org.lenskit.eval.traintest.recommend.TopNPopularityMetric.Context
 
Context(LongSet) - Constructor for class org.lenskit.eval.traintest.recommend.TopNPrecisionRecallMetric.Context
 
copy() - Method in class org.lenskit.data.dao.EntityQueryBuilder
Create a new entity query builder that is a copy of this one.
copy(Rating) - Static method in class org.lenskit.data.ratings.RatingBuilder
Construct a new rating builder that is a copy of a particular rating.
copy() - Method in class org.lenskit.LenskitConfiguration
Convenience method to copy a LensKit configuration.
copy(TableLayout) - Static method in class org.lenskit.util.table.TableLayoutBuilder
Construct a new builder that is a copy of an existing layout.
copyBuilder(Entity) - Static method in class org.lenskit.data.entities.Entities
Create a new entity builder that is initialized with a copy of an entity.
copyBuilder() - Method in class org.lenskit.data.ratings.Rating
Create a new rating builder that will build a copy of this rating.
copyBuilder() - Method in class org.lenskit.eval.traintest.DataSet
Create a new builder initialized with this data set’s values.
copyBuilder(DataSet) - Static method in class org.lenskit.eval.traintest.DataSet
Create a new builder initialized with this data set’s values.
copyBuilder() - Method in class org.lenskit.knn.user.UserUserResult
 
CosineVectorSimilarity - Class in org.lenskit.similarity
Cosine similarity for vectors.
CosineVectorSimilarity() - Constructor for class org.lenskit.similarity.CosineVectorSimilarity
Construct an undamped cosine similarity function.
CosineVectorSimilarity(double) - Constructor for class org.lenskit.similarity.CosineVectorSimilarity
Construct a new cosine similarity function.
count() - Method in interface org.lenskit.data.dao.Query
Get the number of results the query would return.
COUNT - Static variable in class org.lenskit.data.entities.CommonAttributes
A standard count, for events that may use them.
count() - Method in class org.lenskit.util.io.AbstractObjectStream
 
count(ObjectStream<?>) - Static method in class org.lenskit.util.io.ObjectStreams
Deprecated.
Use Stream.collect(Collector).
count(int, int) - Method in class org.lenskit.util.math.MutualInformationAccumulator
Count an occurrence.
CountSumISProvider(EntityType, DataAccessObject) - Constructor for class org.lenskit.data.ratings.InteractionStatistics.CountSumISProvider
Construct the provider.
CountSumRatingVectorPDAO - Class in org.lenskit.data.ratings
Rating vector DAO that sums the count attributes for entities.
CountSumRatingVectorPDAO(DataAccessObject, EntityType) - Constructor for class org.lenskit.data.ratings.CountSumRatingVectorPDAO
Construct a rating vector source.
CoveragePredictMetric - Class in org.lenskit.eval.traintest.predict
Simple evaluator that records user, rating and prediction counts and computes recommender coverage over the queried items.
CoveragePredictMetric() - Constructor for class org.lenskit.eval.traintest.predict.CoveragePredictMetric
 
CoveragePredictMetric.AggregateCoverage - Class in org.lenskit.eval.traintest.predict
 
CoveragePredictMetric.Context - Class in org.lenskit.eval.traintest.predict
 
CoveragePredictMetric.Coverage - Class in org.lenskit.eval.traintest.predict
 
create(Entity...) - Static method in class org.lenskit.data.dao.EntityCollectionDAO
Create a new event collection DAO.
create(Collection<? extends Entity>) - Static method in class org.lenskit.data.dao.EntityCollectionDAO
Create a new event collection DAO.
create(TypedName<? extends Comparable>) - Static method in class org.lenskit.data.dao.SortKey
Create a new sort key in ascending order.
create(TypedName<? extends Comparable>, SortOrder) - Static method in class org.lenskit.data.dao.SortKey
Create a new sort key.
create(TypedName<T>, Comparator<? super T>) - Static method in class org.lenskit.data.dao.SortKey
Create a new sort key with a value comparator.
create(TypedName<T>, T) - Static method in class org.lenskit.data.entities.Attribute
Create a new attribute pair.
create(TypedName<?>...) - Static method in class org.lenskit.data.entities.AttributeSet
Create a new attribute set.
create(List<? extends TypedName<?>>) - Static method in class org.lenskit.data.entities.AttributeSet
Create a new attribute set.
create(EntityType, long) - Static method in class org.lenskit.data.entities.Entities
Create a new bare entity.
create(EntityType, EntityType, TypedName<Long>) - Static method in class org.lenskit.data.entities.EntityDerivation
Create a new entity derivation.
create(String, Class<T>) - Static method in class org.lenskit.data.entities.TypedName
Create a typed name object.
create(String, TypeToken<T>) - Static method in class org.lenskit.data.entities.TypedName
Create a typed name object.
create(String, String) - Static method in class org.lenskit.data.entities.TypedName
Create an typed name from a name and type name.
create(DataAccessObject, EntityType) - Static method in class org.lenskit.data.ratings.InteractionStatistics
Construct a new interaction statistics object.
create(DataAccessObject) - Static method in class org.lenskit.data.ratings.InteractionStatistics
Construct a new interaction statistics object that counts ratings.
create(long, long, double) - Static method in class org.lenskit.data.ratings.Rating
create(long, long, double, long) - Static method in class org.lenskit.data.ratings.Rating
create(DataAccessObject) - Static method in class org.lenskit.data.ratings.RatingSummary
Create a rating summary from a DAO.
create() - Static method in class org.lenskit.inject.NodeInstantiator
Create a node instantiator without a lifecycle manager.
create(LifecycleManager) - Static method in class org.lenskit.inject.NodeInstantiator
Create a node instantiator with a lifecycle manager.
create(DAGNode<Component, Dependency>) - Static method in class org.lenskit.inject.RecommenderInstantiator
 
create(int) - Static method in class org.lenskit.results.ResultAccumulator
Create a new result accumulator.
create(long, double) - Static method in class org.lenskit.results.Results
Create a new result with just and ID and a score.
create(long, T) - Static method in class org.lenskit.util.IdBox
Construct a new ID box.
create(LongList) - Static method in class org.lenskit.util.keys.FrozenHashKeyIndex
Construct a new key index.
create(LongCollection) - Static method in class org.lenskit.util.keys.FrozenHashKeyIndex
Create a new key index.
create() - Static method in class org.lenskit.util.keys.HashKeyIndex
 
create(LongList) - Static method in class org.lenskit.util.keys.HashKeyIndex
Construct a new indexer.
create(Collection<? extends T>) - Static method in class org.lenskit.util.keys.KeyedObjectMap
Create a new keyed object map.
create(Iterable<? extends T>, KeyExtractor<? super T>) - Static method in class org.lenskit.util.keys.KeyedObjectMap
Create a new keyed object map.
create(Long2DoubleMap) - Static method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
Create a new long-to-double sorted array map from another map.
create(Map<Long, Double>) - Static method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
Create a new sorted array map from input data.
create(long...) - Static method in class org.lenskit.util.keys.SortedKeyIndex
Create a key set with some keys.
create(Logger) - Static method in class org.lenskit.util.ProgressLogger
Create a new progress logger.
createConditionEvaluator(AlgorithmInstance, DataSet, RecommenderEngine) - Method in interface org.lenskit.eval.traintest.EvalTask
Set up a measurement of a single recommender.
createConditionEvaluator(AlgorithmInstance, DataSet, RecommenderEngine) - Method in class org.lenskit.eval.traintest.predict.PredictEvalTask
 
createConditionEvaluator(AlgorithmInstance, DataSet, RecommenderEngine) - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
 
createContext(AlgorithmInstance, DataSet, RecommenderEngine) - Method in class org.lenskit.eval.traintest.metrics.Metric
Create the context for an experimental condition (algorithm/data set pair).
createContext(AlgorithmInstance, DataSet, RecommenderEngine) - Method in class org.lenskit.eval.traintest.predict.CoveragePredictMetric
 
createContext(AlgorithmInstance, DataSet, RecommenderEngine) - Method in class org.lenskit.eval.traintest.predict.MAEPredictMetric
 
createContext(AlgorithmInstance, DataSet, RecommenderEngine) - Method in class org.lenskit.eval.traintest.predict.NDCGPredictMetric
 
createContext(AlgorithmInstance, DataSet, RecommenderEngine) - Method in class org.lenskit.eval.traintest.predict.RMSEPredictMetric
 
createContext(AlgorithmInstance, DataSet, RecommenderEngine) - Method in class org.lenskit.eval.traintest.recommend.TopNEntropyMetric
 
createContext(AlgorithmInstance, DataSet, RecommenderEngine) - Method in class org.lenskit.eval.traintest.recommend.TopNLengthMetric
 
createContext(AlgorithmInstance, DataSet, RecommenderEngine) - Method in class org.lenskit.eval.traintest.recommend.TopNMAPMetric
 
createContext(AlgorithmInstance, DataSet, RecommenderEngine) - Method in class org.lenskit.eval.traintest.recommend.TopNMRRMetric
 
createContext(AlgorithmInstance, DataSet, RecommenderEngine) - Method in class org.lenskit.eval.traintest.recommend.TopNNDCGMetric
 
createContext(AlgorithmInstance, DataSet, RecommenderEngine) - Method in class org.lenskit.eval.traintest.recommend.TopNNDPMMetric
 
createContext(AlgorithmInstance, DataSet, RecommenderEngine) - Method in class org.lenskit.eval.traintest.recommend.TopNPopularityMetric
 
createContext(AlgorithmInstance, DataSet, RecommenderEngine) - Method in class org.lenskit.eval.traintest.recommend.TopNPrecisionRecallMetric
 
createFrozen(LongList) - Static method in class org.lenskit.util.keys.HashKeyIndex
Convenience method to create a frozen key index.
createMetric(Class<T>, JsonNode) - Method in class org.lenskit.eval.traintest.metrics.MetricLoaderHelper
 
createMetric(Class<T>, String) - Method in class org.lenskit.eval.traintest.metrics.MetricLoaderHelper
 
createRecommender() - Method in interface org.lenskit.api.RecommenderEngine
Create a new recommender..
createRecommender() - Method in class org.lenskit.LenskitRecommenderEngine
createRecommender(LenskitConfiguration) - Method in class org.lenskit.LenskitRecommenderEngine
Construct a recommender with some additional configuration.
createRecommender(DataAccessObject) - Method in class org.lenskit.LenskitRecommenderEngine
Create a LensKit recommender.
Crossfold - Class in org.lenskit.cli.commands
Pack ratings data into a rating file.
Crossfold() - Constructor for class org.lenskit.cli.commands.Crossfold
 
crossfold(DataAccessObject, CrossfoldOutput, EntityType) - Method in interface org.lenskit.eval.crossfold.CrossfoldMethod
Crossfold an input into some outputs.
Crossfolder - Class in org.lenskit.eval.crossfold
Partitions a data set for cross-validation.
Crossfolder() - Constructor for class org.lenskit.eval.crossfold.Crossfolder
 
Crossfolder(String) - Constructor for class org.lenskit.eval.crossfold.Crossfolder
 
CrossfoldMethod - Interface in org.lenskit.eval.crossfold
The method to be used for crossfolding.
CrossfoldMethods - Class in org.lenskit.eval.crossfold
 
csv(File) - Static method in class org.lenskit.data.output.RatingWriters
Write ratings to a CSV file.
csv(File, boolean) - Static method in class org.lenskit.data.output.RatingWriters
Write ratings to a CSV file.
csvRatingFile(Path) - Static method in class org.lenskit.data.dao.file.StaticDataSource
Create a static data source from a CSV rating file.
csvRatings() - Static method in class org.lenskit.data.dao.file.Formats
Read a CSV file of ratings without a header.
CSVWriter - Class in org.lenskit.util.table.writer
Implementation of TableWriter for CSV files.
CSVWriter(Writer, TableLayout) - Constructor for class org.lenskit.util.table.writer.CSVWriter
Construct a new CSV writer.
CustomClassLoaderObjectInputStream - Class in org.lenskit.util.io
Object input stream that uses a custom class loader.
CustomClassLoaderObjectInputStream(InputStream, ClassLoader) - Constructor for class org.lenskit.util.io.CustomClassLoaderObjectInputStream
 

D

dao - Variable in class org.lenskit.basic.TopNItemBasedItemRecommender
 
dao - Variable in class org.lenskit.basic.TopNItemRecommender
 
dao - Variable in class org.lenskit.data.ratings.AbstractRatingVectorPDAO
 
dao - Variable in class org.lenskit.slopeone.SlopeOneItemScorer
 
DataAccessException - Exception in org.lenskit.data.dao
An error occurred during data access.
DataAccessException() - Constructor for exception org.lenskit.data.dao.DataAccessException
 
DataAccessException(String) - Constructor for exception org.lenskit.data.dao.DataAccessException
 
DataAccessException(String, Throwable) - Constructor for exception org.lenskit.data.dao.DataAccessException
 
DataAccessException(Throwable) - Constructor for exception org.lenskit.data.dao.DataAccessException
 
DataAccessObject - Interface in org.lenskit.data.dao
Interface for accessing data in LensKit.
DataSet - Class in org.lenskit.eval.traintest
A train-test data set.
DataSet(String, StaticDataSource, StaticDataSource, StaticDataSource, UUID, Map<String, Object>, List<EntityType>) - Constructor for class org.lenskit.eval.traintest.DataSet
Create a new data set.
DataSetBuilder - Class in org.lenskit.eval.traintest
Builder for generic train-test data sets.
DataSetBuilder() - Constructor for class org.lenskit.eval.traintest.DataSetBuilder
 
DataSetBuilder(String) - Constructor for class org.lenskit.eval.traintest.DataSetBuilder
 
decreasing(int) - Static method in class org.lenskit.util.collections.SortedListAccumulator
Create a new sorted list accumulator.
decreasing(int, Comparator<? super T>) - Static method in class org.lenskit.util.collections.SortedListAccumulator
Create a new sorted list accumulator that sorts in decreasing order.
deduplicate(long[], int, int) - Static method in class org.lenskit.util.MoreArrays
Remove duplicate elements in the backing store.
deduplicate(int[], int, int) - Static method in class org.lenskit.util.MoreArrays
Remove duplicate elements in the backing store.
DEFAULT_COLUMN - Static variable in class org.lenskit.eval.traintest.predict.NDCGPredictMetric
 
DEFAULT_COLUMN - Static variable in class org.lenskit.eval.traintest.recommend.TopNNDCGMetric
 
DEFAULT_COLUMN - Static variable in class org.lenskit.eval.traintest.recommend.TopNNDPMMetric
 
DEFAULT_EPSILON - Static variable in class org.lenskit.util.math.Scalars
The default epsilon for checking for zero.
defaultDescriber() - Static method in class org.lenskit.util.describe.Descriptions
Get a default describer.
DefaultEntityType - Annotation Type in org.lenskit.data.entities
Indicate the default entity type for an entity view class.
DefaultIETProvider - Class in org.lenskit.data.entities
Provide the CommonTypes.RATING entity type as a default for InteractionEntityType.
DefaultIETProvider() - Constructor for class org.lenskit.data.entities.DefaultIETProvider
 
DefaultItemVectorNormalizer - Class in org.lenskit.transform.normalize
Default item vector normalizer that delegates to a generic VectorNormalizer.
DefaultItemVectorNormalizer() - Constructor for class org.lenskit.transform.normalize.DefaultItemVectorNormalizer
Construct a new item vector normalizer that uses the identity normalization.
DefaultItemVectorNormalizer(VectorNormalizer) - Constructor for class org.lenskit.transform.normalize.DefaultItemVectorNormalizer
Construct a new item vector normalizer wrapping a generic vector normalizer.
DefaultNeighborIterationStrategyProvider - Class in org.lenskit.knn.item.model
Provider to auto-select an appropriate neighbor iteration strategy.
DefaultNeighborIterationStrategyProvider(ItemSimilarity) - Constructor for class org.lenskit.knn.item.model.DefaultNeighborIterationStrategyProvider
Construct a new provider.
DefaultUserVectorNormalizer - Class in org.lenskit.transform.normalize
Default user vector normalizer that delegates to a generic VectorNormalizer.
DefaultUserVectorNormalizer() - Constructor for class org.lenskit.transform.normalize.DefaultUserVectorNormalizer
Construct a new user vector normalizer that uses the identity normalization.
DefaultUserVectorNormalizer(VectorNormalizer) - Constructor for class org.lenskit.transform.normalize.DefaultUserVectorNormalizer
Construct a new user vector normalizer wrapping a generic vector normalizer.
defineClass(ClassNode) - Method in class org.lenskit.util.reflect.DynamicClassLoader
 
delegate - Variable in class org.lenskit.transform.normalize.DefaultItemVectorNormalizer
 
delegate - Variable in class org.lenskit.transform.normalize.DefaultUserVectorNormalizer
 
DelimitedColumnEntityFormat - Class in org.lenskit.data.dao.file
Delimited text column entity format.
DelimitedColumnEntityFormat() - Constructor for class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
 
delimitedRatings(String) - Static method in class org.lenskit.data.dao.file.Formats
Read a delimited text file of ratings without a header.
DEP_EDGE_ORDER - Static variable in class org.lenskit.inject.GraphtUtils
An ordering over dependency edges.
deriveEntities(EntityType, EntityType, TypedName<Long>) - Method in class org.lenskit.data.dao.EntityCollectionDAOBuilder
Derive bare entities from the values in another type of entity.
Describable - Interface in org.lenskit.util.describe
Objects supporting persistent descriptions of their identity.
describe(T, DescriptionWriter) - Method in interface org.lenskit.util.describe.Describer
Write a description of an object to a description writer.
Describer<T> - Interface in org.lenskit.util.describe
Describe an object to a AbstractDescriptionWriter.
describeTo(DescriptionWriter) - Method in class org.lenskit.data.dao.EntityCollectionDAO
 
describeTo(DescriptionWriter) - Method in class org.lenskit.data.dao.file.StaticDataSource
 
describeTo(DescriptionWriter) - Method in class org.lenskit.data.dao.file.TextEntitySource
 
describeTo(DescriptionWriter) - Method in class org.lenskit.data.entities.AbstractEntity
 
describeTo(DescriptionWriter) - Method in interface org.lenskit.util.describe.Describable
Write this class’s description to a sink.
Descriptions - Class in org.lenskit.util.describe
Utility classes for AbstractDescriptionWriters.
DescriptionWriter - Interface in org.lenskit.util.describe
Accumulate a description of an object (or objects).
desireIsTransient(Desire) - Static method in class org.lenskit.inject.GraphtUtils
Determine whether a desire is transient.
DeviationDamping - Annotation Type in org.lenskit.slopeone
Damping parameter for Slope-One deviations.
DevNullTableWriter - Class in org.lenskit.util.table.writer
Table writer that discards all data.
DevNullTableWriter(TableLayout) - Constructor for class org.lenskit.util.table.writer.DevNullTableWriter
 
Discount - Interface in org.lenskit.eval.traintest.metrics
Interface for discounts for rank evaluation.
discount(int) - Method in interface org.lenskit.eval.traintest.metrics.Discount
Compute the discount for a rank.
discount(int) - Method in class org.lenskit.eval.traintest.metrics.ExponentialDiscount
 
discount(int) - Method in class org.lenskit.eval.traintest.metrics.LogDiscount
 
Discounts - Class in org.lenskit.eval.traintest.metrics
Definitions of different discount functions.
dispose() - Method in class org.lenskit.data.ratings.PackedRatingMatrix
Dispose of the internal memory in the packed rating matrix.
distinct() - Method in class org.lenskit.util.io.AbstractObjectStream
 
domain(Map<String, Object>) - Method in class org.lenskit.config.BindingDSL
Make and bind a preference domain.
domain - Variable in class org.lenskit.slopeone.SlopeOneItemScorer
 
dotProduct(Long2DoubleMap, Long2DoubleMap) - Static method in class org.lenskit.util.math.Vectors
Compute the dot product of two maps.
dotProduct(Long2DoubleSortedArrayMap, Long2DoubleSortedArrayMap) - Static method in class org.lenskit.util.math.Vectors
Compute the dot product of two maps (optimized).
DoubleAttrMethod(TypedName<?>) - Constructor for class org.lenskit.data.entities.AbstractBeanEntityBuilder.DoubleAttrMethod
 
DynamicClassLoader - Class in org.lenskit.util.reflect
Dynamic class loader for loading new classes.
DynamicClassLoader() - Constructor for class org.lenskit.util.reflect.DynamicClassLoader
 
DynamicClassLoader(ClassLoader) - Constructor for class org.lenskit.util.reflect.DynamicClassLoader
 
DynamicProvider(ItemScorer, ItemScorer) - Constructor for class org.lenskit.basic.FallbackItemScorer.DynamicProvider
 

E

edgeIsTransient(DAGEdge<?, Dependency>) - Static method in class org.lenskit.inject.GraphtUtils
 
elapsedTime() - Method in class org.lenskit.util.ProgressLogger
Get a string representation of the elapsed time.
empty() - Static method in class org.lenskit.eval.traintest.metrics.MetricResult
Create an empty metric result.
empty() - Static method in class org.lenskit.util.io.ObjectStreams
Create an empty object stream.
empty() - Static method in class org.lenskit.util.keys.SortedKeyIndex
Create an empty key domain.
EngineValidationMode - Enum in org.lenskit
Control when a recommender engine is validated.
enterMonitor(Monitor) - Static method in class org.lenskit.util.parallel.Blockers
Enter a monitor, releasing coordinating with the fork-join pool.
Entities - Class in org.lenskit.data.entities
 
entities() - Method in class org.lenskit.data.store.EntityCollectionBuilder
Get a view of the entities added, for iteration and re-processing.
Entity - Interface in org.lenskit.data.entities
Base class for data entities in LensKit.
ENTITY_ID - Static variable in class org.lenskit.data.entities.CommonAttributes
Attribute indicating the entity ID.
ENTITY_TYPE - Static variable in class org.lenskit.data.ratings.Rating
 
EntityAttribute - Annotation Type in org.lenskit.data.entities
Marker for entity attribute methods.
EntityAttributeClearer - Annotation Type in org.lenskit.data.entities
Marker for entity attribute clear methods on AbstractBeanEntityBuilder subclasses.
EntityAttributeSetter - Annotation Type in org.lenskit.data.entities
Marker for entity attribute setters on AbstractBeanEntityBuilder classes.
EntityBuilder - Class in org.lenskit.data.entities
Base class for entity builders.
EntityBuilder(EntityType) - Constructor for class org.lenskit.data.entities.EntityBuilder
Construct a new entity builder.
EntityCollection - Class in org.lenskit.data.store
A collection of entities of a single type.
EntityCollectionBuilder - Class in org.lenskit.data.store
Created by MichaelEkstrand on 4/18/2017.
EntityCollectionBuilder() - Constructor for class org.lenskit.data.store.EntityCollectionBuilder
 
EntityCollectionDAO - Class in org.lenskit.data.dao
A DAO backed by one or more collections of entities.
EntityCollectionDAOBuilder - Class in org.lenskit.data.dao
Builder for entity collection DAOs.
EntityCollectionDAOBuilder() - Constructor for class org.lenskit.data.dao.EntityCollectionDAOBuilder
 
EntityCountRatingVectorPDAO - Class in org.lenskit.data.ratings
Rating vector DAO that counts entities appearing for a user.
EntityCountRatingVectorPDAO(DataAccessObject, EntityType) - Constructor for class org.lenskit.data.ratings.EntityCountRatingVectorPDAO
Construct a rating vector source.
EntityDefaults - Class in org.lenskit.data.entities
Descriptor for the default characteristics of an entity type.
EntityDefaults(EntityType, List<TypedName<?>>) - Constructor for class org.lenskit.data.entities.EntityDefaults
Construct a set of entity defaults where all common attributes are default columns.
EntityDefaults(EntityType, Collection<TypedName<?>>, List<TypedName<?>>, Class<? extends EntityBuilder>, List<EntityDerivation>) - Constructor for class org.lenskit.data.entities.EntityDefaults
Construct a set of entity defaults.
EntityDerivation - Class in org.lenskit.data.entities
Describe a derivation of one entity from another.
EntityFactory - Class in org.lenskit.data.entities
Class for quickly building common entity types.
EntityFactory() - Constructor for class org.lenskit.data.entities.EntityFactory
 
EntityFormat - Interface in org.lenskit.data.dao.file
Entity format interface.
EntityQuery<E extends Entity> - Class in org.lenskit.data.dao
Representation of a query.
EntityQueryBuilder - Class in org.lenskit.data.dao
Data query builder exposing a fluent interface.
EntityQueryBuilder(EntityType) - Constructor for class org.lenskit.data.dao.EntityQueryBuilder
Construct a new data query builder.
EntitySource - Interface in org.lenskit.data.dao.file
Interface for entity providers.
EntitySource.Layout - Class in org.lenskit.data.dao.file
The layout of an entity source.
EntitySources - Class in org.lenskit.data.dao.file
Utility classes for loading and working with entity sources.
EntitySources() - Constructor for class org.lenskit.data.dao.file.EntitySources
 
EntityType - Class in org.lenskit.data.entities
A type for an entity.
entityTypeNameFunction() - Static method in class org.lenskit.data.entities.Entities
Function that returns entity types’ names.
entropy - Variable in class org.lenskit.eval.traintest.recommend.TopNEntropyMetric.EntropyResult
 
EntropyResult(double) - Constructor for class org.lenskit.eval.traintest.recommend.TopNEntropyMetric.EntropyResult
 
entrySet() - Method in class org.lenskit.results.BasicResultMap
 
equals(Object) - Method in class org.lenskit.basic.FallbackResult
 
equals(Object) - Method in class org.lenskit.data.dao.file.EntitySource.Layout
 
equals(Object) - Method in class org.lenskit.data.dao.SortKey
 
equals(Object) - Method in class org.lenskit.data.entities.AbstractEntity
 
equals(Object) - Method in class org.lenskit.data.entities.Attribute
 
equals(Object) - Method in class org.lenskit.data.ratings.PreferenceDomain
 
equals(Object) - Method in class org.lenskit.data.ratings.Rating
 
equals(Object) - Method in class org.lenskit.eval.crossfold.FractionHistoryPartitionMethod
 
equals(Object) - Method in class org.lenskit.eval.crossfold.HoldoutNHistoryPartitionMethod
 
equals(Object) - Method in class org.lenskit.eval.crossfold.RetainNHistoryPartitionMethod
 
equals(Object) - Method in class org.lenskit.eval.traintest.metrics.ExponentialDiscount
 
equals(Object) - Method in class org.lenskit.eval.traintest.metrics.LogDiscount
 
equals(Object) - Method in class org.lenskit.inject.PlaceholderSatisfaction
 
equals(Object) - Method in class org.lenskit.knn.item.ItemItemResult
 
equals(Object) - Method in class org.lenskit.knn.user.UserUserResult
 
equals(Object) - Method in class org.lenskit.results.BasicResult
Compare this result with another for equality.
equals(Object) - Method in class org.lenskit.results.BasicResultList
 
equals(Object) - Method in class org.lenskit.results.RescoredResult
 
equals(Object) - Method in class org.lenskit.transform.normalize.IdentityVectorNormalizer
 
equals(Object) - Method in class org.lenskit.util.IdBox
 
equals(Object) - Method in class org.lenskit.util.Text
 
ErrorThresholdStoppingCondition - Class in org.grouplens.lenskit.iterative
Stop when absolute value of the error drops below a threshold.
ErrorThresholdStoppingCondition(double, int) - Constructor for class org.grouplens.lenskit.iterative.ErrorThresholdStoppingCondition
Construct a new error threshold stop.
ErrorThresholdStoppingCondition(double) - Constructor for class org.grouplens.lenskit.iterative.ErrorThresholdStoppingCondition
Create a new threshold stop with no minimum iteration count.
euclideanNorm(Long2DoubleMap) - Static method in class org.lenskit.util.math.Vectors
Compute the Euclidean norm of the values of the map.
EvalTask - Interface in org.lenskit.eval.traintest
Interface for evaluation tasks.
EvaluationException - Exception in org.lenskit.eval.traintest
Exception thrown by evaluation actions.
EvaluationException() - Constructor for exception org.lenskit.eval.traintest.EvaluationException
 
EvaluationException(String) - Constructor for exception org.lenskit.eval.traintest.EvaluationException
 
EvaluationException(String, Throwable) - Constructor for exception org.lenskit.eval.traintest.EvaluationException
 
EvaluationException(Throwable) - Constructor for exception org.lenskit.eval.traintest.EvaluationException
 
exclude(Class<?>) - Method in interface org.lenskit.LenskitBinding
 
execute(Namespace) - Method in interface org.lenskit.cli.Command
Execute the command.
execute(Namespace) - Method in class org.lenskit.cli.commands.Crossfold
 
execute(Namespace) - Method in class org.lenskit.cli.commands.GlobalRecommend
 
execute(Namespace) - Method in class org.lenskit.cli.commands.Graph
 
execute(Namespace) - Method in class org.lenskit.cli.commands.Predict
 
execute(Namespace) - Method in class org.lenskit.cli.commands.Recommend
 
execute(Namespace) - Method in class org.lenskit.cli.commands.RunScript
 
execute(Namespace) - Method in class org.lenskit.cli.commands.Simulate
 
execute(Namespace) - Method in class org.lenskit.cli.commands.TrainModel
 
execute(Namespace) - Method in class org.lenskit.cli.commands.TrainTest
 
execute(Namespace) - Method in class org.lenskit.cli.commands.Version
 
execute() - Method in class org.lenskit.eval.crossfold.Crossfolder
Run the crossfold command.
execute() - Method in class org.lenskit.eval.temporal.TemporalEvaluator
During the evaluation, it will replay the ratings, try to predict each one, and write the prediction, TARMSE and the rating to the output file
execute() - Method in class org.lenskit.eval.traintest.SimpleEvaluator
If this is called more than once it will call of these commands again and most likely throw an exception.
execute() - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Run the experiment.
exp(double) - Static method in class org.lenskit.eval.traintest.metrics.Discounts
Create a new exponential (half-life) discount.
ExperimentOutputLayout - Class in org.lenskit.eval.traintest
Manages the layouts for experiment output tables.
ExperimentOutputLayout(Set<String>, Set<String>) - Constructor for class org.lenskit.eval.traintest.ExperimentOutputLayout
 
ExponentialDiscount - Class in org.lenskit.eval.traintest.metrics
Exponential (half-life) discounting.
ExponentialDiscount(double) - Constructor for class org.lenskit.eval.traintest.metrics.ExponentialDiscount
Construct an exponential discount.
extend() - Method in class org.lenskit.eval.traintest.AlgorithmInstanceBuilder
Create a new builder that inherits from this builder.
ExternalProcessException - Exception in org.lenskit.external
Error thrown when there is an error in an external process.
ExternalProcessException() - Constructor for exception org.lenskit.external.ExternalProcessException
Construct a new external process exception.
ExternalProcessException(String) - Constructor for exception org.lenskit.external.ExternalProcessException
Construct a new external process exception with a message.
ExternalProcessException(String, Throwable) - Constructor for exception org.lenskit.external.ExternalProcessException
Construct a new external process exception with a message and cause.
ExternalProcessException(Throwable) - Constructor for exception org.lenskit.external.ExternalProcessException
Construct a new external process exception with a cause.
ExternalProcessItemScorerBuilder - Class in org.lenskit.external
Build a PrecomputedItemScorer using an external process.
ExternalProcessItemScorerBuilder() - Constructor for class org.lenskit.external.ExternalProcessItemScorerBuilder
 

F

fail(Throwable) - Method in class org.lenskit.util.monitor.TrackedJob
Record the job as being failed.
FallbackItemScorer - Class in org.lenskit.basic
Item scorer that combines a primary scorer with a baseline.
FallbackItemScorer(ItemScorer, ItemScorer) - Constructor for class org.lenskit.basic.FallbackItemScorer
 
FallbackItemScorer.DynamicProvider - Class in org.lenskit.basic
An item scorer provider for opportunistically creating fallback scorers.
FallbackResult - Class in org.lenskit.basic
Result from a FallbackItemScorer.
fastEntries(Long2DoubleMap) - Static method in class org.lenskit.util.math.Vectors
 
fastEntryIterator(Long2DoubleMap) - Static method in class org.lenskit.util.math.Vectors
Get an iterator over the entries of the map.
filter(Predicate<? super T>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
filter(ObjectStream<T>, Predicate<? super T>) - Static method in class org.lenskit.util.io.ObjectStreams
Filter an object stream.
filter(ObjectStream<?>, Class<T>) - Static method in class org.lenskit.util.io.ObjectStreams
Filter an object stream to only contain elements of type type.
filter(String, Object) - Method in interface org.lenskit.util.table.Table
 
finalize() - Method in class org.lenskit.inject.StaticInjector
 
find(TypedName<T>, T) - Method in class org.lenskit.data.store.EntityCollection
Find entities by attribute.
find(Attribute<T>) - Method in class org.lenskit.data.store.EntityCollection
Find entities with an attribute.
find(String, Object) - Method in class org.lenskit.data.store.EntityCollection
Find entities by attribute.
findAny() - Method in class org.lenskit.util.io.AbstractObjectStream
 
findClass(String) - Method in class org.lenskit.eval.traintest.metrics.MetricLoaderHelper
Look up the class implementing a metric by name.
findFirst() - Method in class org.lenskit.util.io.AbstractObjectStream
 
findLowerBound(long) - Method in class org.lenskit.util.keys.SortedKeyIndex
Get the lower bound, the first index whose key is greater than or equal to the specified key.
findNeighbors(long, LongSet) - Method in class org.lenskit.knn.user.UserUserItemScorer
Find the neighbors for a user with respect to a collection of items.
findSatisfyingNode(DAGNode<Component, Dependency>, QualifierMatcher, Class<?>) - Static method in class org.lenskit.inject.GraphtUtils
Find a node with a satisfaction for a specified type.
findUpperBound(long) - Method in class org.lenskit.util.keys.SortedKeyIndex
Get the upper bound, the first index whose key is greater than the specified key.
finish() - Method in interface org.lenskit.eval.traintest.ConditionEvaluator
Finish measuring the performance for the algorithm and data set.
finish() - Method in interface org.lenskit.eval.traintest.EvalTask
Finalize this eval task.
finish() - Method in class org.lenskit.eval.traintest.predict.MAEPredictMetric.Context
 
finish() - Method in class org.lenskit.eval.traintest.predict.PredictEvalTask
 
finish() - Method in class org.lenskit.eval.traintest.predict.RMSEPredictMetric.Context
 
finish() - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
 
finish() - Method in class org.lenskit.eval.traintest.recommend.TopNEntropyMetric.Context
 
finish() - Method in class org.lenskit.eval.traintest.recommend.TopNPrecisionRecallMetric.Context
 
finish() - Method in class org.lenskit.results.ResultAccumulator
Finish accumulating and return the accumulated results.
finish() - Method in class org.lenskit.util.collections.SortedListAccumulator
Finish accumulating and return the accumulated items.
finish() - Method in class org.lenskit.util.describe.HashDescriptionWriter
Finish the description, producing a hash code.
finish() - Method in class org.lenskit.util.describe.StringDescriptionWriter
Get the accumulated string description.
finish() - Method in class org.lenskit.util.monitor.TrackedJob
Record the job as being finished.
finish() - Method in class org.lenskit.util.ProgressLogger
Log that the process has finished.
finishGroup() - Method in class org.lenskit.util.io.GroupingObjectStream
Finish the current group and return it.
finishList() - Method in interface org.lenskit.util.collections.Long2DoubleAccumulator
Accumulate the scored items into a list.
finishList() - Method in class org.lenskit.util.collections.TopNLong2DoubleAccumulator
 
finishList() - Method in class org.lenskit.util.collections.UnlimitedLong2DoubleAccumulator
 
finishMap() - Method in class org.lenskit.results.ResultAccumulator
 
finishMap() - Method in interface org.lenskit.util.collections.Long2DoubleAccumulator
Accumulate the scores into a map and reset the accumulator.
finishMap() - Method in class org.lenskit.util.collections.TopNLong2DoubleAccumulator
 
finishMap() - Method in class org.lenskit.util.collections.UnlimitedLong2DoubleAccumulator
 
finishSet() - Method in interface org.lenskit.util.collections.Long2DoubleAccumulator
Accumulate the scored items into a set.
finishSet() - Method in class org.lenskit.util.collections.TopNLong2DoubleAccumulator
 
finishSet() - Method in class org.lenskit.util.collections.UnlimitedLong2DoubleAccumulator
 
finishStep() - Method in class org.lenskit.util.monitor.TrackedJob
Mark a step as finished.
finishSteps(int) - Method in class org.lenskit.util.monitor.TrackedJob
Mark steps as finished.
firstLong() - Method in class org.lenskit.util.keys.LongSortedArraySet
 
firstLongKey() - Method in class org.lenskit.util.keys.KeyedObjectMap
 
firstLongKey() - Method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
 
fixed(LongSet) - Static method in class org.lenskit.eval.traintest.recommend.ItemSelector
Get an item selector that returns a fixed set of items.
fixed(long...) - Static method in class org.lenskit.eval.traintest.recommend.ItemSelector
 
flatMap(Function<? super T, ? extends Stream<? extends R>>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
flatMapToDouble(Function<? super T, ? extends DoubleStream>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
flatMapToInt(Function<? super T, ? extends IntStream>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
flatMapToLong(Function<? super T, ? extends LongStream>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
flush() - Method in class org.lenskit.util.table.TableBuilder
 
flush() - Method in class org.lenskit.util.table.writer.CSVWriter
 
flush() - Method in class org.lenskit.util.table.writer.DevNullTableWriter
 
flush() - Method in class org.lenskit.util.table.writer.MultiplexedTableWriter
 
flush() - Method in interface org.lenskit.util.table.writer.TableWriter
Flush the writer, causing all currently-written rows to be flushed to output.
flyweightMap(LongSet, LongToDoubleFunction) - Static method in class org.lenskit.util.collections.LongUtils
Create a flyweight vector with a key set and value function.
forClassLoader(ClassLoader) - Static method in class org.lenskit.util.ClassDirectory
Get a class directory for a specific class loader.
forConfig(LenskitConfiguration) - Static method in class org.lenskit.inject.RecommenderInstantiator
Deprecated.
forCurrentClassLoader() - Static method in class org.lenskit.util.ClassDirectory
Get a class directory for the current thread’s class loader.
forEach(Consumer<? super T>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
forEach(Consumer<? super T>) - Method in interface org.lenskit.util.io.ObjectStream
 
forEachOrdered(Consumer<? super T>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
forList(E, List<? extends E>) - Static method in class org.lenskit.util.BinarySearch
Create a search over a list.
formatElapsedTime(double) - Static method in class org.lenskit.util.ProgressLogger
Format elapsed time.
Formats - Class in org.lenskit.data.dao.file
Utility methods relating to entity formats.
Formats() - Constructor for class org.lenskit.data.dao.file.Formats
 
forName(String) - Static method in class org.lenskit.data.entities.EntityType
Get the entity type for a name.
FractionHistoryPartitionMethod - Class in org.lenskit.eval.crossfold
Partition a list by fraction.
FractionHistoryPartitionMethod(double) - Constructor for class org.lenskit.eval.crossfold.FractionHistoryPartitionMethod
The fraction to hold out (put in the second partition).
fromArray(KeyIndex, double[]) - Static method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
Create a map from an array and index mapping.
fromArray(KeyIndex, DoubleList) - Static method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
Create a map from an array and index mapping.
fromCollection(Collection<Long>) - Static method in class org.lenskit.util.keys.SortedKeyIndex
Create a key set from a collection of keys.
fromConstructor(Class<? extends T>, Object...) - Static method in class org.lenskit.util.reflect.InstanceFactory
Instance factory calling a constructor with arguments.
fromCSV(BufferedReader) - Static method in class org.lenskit.basic.PrecomputedItemScorer
Read predictions from a CSV file.
fromEntry(Map.Entry<Long, Double>) - Static method in class org.lenskit.results.Results
Convert a map entry to a basic result.
fromEntryFunction() - Static method in class org.lenskit.results.Results
Function to convert map entries to basic results.
fromJSON(String, ClassLoader, JsonNode) - Static method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
 
fromJSON(JsonNode, URI) - Static method in class org.lenskit.data.dao.file.EntitySources
Configure an entity source from JSON data.
fromJSON(String, ClassLoader, JsonNode) - Static method in class org.lenskit.data.dao.file.JSONEntityFormat
 
fromJSON(JsonNode, URI) - Static method in class org.lenskit.data.dao.file.StaticDataSource
Parse a JSON description of a data set.
fromJSON(String, JsonNode, URI) - Static method in class org.lenskit.data.dao.file.StaticDataSource
Parse a JSON description of a data set.
fromJSON(JsonNode) - Static method in class org.lenskit.data.entities.EntityDerivation
Parse an entity derivation from a JSON node.
fromJSON(JsonNode, URI) - Static method in class org.lenskit.eval.traintest.DataSet
Load one or more data sets from JSON data.
fromJSON(JsonNode, URI) - Static method in class org.lenskit.eval.traintest.predict.PredictEvalTask
Create a predict eval task from a JSON/YAML file.
fromJSON(JsonNode, URI) - Static method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
Parse a recommend task from JSON.
fromList(Collection<? extends Entity>) - Static method in class org.lenskit.data.dao.file.StaticDataSource
Create a static data source from a list/collection.
fromMap(Map<String, ?>) - Static method in class org.lenskit.eval.traintest.metrics.MetricResult
Create an empty metric result.
fromNullable(MetricResult) - Static method in class org.lenskit.eval.traintest.metrics.MetricResult
Convert a null result to an empty result.
fromString(String) - Static method in class org.lenskit.data.ratings.PreferenceDomain
Parse a preference domain from a string specification.
fromString(String) - Static method in enum org.lenskit.eval.crossfold.SortOrder
 
fromString(String) - Static method in class org.lenskit.util.Text
Create a new Text instance from a string.
frozenCopy() - Method in class org.lenskit.util.keys.FrozenHashKeyIndex
 
frozenCopy() - Method in class org.lenskit.util.keys.HashKeyIndex
Make an immutable copy of this index mapping.
frozenCopy() - Method in interface org.lenskit.util.keys.KeyIndex
Get a frozen copy of this key index.
frozenCopy() - Method in class org.lenskit.util.keys.SortedKeyIndex
 
FrozenHashKeyIndex - Class in org.lenskit.util.keys
Immutable key index backed by a hash table.
frozenMap(Map<Long, Double>) - Static method in class org.lenskit.util.collections.LongUtils
Create a frozen long-to-double map.
frozenSet(Collection<Long>) - Static method in class org.lenskit.util.collections.LongUtils
Create a frozen long set.

G

get(long) - Method in interface org.lenskit.api.ResultMap
Get a result without boxing the key.
get() - Method in class org.lenskit.baseline.LeastSquaresItemScorer.Builder
 
get() - Method in class org.lenskit.basic.FallbackItemScorer.DynamicProvider
 
get() - Method in class org.lenskit.bias.GlobalAverageRatingBiasModelProvider
 
get() - Method in class org.lenskit.bias.ItemAverageRatingBiasModelProvider
 
get() - Method in class org.lenskit.bias.UserAverageRatingBiasModelProvider
 
get() - Method in class org.lenskit.bias.UserItemAverageRatingBiasModelProvider
 
get() - Method in class org.lenskit.data.dao.file.StaticDataSource
Get the data access object.
get() - Method in class org.lenskit.data.dao.GroupedQuery
Get the grouped entities as a list of groups.
get() - Method in interface org.lenskit.data.dao.Query
Get the results of this query as a list.
get(AbstractBeanEntity) - Method in class org.lenskit.data.entities.AbstractBeanEntity.BeanAttributeGetter
 
get(TypedName<T>) - Method in class org.lenskit.data.entities.AbstractEntity
Get the value of an attribute.
get(String) - Method in class org.lenskit.data.entities.AbstractEntity
Get the value of an attribute by name.
get() - Method in class org.lenskit.data.entities.DefaultIETProvider
 
get(TypedName<T>) - Method in interface org.lenskit.data.entities.Entity
Get the value of an attribute.
get(String) - Method in interface org.lenskit.data.entities.Entity
Get the value of an attribute by name.
get() - Method in class org.lenskit.data.ratings.InteractionStatistics.CountSumISProvider
 
get() - Method in class org.lenskit.data.ratings.InteractionStatistics.ISProvider
 
get() - Method in class org.lenskit.data.ratings.PackedRatingMatrixProvider
 
get() - Method in class org.lenskit.data.ratings.RatingSummaryProvider
 
get() - Method in class org.lenskit.external.ExternalProcessItemScorerBuilder
 
get() - Method in class org.lenskit.knn.item.model.DefaultNeighborIterationStrategyProvider
 
get() - Method in class org.lenskit.knn.item.model.ItemItemBuildContextProvider
Constructs and returns a new ItemItemBuildContext.
get() - Method in class org.lenskit.knn.item.model.ItemItemModelProvider
 
get() - Method in class org.lenskit.knn.item.model.NormalizingItemItemModelProvider
 
get() - Method in class org.lenskit.knn.item.model.StandardVectorTruncatorProvider
 
get() - Method in class org.lenskit.knn.user.UserSnapshot.Builder
 
get(Class<T>) - Method in class org.lenskit.LenskitRecommender
Get a particular component from the recommender session.
get(Class<? extends Annotation>, Class<T>) - Method in class org.lenskit.LenskitRecommender
Get a particular qualified component from the recommender session.
get(Annotation, Class<T>) - Method in class org.lenskit.LenskitRecommender
Get a particular qualified component from the recommender session.
get(int) - Method in class org.lenskit.results.BasicResultList
 
get(long) - Method in class org.lenskit.results.BasicResultMap
 
get() - Method in class org.lenskit.slopeone.SlopeOneModelProvider
Constructs and returns a SlopeOneModel.
get() - Method in class org.lenskit.transform.quantize.PreferenceDomainQuantizer.AutoProvider
 
get(long) - Method in class org.lenskit.util.keys.KeyedObjectMap
 
get(long) - Method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
 
get() - Method in class org.lenskit.util.RandomGeneratorProvider
 
get() - Method in class org.lenskit.util.RandomProvider
 
getAggregateColumnLabels() - Method in class org.lenskit.eval.traintest.metrics.Metric
Get labels for the aggregate columns output by this metric.
getAggregateMeasurements(X) - Method in class org.lenskit.eval.traintest.metrics.Metric
Get the aggregate results from an accumulator.
getAggregateMeasurements(CoveragePredictMetric.Context) - Method in class org.lenskit.eval.traintest.predict.CoveragePredictMetric
 
getAggregateMeasurements(MAEPredictMetric.Context) - Method in class org.lenskit.eval.traintest.predict.MAEPredictMetric
 
getAggregateMeasurements(Mean) - Method in class org.lenskit.eval.traintest.predict.NDCGPredictMetric
 
getAggregateMeasurements(RMSEPredictMetric.Context) - Method in class org.lenskit.eval.traintest.predict.RMSEPredictMetric
 
getAggregateMeasurements(TopNEntropyMetric.Context) - Method in class org.lenskit.eval.traintest.recommend.TopNEntropyMetric
 
getAggregateMeasurements(Mean) - Method in class org.lenskit.eval.traintest.recommend.TopNLengthMetric
 
getAggregateMeasurements(TopNMAPMetric.Context) - Method in class org.lenskit.eval.traintest.recommend.TopNMAPMetric
 
getAggregateMeasurements(TopNMRRMetric.Context) - Method in class org.lenskit.eval.traintest.recommend.TopNMRRMetric
 
getAggregateMeasurements(Mean) - Method in class org.lenskit.eval.traintest.recommend.TopNNDCGMetric
 
getAggregateMeasurements(Mean) - Method in class org.lenskit.eval.traintest.recommend.TopNNDPMMetric
 
getAggregateMeasurements(TopNPopularityMetric.Context) - Method in class org.lenskit.eval.traintest.recommend.TopNPopularityMetric
 
getAggregateMeasurements(TopNPrecisionRecallMetric.Context) - Method in class org.lenskit.eval.traintest.recommend.TopNPrecisionRecallMetric
 
getAlgorithmColumn(String) - Method in class org.lenskit.eval.traintest.ExperimentOutputLayout
 
getAlgorithms() - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Get the algorithm instances.
getAllAttributes() - Method in class org.lenskit.eval.traintest.AlgorithmInstanceBuilder
Get all attributes of this algorithm instance.
getAllItems() - Method in class org.lenskit.eval.traintest.DataSet
 
getAllItems() - Method in class org.lenskit.eval.traintest.recommend.ItemSelector.ItemSelectScript
Get the set of all items.
getAllMetrics() - Method in class org.lenskit.eval.traintest.predict.PredictEvalTask
Get the list of all metrics.
getAllMetrics() - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
Get the list of all metrics.
getAttribute() - Method in class org.lenskit.data.dao.SortKey
Get the attribute to sort by.
getAttribute(int) - Method in class org.lenskit.data.entities.AttributeSet
Get the type name for an attribute by index.
getAttribute() - Method in class org.lenskit.data.entities.EntityDerivation
Get the source attribute for the derivation.
getAttributeDefaults(String) - Method in class org.lenskit.data.entities.EntityDefaults
Look up the default attribute descriptor (typed name) for a particular attribute name.
getAttributeNames() - Method in class org.lenskit.data.entities.AbstractBeanEntity
 
getAttributeNames() - Method in class org.lenskit.data.entities.AbstractEntity
Get the names of the attributes in this entity.
getAttributeNames() - Method in interface org.lenskit.data.entities.Entity
Get the names of the attributes in this entity.
getAttributes() - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
 
getAttributes() - Method in interface org.lenskit.data.dao.file.EntityFormat
Get the set of attributes entities from format may have, if known.
getAttributes() - Method in class org.lenskit.data.dao.file.EntitySource.Layout
 
getAttributes() - Method in class org.lenskit.data.dao.file.JSONEntityFormat
 
getAttributes() - Method in class org.lenskit.data.entities.AbstractBeanEntity
 
getAttributes() - Method in class org.lenskit.data.entities.AbstractEntity
Get the attribute-value pairs.
getAttributes() - Method in interface org.lenskit.data.entities.Entity
Get the attribute-value pairs.
getAttributes() - Method in class org.lenskit.eval.traintest.AlgorithmInstance
Get the attributes of this algorithm.
getAttributes() - Method in class org.lenskit.eval.traintest.AlgorithmInstanceBuilder
Get the attributes of this algorithm instance.
getAttributes() - Method in class org.lenskit.eval.traintest.DataSet
Get the data set attributes (used for identification in output).
getAttributes() - Method in class org.lenskit.eval.traintest.DataSetBuilder
 
getAttributes() - Method in class org.lenskit.eval.traintest.MultiAlgorithmDSL
 
getBaseId() - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
Get the base entity ID for this source.
getBaselineScorer() - Method in class org.lenskit.basic.FallbackItemScorer
Get the baseline scorer from this item scorer.
getBaseURI() - Method in class org.lenskit.config.LenskitConfigDSL
Get the base URL for this configuration.
getBindings() - Method in class org.lenskit.LenskitConfiguration
 
getBoolean(AbstractBeanEntity) - Method in class org.lenskit.data.entities.AbstractBeanEntity.BeanAttributeGetter
 
getBoolean(TypedName<Boolean>) - Method in class org.lenskit.data.entities.AbstractBeanEntity
 
getBoolean(TypedName<Boolean>) - Method in class org.lenskit.data.entities.AbstractEntity
Get the value of a attr that contains a boolean.
getBoolean(TypedName<Boolean>) - Method in interface org.lenskit.data.entities.Entity
Get the value of a attr that contains a boolean.
getCache() - Method in class org.lenskit.basic.SimpleCachingItemScorer
 
getCacheDirectory() - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Get the cache directory for model components.
getCandidateNeighbors(long, LongSet) - Method in class org.lenskit.knn.user.LiveNeighborFinder
 
getCandidateNeighbors(long, LongSet) - Method in interface org.lenskit.knn.user.NeighborFinder
Get potential neighbors for a particular user.
getCandidateNeighbors(long, LongSet) - Method in class org.lenskit.knn.user.SnapshotNeighborFinder
 
getCandidateSelector() - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
Get the active candidate selector.
getChildCount() - Method in class org.lenskit.util.monitor.TrackedJob
Get the number of children.
getChildrenFinished() - Method in class org.lenskit.util.monitor.TrackedJob
Get the number of finished children.
getChildrenRunning() - Method in class org.lenskit.util.monitor.TrackedJob
Get the number of running children.
getClassLoader() - Method in class org.lenskit.cli.util.ScriptEnvironment
Get the class loader for this script environment.
getClassLoader() - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Get the class loader for this experiment.
getClassLoader() - Method in class org.lenskit.LenskitRecommenderEngineBuilder
Get the class loader this builder will use.
getClassLoader() - Method in class org.lenskit.LenskitRecommenderEngineLoader
Get the configured class loader.
getClasspath() - Method in class org.lenskit.cli.util.ScriptEnvironment
Get the classpath.
getColumnCount() - Method in class org.lenskit.util.table.TableLayout
Get the number of columns in this layout.
getColumnCount() - Method in class org.lenskit.util.table.TableLayoutBuilder
Get the number of columns currently in the layout.
getColumnLabels() - Method in class org.lenskit.eval.traintest.metrics.Metric
Get the labels for the per-user or per-result columns output by this metric.
getColumnList() - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
Get the list of columns, if DelimitedColumnEntityFormat.addColumn(TypedName) has been used.
getColumnName() - Method in class org.lenskit.eval.traintest.predict.NDCGPredictMetric.Spec
 
getColumnName() - Method in class org.lenskit.eval.traintest.recommend.TopNNDCGMetric.Spec
 
getColumnName() - Method in class org.lenskit.eval.traintest.recommend.TopNNDPMMetric.Spec
 
getColumns(Class<? extends TypedMetricResult>) - Static method in class org.lenskit.eval.traintest.metrics.TypedMetricResult
Get the columns for a typed metric result class.
getColumns(Class<? extends TypedMetricResult>, String) - Static method in class org.lenskit.eval.traintest.metrics.TypedMetricResult
Get the columns for a typed metric result class.
getColumns() - Method in class org.lenskit.util.table.TableLayout
Get the headers of the columns.
getCommonAttributes() - Method in class org.lenskit.data.entities.EntityDefaults
Get the set of attributes that can typically be associated with this entity type.
getComponent(Class<T>) - Method in class org.lenskit.LenskitRecommenderEngine
Get the component of a particular type, if one is already instantiated.
getCompressorName() - Method in enum org.lenskit.util.io.CompressionMode
 
getConditionColumnCount() - Method in class org.lenskit.eval.traintest.ExperimentOutputLayout
 
getConditionLayout() - Method in class org.lenskit.eval.traintest.ExperimentOutputLayout
 
getConfig() - Method in class org.lenskit.config.LenskitConfigDSL
Get the LensKit configuration being configured.
getConfig() - Method in class org.lenskit.config.LenskitConfigScript
 
getConfig() - Method in class org.lenskit.eval.traintest.AlgorithmInstanceBuilder
Get the LensKit configuration.
getConfigFiles() - Method in class org.lenskit.cli.util.RecommenderLoader
 
getConfigLoader() - Method in class org.lenskit.config.LenskitConfigDSL
Get the configuration loader associated with this DSL (used to power the #include(java.io.File) method).
getConfiguration() - Method in class org.lenskit.cli.util.InputData
 
getConfigurations() - Method in class org.lenskit.eval.traintest.AlgorithmInstance
Get the recommender configurations.
getConfigurations() - Method in class org.lenskit.eval.traintest.AlgorithmInstanceBuilder
Get the list of configurations that comprise this instance.
getContext() - Method in class org.lenskit.config.BindingDSL
Get the LensKit context.
getContinueAfterError() - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Query whether this task will continue in the face of an error.
getContinueAfterError() - Method in class org.lenskit.util.parallel.TaskGroup
 
getCoratings(long, long) - Method in class org.lenskit.slopeone.SlopeOneModel
 
getCount() - Method in interface org.lenskit.transform.quantize.Quantizer
Get the number of discrete values the output can take.
getCount() - Method in class org.lenskit.transform.quantize.ValueArrayQuantizer
 
getCount() - Method in class org.lenskit.util.math.MutualInformationAccumulator
Get the number of events.
getCoverage() - Method in class org.lenskit.eval.traintest.predict.CoveragePredictMetric.Coverage
 
getDamping() - Method in class org.lenskit.transform.normalize.MeanVarianceNormalizer
Get the damping term.
getDAO() - Method in class org.lenskit.cli.util.InputData
Get the data access object from the input data.
getDataAccessObject() - Method in class org.lenskit.LenskitRecommender
Get the data access object from this recommender.
getDataColumn(String) - Method in class org.lenskit.eval.traintest.ExperimentOutputLayout
 
getDataSets() - Method in class org.lenskit.eval.crossfold.Crossfolder
Get the train-test splits as data sets.
getDataSets() - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Get the list of data sets to use.
getDefaultBuilder() - Method in class org.lenskit.data.entities.EntityDefaults
Get the default entity builder for this entity type.
getDefaultCachePolicy() - Method in class org.lenskit.inject.PlaceholderSatisfaction
 
getDefaultColumns() - Method in class org.lenskit.data.entities.EntityDefaults
Get the default columns for an entity type.
getDefaultDerivations() - Method in class org.lenskit.data.entities.EntityDefaults
Get the default entity derivations.
getDefaultExcludes(LongSet) - Method in class org.lenskit.basic.TopNItemBasedItemRecommender
Get the default exclude set for a item in the global recommendation.
getDefaultExcludes(long) - Method in class org.lenskit.basic.TopNItemRecommender
Get the default exclude set for a user.
getDefinedAttributes() - Method in class org.lenskit.data.dao.file.JSONEntityFormat
Get the attributes expected.
getDelegate() - Method in class org.lenskit.config.LenskitConfigScript
Get the delegate.
getDelegate() - Method in class org.lenskit.similarity.SignificanceWeightedVectorSimilarity
Get the underlying similarity (for debuggin purposes).
getDelimiter(Namespace) - Static method in class org.lenskit.cli.commands.Crossfold
 
getDelimiter() - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
Get the delimiter for the entity format.
getDependencies() - Method in class org.lenskit.inject.PlaceholderSatisfaction
 
getDescription() - Method in class org.lenskit.util.monitor.TrackedJob
 
getDeviation(long, long) - Method in class org.lenskit.slopeone.SlopeOneModel
 
getDirectory() - Method in class org.lenskit.config.ConfigurationLoader
 
getDiscount() - Method in class org.lenskit.eval.traintest.predict.NDCGPredictMetric.Spec
 
getDiscount() - Method in class org.lenskit.eval.traintest.recommend.TopNNDCGMetric.Spec
 
getDistribution() - Method in class org.lenskit.predict.ordrec.OrdRecRatingPredictor.FullResult
Get the probability distribution from this result.
getDomain() - Method in class org.lenskit.util.keys.LongSortedArraySet
getDouble(AbstractBeanEntity) - Method in class org.lenskit.data.entities.AbstractBeanEntity.BeanAttributeGetter
 
getDouble(TypedName<Double>) - Method in class org.lenskit.data.entities.AbstractBeanEntity
 
getDouble(TypedName<Double>) - Method in class org.lenskit.data.entities.AbstractEntity
Get the value of a attr that contains a double.
getDouble(TypedName<Double>) - Method in interface org.lenskit.data.entities.Entity
Get the value of a attr that contains a double.
getEffectiveCompressionMode(String) - Method in enum org.lenskit.util.io.CompressionMode
Get the effective compression mode.
getEntityBuilder() - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
Get the entity builder class.
getEntityBuilder() - Method in interface org.lenskit.data.dao.file.EntityFormat
Get the entity builder that this format will use.
getEntityBuilder() - Method in class org.lenskit.data.dao.file.EntitySource.Layout
 
getEntityBuilder() - Method in class org.lenskit.data.dao.file.JSONEntityFormat
Get the entity builder class.
getEntityIds(EntityType) - Method in interface org.lenskit.data.dao.DataAccessObject
Get the IDs of all entities with a particular type.
getEntityIds(EntityType) - Method in class org.lenskit.data.dao.EntityCollectionDAO
 
getEntityType() - Method in class org.lenskit.data.dao.EntityQuery
Get the entity type to return.
getEntityType() - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
Get the entity type.
getEntityType() - Method in interface org.lenskit.data.dao.file.EntityFormat
Get the type of entities returned by this format.
getEntityType() - Method in class org.lenskit.data.dao.file.EntitySource.Layout
 
getEntityType() - Method in class org.lenskit.data.dao.file.JSONEntityFormat
 
getEntityType() - Method in class org.lenskit.data.entities.EntityDefaults
Get the entity type this set of defaults describes.
getEntityType() - Method in class org.lenskit.data.ratings.AbstractRatingVectorPDAO
Get the desired type of entities.
getEntityType() - Method in class org.lenskit.data.ratings.CountSumRatingVectorPDAO
 
getEntityType() - Method in class org.lenskit.data.ratings.EntityCountRatingVectorPDAO
 
getEntityType() - Method in class org.lenskit.data.ratings.InteractionStatistics
Get the interaction entity type.
getEntityType() - Method in class org.lenskit.eval.crossfold.Crossfolder
Get the entity type that this crossfolder will crossfold.
getEntityTypes() - Method in interface org.lenskit.data.dao.DataAccessObject
Get the types of entities that are available in this DAO.
getEntityTypes() - Method in class org.lenskit.data.dao.EntityCollectionDAO
 
getEntityTypes() - Method in class org.lenskit.data.dao.EntityCollectionDAOBuilder
Get the entity types registered with this builder so far.
getEntityTypes() - Method in class org.lenskit.eval.traintest.DataSet
Get the entity types registered with this builder so far.
getErasedType() - Method in class org.lenskit.inject.PlaceholderSatisfaction
 
getEventBus() - Method in class org.lenskit.util.monitor.TrackedJob
 
getException() - Method in class org.lenskit.util.monitor.JobEvent.Failed
Get the exception associated with this failure, if any.
getException() - Method in class org.lenskit.util.monitor.TrackedJob
Get the exception with which this job failed.
getExcludeSelector() - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
Get the active exclude selector.
getExpectedSteps() - Method in class org.lenskit.util.monitor.TrackedJob
Get the estimated number of steps.
getExperiment() - Method in class org.lenskit.eval.traintest.SimpleEvaluator
Provides raw unrestricted access to the experiment.
getExtendedOutputFile() - Method in class org.lenskit.eval.temporal.TemporalEvaluator
Get the output file for extended output (lines of JSON).
getExtension() - Method in enum org.lenskit.data.output.OutputFormat
Get the file extension for the output format.
getExtraConfiguration() - Method in class org.lenskit.eval.traintest.DataSet
Get extra LensKit configuration required by this data set.
getF1() - Method in class org.lenskit.eval.traintest.recommend.TopNPrecisionRecallMetric.PresRecResult
 
getFile() - Method in class org.lenskit.data.dao.file.TextEntitySource
Get the input file path.
getFilterFields() - Method in class org.lenskit.data.dao.EntityQuery
Get the field filters.
getFinalResult() - Method in class org.lenskit.results.RescoredResult
Get the final result (after rescoring).
getFormat() - Method in class org.lenskit.data.dao.file.TextEntitySource
Get the entity format for the reader.
getGainAttribute() - Method in class org.lenskit.eval.traintest.recommend.TopNNDCGMetric.Spec
 
getGlobalColumns() - Method in interface org.lenskit.eval.traintest.EvalTask
Get columns that will go in the aggregate output file.
getGlobalColumns() - Method in class org.lenskit.eval.traintest.predict.PredictEvalTask
 
getGlobalColumns() - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
 
getGlobalMean() - Method in class org.lenskit.data.ratings.RatingSummary
 
getGlobalVariance() - Method in class org.lenskit.transform.normalize.MeanVarianceNormalizer
Get the global variance.
getGoodItems() - Method in class org.lenskit.eval.traintest.recommend.PRMetricSpec
 
getGraph() - Method in class org.lenskit.inject.RecommenderInstantiator
Get the graph from this instantiator.
getGraph() - Method in class org.lenskit.LenskitRecommenderEngine
Get the dependency graph of the recommender engine.
getHalfLife() - Method in class org.lenskit.eval.traintest.metrics.ExponentialDiscount
Get the half-life of the discount function.
getHeaderLines() - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
Get the number of header lines to read.
getHeaderLines() - Method in interface org.lenskit.data.dao.file.EntityFormat
Get the number of header lines this format uses.
getHeaderLines() - Method in class org.lenskit.data.dao.file.JSONEntityFormat
 
getHeadRevision() - Static method in class org.lenskit.LenskitInfo
Get the HEAD revision from which LensKit was built.
getHelp() - Method in interface org.lenskit.cli.Command
Get the command’s help.
getHelp() - Method in class org.lenskit.cli.commands.Crossfold
 
getHelp() - Method in class org.lenskit.cli.commands.GlobalRecommend
 
getHelp() - Method in class org.lenskit.cli.commands.Graph
 
getHelp() - Method in class org.lenskit.cli.commands.Predict
 
getHelp() - Method in class org.lenskit.cli.commands.Recommend
 
getHelp() - Method in class org.lenskit.cli.commands.RunScript
 
getHelp() - Method in class org.lenskit.cli.commands.Simulate
 
getHelp() - Method in class org.lenskit.cli.commands.TrainModel
 
getHelp() - Method in class org.lenskit.cli.commands.TrainTest
 
getHelp() - Method in class org.lenskit.cli.commands.Version
 
getHints() - Method in exception org.lenskit.RecommenderConfigurationException
 
getId() - Method in interface org.lenskit.api.Result
Get the ID for the result.
getId() - Method in class org.lenskit.basic.FallbackResult
 
getId() - Method in class org.lenskit.basic.SimpleCachingItemScorer
 
getId() - Method in class org.lenskit.data.entities.AbstractEntity
 
getId() - Method in interface org.lenskit.data.entities.Entity
Get the identifier of this entity.
getId() - Method in class org.lenskit.data.ratings.RatingBuilder
Get the rating ID.
getId() - Method in class org.lenskit.results.AbstractResult
 
getId() - Method in class org.lenskit.results.RescoredResult
 
getId() - Method in class org.lenskit.util.IdBox
Get the ID associated with the object.
getIndex() - Method in class org.lenskit.data.ratings.RatingMatrixEntry
Get the index of this rating in the list of ratings in the matrix.
getIndex(long) - Method in class org.lenskit.util.keys.FrozenHashKeyIndex
 
getIndex(long) - Method in class org.lenskit.util.keys.HashKeyIndex
 
getIndex(long) - Method in interface org.lenskit.util.keys.KeyIndex
Get the index of a key.
getIndex() - Method in class org.lenskit.util.keys.LongSortedArraySet
Get the underlying key index implementation.
getIndex(long) - Method in class org.lenskit.util.keys.SortedKeyIndex
 
getIndexValue(int) - Method in interface org.lenskit.transform.quantize.Quantizer
Get the value corresponding to a quantized value, based on the index into the list of possible values.
getIndexValue(int) - Method in class org.lenskit.transform.quantize.ValueArrayQuantizer
 
getInnerResult() - Method in class org.lenskit.basic.FallbackResult
Get the result from the scorer that produced this score.
getInstance(Class<T>) - Method in class org.lenskit.inject.StaticInjector
 
getInstance(Annotation, Class<T>) - Method in class org.lenskit.inject.StaticInjector
 
getInstances() - Method in class org.lenskit.eval.traintest.MultiAlgorithmDSL
 
getInt(AbstractBeanEntity) - Method in class org.lenskit.data.entities.AbstractBeanEntity.BeanAttributeGetter
 
getInteger(TypedName<Integer>) - Method in class org.lenskit.data.entities.AbstractBeanEntity
 
getInteger(TypedName<Integer>) - Method in class org.lenskit.data.entities.AbstractEntity
Get the value of a attr that contains a int.
getInteger(TypedName<Integer>) - Method in interface org.lenskit.data.entities.Entity
Get the value of a attr that contains a int.
getInteractionCount(long) - Method in class org.lenskit.data.ratings.InteractionStatistics
Get the number of interactions for an item.
getIntercept() - Method in interface org.lenskit.bias.BiasModel
Get the global bias (intercept).
getIntercept() - Method in class org.lenskit.bias.GlobalBiasModel
 
getIntercept() - Method in class org.lenskit.bias.LiveUserItemBiasModel
 
getIntercept() - Method in class org.lenskit.bias.UserItemBiasModel
 
getIsolationGroup() - Method in class org.lenskit.eval.traintest.DataSet
Get the isolation group ID for this data set.
getItemBasedItemRecommender() - Method in interface org.lenskit.api.Recommender
Get the recommender’s item-based item recommender.
getItemBasedItemRecommender() - Method in class org.lenskit.LenskitRecommender
 
getItemBasedItemScorer() - Method in interface org.lenskit.api.Recommender
Get the recommender’s item-based item scorer.
getItemBasedItemScorer() - Method in class org.lenskit.LenskitRecommender
 
getItemBias(long) - Method in interface org.lenskit.bias.BiasModel
Get the item bias.
getItemBias(long) - Method in class org.lenskit.bias.GlobalBiasModel
 
getItemBias(long) - Method in class org.lenskit.bias.LiveUserItemBiasModel
 
getItemBias(long) - Method in class org.lenskit.bias.UserItemBiasModel
 
getItemBiases(LongSet) - Method in interface org.lenskit.bias.BiasModel
Get a set of item biases.
getItemBiases() - Method in interface org.lenskit.bias.BiasModel
Get the map of all known item biases.
getItemBiases(LongSet) - Method in class org.lenskit.bias.GlobalBiasModel
 
getItemBiases() - Method in class org.lenskit.bias.GlobalBiasModel
 
getItemBiases(LongSet) - Method in class org.lenskit.bias.LiveUserItemBiasModel
 
getItemBiases() - Method in class org.lenskit.bias.LiveUserItemBiasModel
 
getItemBiases(LongSet) - Method in class org.lenskit.bias.UserItemBiasModel
 
getItemBiases() - Method in class org.lenskit.bias.UserItemBiasModel
 
getItemId() - Method in interface org.lenskit.data.ratings.Preference
Get the ID of the item the preference is for.
getItemId() - Method in class org.lenskit.data.ratings.Rating
 
getItemId() - Method in class org.lenskit.data.ratings.RatingBuilder
Get the item ID.
getItemId() - Method in class org.lenskit.data.ratings.RatingMatrixEntry
Get the item ID for this rating matrix entry.
getItemIds() - Method in class org.lenskit.data.ratings.PackedRatingMatrix
 
getItemIds() - Method in interface org.lenskit.data.ratings.RatingMatrix
Get the set of item IDs in the snapshot.
getItemIndex() - Method in class org.lenskit.data.ratings.RatingMatrixEntry
Get the 0-based item index for this rating matrix entry.
getItemMean(long) - Method in class org.lenskit.data.ratings.RatingSummary
Get the mean rating for an item.
getItemOffets() - Method in class org.lenskit.data.ratings.RatingSummary
 
getItemOffset(long) - Method in class org.lenskit.data.ratings.RatingSummary
Get the item’s average offset from global mean.
getItemOutputFile() - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
Get the output file for writing per-target-item results.
getItemRatingCount(long) - Method in class org.lenskit.data.ratings.RatingSummary
Get the number of ratings for the item.
getItemRecommender() - Method in interface org.lenskit.api.Recommender
Get the recommender’s item recommender.
getItemRecommender() - Method in class org.lenskit.LenskitRecommender
 
getItems() - Method in class org.lenskit.data.ratings.RatingSummary
 
getItems() - Method in class org.lenskit.knn.item.model.ItemItemBuildContext
Get the set of items.
getItemsByPopularity() - Method in class org.lenskit.data.ratings.InteractionStatistics
Get the list of items by decreasing popularity.
getItemScorer() - Method in interface org.lenskit.api.Recommender
Get the recommender’s item scorer.
getItemScorer() - Method in class org.lenskit.basic.SimpleRatingPredictor
 
getItemScorer() - Method in class org.lenskit.LenskitRecommender
 
getItemUniverse() - Method in interface org.lenskit.knn.item.model.ItemItemModel
Get the set of all items in the model.
getItemUniverse() - Method in class org.lenskit.knn.item.model.SimilarityMatrixModel
 
getItemUsers(long) - Method in class org.lenskit.knn.user.UserSnapshot
 
getIterationCount() - Method in class org.grouplens.lenskit.iterative.IterationCountStoppingCondition
Get the number of iterations the stopper requires.
getIterationCount() - Method in interface org.grouplens.lenskit.iterative.TrainingLoopController
Get the current iteration count.
getJacksonType() - Method in class org.lenskit.data.entities.TypedName
Get a Jackson JavaType for this typed name.
getJob() - Method in class org.lenskit.util.monitor.JobEvent.Failed
Get the job in this event.
getJob() - Method in class org.lenskit.util.monitor.JobEvent.Finished
Get the job in this event.
getJob() - Method in class org.lenskit.util.monitor.JobEvent.ProgressUpdate
Get the job in this event.
getJob() - Method in class org.lenskit.util.monitor.JobEvent.Started
Get the job in this event.
getKey() - Method in class org.lenskit.results.AbstractResult
 
getKey() - Method in class org.lenskit.util.IdBox
 
getKey(int) - Method in class org.lenskit.util.keys.FrozenHashKeyIndex
 
getKey(int) - Method in class org.lenskit.util.keys.HashKeyIndex
 
getKey() - Method in interface org.lenskit.util.keys.KeyedObject
Get the key for this object.
getKey(T) - Method in interface org.lenskit.util.keys.KeyExtractor
Get the key for an object.
getKey(int) - Method in interface org.lenskit.util.keys.KeyIndex
Get the key for an index position.
getKey(int) - Method in class org.lenskit.util.keys.SortedKeyIndex
Get the key at an index.
getKeyByIndex(int) - Method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
Get a key by its position in the map.
getKeyList() - Method in class org.lenskit.util.keys.FrozenHashKeyIndex
 
getKeyList() - Method in class org.lenskit.util.keys.HashKeyIndex
 
getKeyList() - Method in interface org.lenskit.util.keys.KeyIndex
Get the list of indexed keys.
getKeyList() - Method in class org.lenskit.util.keys.SortedKeyIndex
Get the key set’s list of keys (domain) as a list.
getKnownItems() - Method in class org.lenskit.data.ratings.InteractionStatistics
Get the set of known items.
getLabelPrefix() - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
Get the prefix applied to column labels.
getLayout() - Method in interface org.lenskit.data.dao.file.EntitySource
Get this entity source’s layout, if one is available.
getLayout() - Method in class org.lenskit.data.dao.file.TextEntitySource
 
getLayout() - Method in interface org.lenskit.util.table.Table
Get the layout of this table.
getLayout() - Method in class org.lenskit.util.table.TableBuilder
 
getLayout() - Method in class org.lenskit.util.table.writer.CSVWriter
 
getLayout() - Method in class org.lenskit.util.table.writer.DevNullTableWriter
 
getLayout() - Method in class org.lenskit.util.table.writer.MultiplexedTableWriter
 
getLayout() - Method in interface org.lenskit.util.table.writer.TableWriter
Get the layout of this table.
getLeft() - Method in class org.lenskit.hybrid.RankBlendResult
Get the left result.
getLeftRank() - Method in class org.lenskit.hybrid.RankBlendResult
Get the left rank.
getLineNumber() - Method in class org.lenskit.util.io.LineStream
Return the number of the line returned by the last call to LineStream.readObject().
getListSize() - Method in class org.lenskit.eval.temporal.TemporalEvaluator
 
getListSize() - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
Get the list size to use.
getLogBase() - Method in class org.lenskit.eval.traintest.metrics.LogDiscount
Get the log base from the discount.
getLong(AbstractBeanEntity) - Method in class org.lenskit.data.entities.AbstractBeanEntity.BeanAttributeGetter
 
getLong(TypedName<Long>) - Method in class org.lenskit.data.entities.AbstractBeanEntity
 
getLong(TypedName<Long>) - Method in class org.lenskit.data.entities.AbstractEntity
Get the value of a attribute that contains a long.
getLong(TypedName<Long>) - Method in interface org.lenskit.data.entities.Entity
Get the value of a attribute that contains a long.
getLong(int) - Method in class org.lenskit.util.collections.CompactableLongArrayList
 
getLowerBound() - Method in class org.lenskit.util.keys.FrozenHashKeyIndex
 
getLowerBound() - Method in class org.lenskit.util.keys.HashKeyIndex
 
getLowerBound() - Method in interface org.lenskit.util.keys.KeyIndex
Get the lower bound of the index range for this index.
getLowerBound() - Method in class org.lenskit.util.keys.SortedKeyIndex
Get the lower bound of this index.
getMaximum() - Method in class org.lenskit.data.ratings.PreferenceDomain
The maximum preference value.
getMaximum() - Method in class org.lenskit.data.ratings.PreferenceDomainBuilder
Get the maximum preference.
getMetadata() - Method in interface org.lenskit.data.dao.file.EntitySource
Get metadata from this entity source.
getMetadata() - Method in class org.lenskit.data.dao.file.TextEntitySource
 
getMethod() - Method in class org.lenskit.eval.crossfold.Crossfolder
Get the method to be used for crossfolding.
getMetricTypeName(JsonNode) - Method in class org.lenskit.eval.traintest.metrics.MetricLoaderHelper
Get the metric type name from a node.
getMinimum() - Method in class org.lenskit.data.ratings.PreferenceDomain
The minimum preference value.
getMinimum() - Method in class org.lenskit.data.ratings.PreferenceDomainBuilder
Get the minimum preference.
getMinimumIterations() - Method in class org.grouplens.lenskit.iterative.ErrorThresholdStoppingCondition
Get the minimum iteration count.
getMinimumIterations() - Method in class org.grouplens.lenskit.iterative.ThresholdStoppingCondition
Get the minimum iteration count.
getModel() - Method in class org.lenskit.slopeone.SlopeOneItemScorer
 
getMutualInformation() - Method in class org.lenskit.util.math.MutualInformationAccumulator
Get the mutual information.
getName() - Method in interface org.lenskit.cli.Command
Get the name of the command.
getName() - Method in class org.lenskit.cli.commands.Crossfold
 
getName() - Method in class org.lenskit.cli.commands.GlobalRecommend
 
getName() - Method in class org.lenskit.cli.commands.Graph
 
getName() - Method in class org.lenskit.cli.commands.Predict
 
getName() - Method in class org.lenskit.cli.commands.Recommend
 
getName() - Method in class org.lenskit.cli.commands.RunScript
 
getName() - Method in class org.lenskit.cli.commands.Simulate
 
getName() - Method in class org.lenskit.cli.commands.TrainModel
 
getName() - Method in class org.lenskit.cli.commands.TrainTest
 
getName() - Method in class org.lenskit.cli.commands.Version
 
getName() - Method in interface org.lenskit.data.dao.file.EntitySource
Get the name of this entity source.
getName() - Method in class org.lenskit.data.dao.file.StaticDataSource
Get the name of this source.
getName() - Method in class org.lenskit.data.dao.file.TextEntitySource
Get the name of this data source.
getName() - Method in class org.lenskit.data.entities.Attribute
Get the attribute’s name.
getName() - Method in class org.lenskit.data.entities.EntityType
Get the name of this entity type.
getName() - Method in class org.lenskit.data.entities.TypedName
Get the underlying name.
getName() - Method in class org.lenskit.eval.crossfold.Crossfolder
Get the visible name of this crossfold split.
getName() - Method in class org.lenskit.eval.traintest.AlgorithmInstance
Get the name of this algorithm.
getName() - Method in class org.lenskit.eval.traintest.AlgorithmInstanceBuilder
Get the algorithm name.
getName() - Method in class org.lenskit.eval.traintest.DataSet
Get the data set name.
getName() - Method in class org.lenskit.eval.traintest.DataSetBuilder
 
getNeighborhoodSize() - Method in class org.lenskit.knn.item.ItemItemResult
Get the number of neighbors used to score this item.
getNeighborhoodSize() - Method in class org.lenskit.knn.user.UserUserResult
Get the neighborhood size for this result.
getNeighbors(long) - Method in interface org.lenskit.knn.item.model.ItemItemModel
Get the neighbors of an item scored by similarity.
getNeighbors(long) - Method in class org.lenskit.knn.item.model.SimilarityMatrixModel
 
getNeighborWeight() - Method in class org.lenskit.knn.item.ItemItemResult
Get the total weight of the neighborhood.
getNormalizedUserVector(long) - Method in class org.lenskit.knn.user.UserSnapshot
Get a user vector normalized for similarity computations.
getNormalizer() - Method in class org.lenskit.knn.item.ItemItemScorer
 
getOrder() - Method in class org.lenskit.data.dao.SortKey
Get the sort order.
getOrdering() - Method in class org.lenskit.data.dao.EntityQuery
Get the sort order as an ordering.
getOriginalResult() - Method in class org.lenskit.predict.ordrec.OrdRecRatingPredictor.FullResult
Get the original result.
getOriginalResult() - Method in class org.lenskit.results.RescoredResult
Get the original result (before rescoring).
getOutputDir() - Method in class org.lenskit.eval.crossfold.Crossfolder
Get the output directory.
getOutputFile() - Method in class org.lenskit.eval.temporal.TemporalEvaluator
 
getOutputFile() - Method in class org.lenskit.eval.traintest.predict.PredictEvalTask
Get the output file for writing predictions.
getOutputFile() - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
Get the output file for writing recommendations.
getOutputFile() - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Get the primary output file.
getOutputFormat() - Method in class org.lenskit.eval.crossfold.Crossfolder
Get the output format for the crossfolder.
getOutputLayout() - Method in class org.lenskit.eval.traintest.TrainTestExperiment
 
getPackages(String) - Method in class org.lenskit.util.ClassDirectory
Get the packages that contain a class with the specified name.
getParallelTasks() - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Get the number of evaluation tasks to permit to run in parallel.
getParent() - Method in class org.lenskit.util.monitor.TrackedJob
Get the parent job.
getParsedDiscount() - Method in class org.lenskit.eval.traintest.predict.NDCGPredictMetric.Spec
 
getParsedDiscount() - Method in class org.lenskit.eval.traintest.recommend.TopNNDCGMetric.Spec
 
getPartitionCount() - Method in class org.lenskit.eval.crossfold.Crossfolder
Get the partition count.
getPlaceholderNodes(DAGNode<Component, Dependency>) - Static method in class org.lenskit.inject.GraphtUtils
Get the placeholder nodes from a graph.
getPrecision() - Method in class org.lenskit.data.ratings.PreferenceDomain
The precision of preference values.
getPrecision() - Method in class org.lenskit.data.ratings.PreferenceDomainBuilder
Get the preference precision.
getPredictableItems(long) - Method in class org.lenskit.basic.TopNItemRecommender
Determine the items for which predictions can be made for a certain user.
getPredictMetrics() - Method in class org.lenskit.eval.traintest.predict.PredictEvalTask
Get the list of prediction metrics.
getPreferenceDomain() - Method in class org.lenskit.basic.SimpleRatingPredictor
 
getPreferenceDomain() - Method in class org.lenskit.data.dao.file.StaticDataSource
 
getPreferenceDomain() - Method in class org.lenskit.transform.quantize.PreferenceDomainQuantizer
 
getPrimaryScorer() - Method in class org.lenskit.basic.FallbackItemScorer
Get the primary scorer from this item scorer.
getProperties() - Method in class org.lenskit.cli.util.ScriptEnvironment
Get the properties defined by the command line.
getRating() - Method in class org.lenskit.data.ratings.RatingBuilder
Get the rating.
getRatingPredictor() - Method in interface org.lenskit.api.Recommender
Get the recommender’s rating scorer.
getRatingPredictor() - Method in class org.lenskit.LenskitRecommender
 
getRatings() - Method in class org.lenskit.data.ratings.PackedRatingMatrix
 
getRatings() - Method in interface org.lenskit.data.ratings.RatingMatrix
Get the collection of ratings in the snapshot.
getRawType() - Method in class org.lenskit.data.entities.TypedName
Get the raw type (class).
getRebuildPeriod() - Method in class org.lenskit.eval.temporal.TemporalEvaluator
 
getRecipRank() - Method in class org.lenskit.eval.traintest.recommend.TopNMRRMetric.UserResult
 
getRecommender() - Method in class org.lenskit.eval.traintest.recommend.ItemSelector.ItemSelectScript
Get the recommender object.
getReportingInterval() - Method in class org.lenskit.util.monitor.TrackedJob
Get the reporting interval for firing progress update messages.
getRequiredRoots() - Method in interface org.lenskit.eval.traintest.EvalTask
Get the root types required by this evaluation.
getRequiredRoots() - Method in class org.lenskit.eval.traintest.metrics.Metric
Get the classes on which this metric depends.
getRequiredRoots() - Method in class org.lenskit.eval.traintest.predict.PredictEvalTask
 
getRequiredRoots() - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
 
getRequiredRoots() - Method in class org.lenskit.eval.traintest.recommend.TopNPopularityMetric
 
getRevisions() - Static method in class org.lenskit.LenskitInfo
Get the set of revisions LensKit is built from.
getRight() - Method in class org.lenskit.hybrid.RankBlendResult
Get the right result.
getRightRank() - Method in class org.lenskit.hybrid.RankBlendResult
Get the right rank
getRoots() - Method in class org.lenskit.LenskitConfiguration
 
getRuntimeData() - Method in class org.lenskit.eval.traintest.DataSet
Get the runtime data set.
getScore() - Method in interface org.lenskit.api.Result
Get the score (value) associated with this result.
getScore(long) - Method in interface org.lenskit.api.ResultMap
Get the score associated with an ID.
getScore() - Method in class org.lenskit.basic.FallbackResult
 
getScore() - Method in class org.lenskit.results.AbstractResult
 
getScore(long) - Method in class org.lenskit.results.BasicResultMap
 
getScore() - Method in class org.lenskit.results.RescoredResult
 
getScorer() - Method in class org.lenskit.basic.TopNItemRecommender
 
getSeenItems() - Method in class org.lenskit.eval.traintest.TestUser
The set of items this user has seen in either training or test.
getSeparateItems() - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
Query whether this task will separate items.
getShareableNodes(DAGNode<Component, Dependency>) - Static method in class org.lenskit.inject.GraphtUtils
Find the set of shareable nodes (objects that will be replaced with instance satisfactions in the final graph).
getShareModelComponents() - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Query whether this experiment will cache and share components.
getSortKeys() - Method in class org.lenskit.data.dao.EntityQuery
Get the sort keys.
getSortKeys() - Method in class org.lenskit.data.store.EntityCollection
Get the sort keys, if this collection stores attributes in sorted order.
getSource() - Method in class org.lenskit.cli.util.InputData
 
getSource() - Method in class org.lenskit.eval.crossfold.Crossfolder
Get the data source backing this crossfold manager.
getSource() - Method in class org.lenskit.eval.traintest.recommend.ItemSelector.GroovyItemSelector
Get the Groovy source of this item selector.
getSources() - Method in class org.lenskit.data.dao.file.StaticDataSource
Get the list of entity sources.
getSourcesForType(EntityType) - Method in class org.lenskit.data.dao.file.StaticDataSource
Get the entity sources producing a particular type.
getSourceType() - Method in class org.lenskit.data.entities.EntityDerivation
Get the source types for the derivation.
getStagingFile() - Method in class org.lenskit.util.io.StagedWrite
Get the working file for this staging file.
getStepsDone() - Method in class org.lenskit.util.monitor.JobEvent.ProgressUpdate
Get the number of steps done.
getStepsFinished() - Method in class org.lenskit.util.monitor.TrackedJob
Get the number of finished steps.
getSuffix() - Method in class org.lenskit.eval.traintest.recommend.PRMetricSpec
 
getSupportedSourceVersion() - Method in class org.lenskit.inject.LenskitAnnotationProcessor
 
getTargetFile() - Method in class org.lenskit.util.io.StagedWrite
Get the target file for this staging file.
getTasks() - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Get the eval tasks to be used in this experiment.
getTestData() - Method in class org.lenskit.eval.traintest.DataSet
Get the training data.
getTestHistory() - Method in class org.lenskit.eval.traintest.TestUser
Return this user’s test history.
getTestItems() - Method in class org.lenskit.eval.traintest.TestUser
 
getTestRatings() - Method in class org.lenskit.eval.traintest.TestUser
Get the user’s test ratings.
getThreadCount() - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Get the number of threads that the experiment may use.
getThreshold() - Method in class org.grouplens.lenskit.iterative.ErrorThresholdStoppingCondition
Get the stopper’s threshold.
getThreshold() - Method in class org.grouplens.lenskit.iterative.ThresholdStoppingCondition
Get the stopper’s threshold.
getTimer() - Method in class org.lenskit.util.monitor.TrackedJob
Get the timer for this job.
getTimestamp() - Method in class org.lenskit.data.ratings.Rating
 
getTimestamp() - Method in class org.lenskit.data.ratings.Rating.WithTimestamp
 
getTimestamp() - Method in class org.lenskit.data.ratings.RatingBuilder
Get the timestamp.
getTopNMetrics() - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
Get the list of prediction metrics.
getTotalNeighborWeight() - Method in class org.lenskit.knn.user.UserUserResult
Get the total neighbor weight for this result.
getTotalSteps() - Method in class org.lenskit.util.monitor.JobEvent.ProgressUpdate
Get the total steps.
getTrainHistory() - Method in class org.lenskit.eval.traintest.TestUser
Return this user’s training history.
getTrainingData() - Method in class org.lenskit.eval.traintest.DataSet
Get the training data.
getTrainItems() - Method in class org.lenskit.eval.traintest.TestUser
 
getType() - Method in class org.lenskit.data.entities.AbstractEntity
 
getType() - Method in class org.lenskit.data.entities.Attribute
Get the attribute’s type.
getType() - Method in interface org.lenskit.data.entities.Entity
Get the type of this entity.
getType() - Method in class org.lenskit.data.entities.EntityDerivation
Get the entity type to be derived.
getType() - Method in class org.lenskit.data.entities.TypedName
Get the type.
getType() - Method in class org.lenskit.data.store.EntityCollection
Get the type of entity stored in this collection.
getType() - Method in class org.lenskit.inject.PlaceholderSatisfaction
 
getType() - Method in class org.lenskit.util.monitor.TrackedJob
 
getTypedAttributeNames() - Method in class org.lenskit.data.entities.AbstractBeanEntity
 
getTypedAttributeNames() - Method in interface org.lenskit.data.entities.Entity
Get the attributes in this entity.
getTypedName() - Method in class org.lenskit.data.entities.Attribute
Get the attribute’s typed name.
getTypes() - Method in interface org.lenskit.data.dao.file.EntitySource
Get the entity types produced by this source.
getTypes() - Method in class org.lenskit.data.dao.file.TextEntitySource
 
getUnseenItems(TestUser) - Method in class org.lenskit.eval.traintest.recommend.ItemSelector.ItemSelectScript
Method that returns all items except the ones present in the user’s test or train sets.
getUpperBound() - Method in class org.lenskit.util.keys.FrozenHashKeyIndex
 
getUpperBound() - Method in class org.lenskit.util.keys.HashKeyIndex
 
getUpperBound() - Method in interface org.lenskit.util.keys.KeyIndex
Get the upper bound of the index range for this index.
getUpperBound() - Method in class org.lenskit.util.keys.SortedKeyIndex
Get the upper bound of this index.
getURL() - Method in class org.lenskit.data.dao.file.TextEntitySource
Get the source file for this data source.
getUser() - Method in class org.lenskit.eval.traintest.recommend.ItemSelector.ItemSelectScript
Get the user being tested.
getUser() - Method in class org.lenskit.eval.traintest.TestUser
 
getUserBias(long) - Method in interface org.lenskit.bias.BiasModel
Get the user bias.
getUserBias(long) - Method in class org.lenskit.bias.GlobalBiasModel
 
getUserBias(long) - Method in class org.lenskit.bias.LiveUserItemBiasModel
 
getUserBias(long) - Method in class org.lenskit.bias.UserItemBiasModel
 
getUserBiases(LongSet) - Method in interface org.lenskit.bias.BiasModel
Get a set of user biases.
getUserBiases() - Method in interface org.lenskit.bias.BiasModel
Get the map of all known user biases.
getUserBiases(LongSet) - Method in class org.lenskit.bias.GlobalBiasModel
 
getUserBiases() - Method in class org.lenskit.bias.GlobalBiasModel
 
getUserBiases(LongSet) - Method in class org.lenskit.bias.LiveUserItemBiasModel
 
getUserBiases() - Method in class org.lenskit.bias.LiveUserItemBiasModel
Return an empty map.
getUserBiases(LongSet) - Method in class org.lenskit.bias.UserItemBiasModel
 
getUserBiases() - Method in class org.lenskit.bias.UserItemBiasModel
 
getUserColumns() - Method in interface org.lenskit.eval.traintest.EvalTask
Get columns that will go in the per-user output file.
getUserColumns() - Method in class org.lenskit.eval.traintest.predict.PredictEvalTask
 
getUserColumns() - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
 
getUserId() - Method in interface org.lenskit.data.ratings.Preference
Get the ID of the user whose preference this is.
getUserId() - Method in class org.lenskit.data.ratings.Rating
 
getUserId() - Method in class org.lenskit.data.ratings.RatingBuilder
Get the user ID.
getUserId() - Method in class org.lenskit.data.ratings.RatingMatrixEntry
Get the user ID for this rating matrix entry.
getUserId() - Method in class org.lenskit.eval.traintest.TestUser
Get the ID of this user.
getUserIds() - Method in class org.lenskit.data.ratings.PackedRatingMatrix
 
getUserIds() - Method in interface org.lenskit.data.ratings.RatingMatrix
Get the set of user IDs in the snapshot.
getUserIndex() - Method in class org.lenskit.data.ratings.RatingMatrixEntry
Get the 0-based user index for this rating matrix entry.
getUserItems(long) - Method in class org.lenskit.knn.item.model.ItemItemBuildContext
Get the items rated by a particular user.
getUserOutputFile() - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Get the per-user output file.
getUserRatings(long) - Method in class org.lenskit.data.ratings.PackedRatingMatrix
 
getUserRatings(long) - Method in interface org.lenskit.data.ratings.RatingMatrix
Get the ratings for a particular user.
getUserRatingVector(long) - Method in class org.lenskit.data.ratings.PackedRatingMatrix
 
getUserRatingVector(long) - Method in interface org.lenskit.data.ratings.RatingMatrix
Get the current preferences of a particular user as a vector.
getUserVector(long) - Method in class org.lenskit.knn.user.UserSnapshot
Get a user vector normalized for score computations.
getUUID() - Method in class org.lenskit.util.monitor.TrackedJob
 
getV1Entropy() - Method in class org.lenskit.util.math.MutualInformationAccumulator
Get the entropy of the first variable.
getV2Entropy() - Method in class org.lenskit.util.math.MutualInformationAccumulator
Get the entropy of the second variable.
getValue() - Method in class org.grouplens.lenskit.transform.threshold.RealThreshold
Get the threshold value.
getValue() - Method in class org.lenskit.data.entities.Attribute
Get the attribute’s value.
getValue() - Method in interface org.lenskit.data.ratings.Preference
Get the preference value.
getValue() - Method in class org.lenskit.data.ratings.Rating
Get the rating value.
getValue() - Method in class org.lenskit.data.ratings.RatingMatrixEntry
Get the value of this rating matrix entry.
getValue() - Method in class org.lenskit.util.IdBox
Get the value associated with the object.
getValueByIndex(int) - Method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
Get a value by its position in the map.
getValues() - Method in class org.lenskit.eval.traintest.metrics.MetricResult
Get the column values for this metric result.
getValues() - Method in class org.lenskit.eval.traintest.metrics.TypedMetricResult
 
getValues() - Method in interface org.lenskit.transform.quantize.Quantizer
Get the possible values into which this quantizer will map input values.
getValues() - Method in class org.lenskit.transform.quantize.ValueArrayQuantizer
 
getVectorNormalizer() - Method in class org.lenskit.transform.normalize.DefaultItemVectorNormalizer
Get the underlying vector normalizer.
getVectorNormalizer() - Method in class org.lenskit.transform.normalize.DefaultUserVectorNormalizer
Get the delegate vector normalizer.
getViewType() - Method in class org.lenskit.data.dao.EntityQuery
Get the type to view results as.
getWorkDir() - Method in class org.lenskit.eval.traintest.SimpleEvaluator
Get the working directory for the evaluator.
getWriteTimestamps() - Method in class org.lenskit.eval.crossfold.Crossfolder
Query whether timestamps will be written.
GlobalAverageRatingBiasModelProvider - Class in org.lenskit.bias
Compute a bias model with the global average rating.
GlobalAverageRatingBiasModelProvider(DataAccessObject) - Constructor for class org.lenskit.bias.GlobalAverageRatingBiasModelProvider
 
GlobalBiasModel - Class in org.lenskit.bias
Bias model that only uses a global bias.
GlobalBiasModel(double) - Constructor for class org.lenskit.bias.GlobalBiasModel
Construct a new global bias model.
GlobalMeanRatingItemScorer - Class in org.lenskit.baseline
Item scorer that scores every item with the global mean rating.
GlobalMeanRatingItemScorer(RatingSummary) - Constructor for class org.lenskit.baseline.GlobalMeanRatingItemScorer
 
GlobalRecommend - Class in org.lenskit.cli.commands
Generate Top-N non-personalized recommendations.
GlobalRecommend() - Constructor for class org.lenskit.cli.commands.GlobalRecommend
 
Graph - Class in org.lenskit.cli.commands
Command that draws a diagram of a recommender configuration.
Graph() - Constructor for class org.lenskit.cli.commands.Graph
 
GraphDumper - Class in org.lenskit.graph
Class to manage traversing nodes.
GraphtUtils - Class in org.lenskit.inject
Helper utilities for Grapht integration.
GreedyRerankingItemRecommender - Class in org.lenskit.rerank
A hybrid item recommender that uses a greedy re-ranking strategy to allow re-ranking of items iteratively.
GreedyRerankingItemRecommender(ItemRecommender, GreedyRerankStrategy) - Constructor for class org.lenskit.rerank.GreedyRerankingItemRecommender
 
GreedyRerankStrategy - Interface in org.lenskit.rerank
Interface for classes that select the next item to recommend from a list of candidate items.
GroovyUtils - Class in org.lenskit.config
Support utilities for LensKit’s use of Groovy.
groupBy(TypedName<Long>) - Method in interface org.lenskit.data.dao.Query
Group the results of this query by an attribute.
groupBy(String) - Method in interface org.lenskit.data.dao.Query
Group the results of this query by an attribute.
grouped(TypedName<Long>) - Method in class org.lenskit.data.store.EntityCollection
Get a grouped view of the data.
GroupedQuery<E extends Entity> - Class in org.lenskit.data.dao
Grouped query interface.
GroupingObjectStream<C,E> - Class in org.lenskit.util.io
Base class for streams that group the output of another stream.
GroupingObjectStream(ObjectStream<? extends E>) - Constructor for class org.lenskit.util.io.GroupingObjectStream
 

H

handleItem(E) - Method in class org.lenskit.util.io.GroupingObjectStream
Handle an item from the base stream.
hasAttribute(String) - Method in class org.lenskit.data.entities.AbstractBeanEntity
 
hasAttribute(TypedName<?>) - Method in class org.lenskit.data.entities.AbstractBeanEntity
 
hasAttribute(TypedName<?>) - Method in class org.lenskit.data.entities.AbstractEntity
Check if the entity has a attribute.
hasAttribute(String) - Method in interface org.lenskit.data.entities.Entity
Check if the entity has a field with a particular name.
hasAttribute(TypedName<?>) - Method in interface org.lenskit.data.entities.Entity
Check if the entity has a attribute.
hasCustomComparator() - Method in class org.lenskit.data.dao.SortKey
Query whether this sort key has a custom comparator.
hashCode() - Method in class org.lenskit.basic.FallbackResult
 
hashCode() - Method in class org.lenskit.data.dao.file.EntitySource.Layout
 
hashCode() - Method in class org.lenskit.data.dao.SortKey
 
hashCode() - Method in class org.lenskit.data.entities.AbstractEntity
 
hashCode() - Method in class org.lenskit.data.entities.Attribute
 
hashCode() - Method in class org.lenskit.data.ratings.PreferenceDomain
 
hashCode() - Method in class org.lenskit.eval.crossfold.FractionHistoryPartitionMethod
 
hashCode() - Method in class org.lenskit.eval.crossfold.HoldoutNHistoryPartitionMethod
 
hashCode() - Method in class org.lenskit.eval.crossfold.RetainNHistoryPartitionMethod
 
hashCode() - Method in class org.lenskit.eval.traintest.metrics.ExponentialDiscount
 
hashCode() - Method in class org.lenskit.eval.traintest.metrics.LogDiscount
 
hashCode() - Method in class org.lenskit.inject.PlaceholderSatisfaction
 
hashCode() - Method in class org.lenskit.knn.item.ItemItemResult
 
hashCode() - Method in class org.lenskit.knn.user.UserUserResult
 
hashCode() - Method in class org.lenskit.results.BasicResult
 
hashCode() - Method in class org.lenskit.results.BasicResultList
 
hashCode() - Method in class org.lenskit.results.RescoredResult
 
hashCode() - Method in class org.lenskit.transform.normalize.IdentityVectorNormalizer
 
hashCode() - Method in class org.lenskit.util.IdBox
 
hashCode() - Method in class org.lenskit.util.Text
 
HashDescriptionWriter - Class in org.lenskit.util.describe
Description writer that computes a hash of the description on the fly.
HashKeyIndex - Class in org.lenskit.util.keys
Mutable index mapping backed by a hash table.
HashKeyIndex() - Constructor for class org.lenskit.util.keys.HashKeyIndex
Construct a new empty indexer.
hashWriter(HashFunction) - Static method in class org.lenskit.util.describe.Descriptions
Create a description writer for a particular hash function.
hasInstance() - Method in class org.lenskit.inject.PlaceholderSatisfaction
 
hasNCommonItems(LongSortedSet, LongSortedSet, int) - Static method in class org.lenskit.util.collections.LongUtils
Check if two sets have at least a given number of common items.
hasNext() - Method in class org.lenskit.util.io.ObjectStreamIterator
 
hasPrecision() - Method in class org.lenskit.data.ratings.PreferenceDomain
Query whether this preference domain has a precision.
hasScore() - Method in interface org.lenskit.api.Result
Query whether the result has a score.
hasScore() - Method in class org.lenskit.basic.FallbackResult
 
hasScore() - Method in class org.lenskit.results.AbstractResult
 
hasScore() - Method in class org.lenskit.results.RescoredResult
 
headMap(long) - Method in class org.lenskit.util.keys.KeyedObjectMap
 
headMap(long) - Method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
 
headSet(long) - Method in class org.lenskit.util.keys.LongSortedArraySet
 
HistoryPartitionMethod - Interface in org.lenskit.eval.crossfold
Partitioning algorithm for an ordered sequence of events into train and test events.
HistoryPartitions - Class in org.lenskit.eval.crossfold
Factories for creating HistoryPartitionMethod instances.
holdout(int) - Static method in class org.lenskit.eval.crossfold.HistoryPartitions
Hold out a fixed number of ratings.
holdoutFraction(double) - Static method in class org.lenskit.eval.crossfold.HistoryPartitions
Hold out a fraction of ratings.
HoldoutNHistoryPartitionMethod - Class in org.lenskit.eval.crossfold
Partition the last part of list by holding out a fixed number of elements.
HoldoutNHistoryPartitionMethod(int) - Constructor for class org.lenskit.eval.crossfold.HoldoutNHistoryPartitionMethod
Create a count partitioner.

I

id - Variable in class org.lenskit.data.entities.AbstractEntity
 
id - Variable in class org.lenskit.data.entities.EntityBuilder
 
id - Variable in class org.lenskit.results.AbstractResult
 
IdBox<T> - Class in org.lenskit.util
A box that associates an object with an ID.
IdBox(long, T) - Constructor for class org.lenskit.util.IdBox
Construct a new ID box.
IdentityClampingFunction - Class in org.grouplens.lenskit.transform.clamp
Identity clamping function.
IdentityClampingFunction() - Constructor for class org.grouplens.lenskit.transform.clamp.IdentityClampingFunction
 
IdentityVectorNormalizer - Class in org.lenskit.transform.normalize
Identity normalization (makes no change).
IdentityVectorNormalizer() - Constructor for class org.lenskit.transform.normalize.IdentityVectorNormalizer
 
idKeyExtractor() - Static method in class org.lenskit.data.entities.Entities
Key extractor that keys entities by ID.
idList() - Method in interface org.lenskit.api.ResultList
Return a list of the item (or user) IDs in this result list.
idList() - Method in class org.lenskit.results.BasicResultList
 
idList() - Method in interface org.lenskit.results.LenskitResultList
 
idOrder() - Static method in class org.lenskit.results.Results
Get an ordering (comparator) that orders results by ID.
idOrdering() - Static method in class org.lenskit.data.entities.Entities
Return an ordering over entities that sorts them by ID.
idPredicate(long) - Static method in class org.lenskit.data.entities.Entities
Create a predicate that filters events for an ID.
idSet - Variable in class org.lenskit.data.entities.EntityBuilder
 
idSet() - Method in class org.lenskit.data.store.EntityCollection
 
in(Class<?>) - Method in class org.lenskit.inject.AbstractConfigContext
Deprecated.
in(Class<? extends Annotation>, Class<?>) - Method in class org.lenskit.inject.AbstractConfigContext
Deprecated.
in(Annotation, Class<?>) - Method in class org.lenskit.inject.AbstractConfigContext
Deprecated.
in(Class<?>) - Method in interface org.lenskit.LenskitConfigContext
Deprecated.
in(Class<? extends Annotation>, Class<?>) - Method in interface org.lenskit.LenskitConfigContext
Deprecated.
in(Annotation, Class<?>) - Method in interface org.lenskit.LenskitConfigContext
Deprecated.
include(Closure<?>) - Method in class org.lenskit.config.BindingDSL
Use a closure as additional configuration
include(URI) - Method in class org.lenskit.config.BindingDSL
Include another configuration file.
include(String) - Method in class org.lenskit.config.BindingDSL
Include another configuration file.
include(Module) - Method in class org.lenskit.config.BindingDSL
Include a module in this configuration.
include(URI) - Method in class org.lenskit.config.LenskitConfigDSL
 
includesRevision(String) - Static method in class org.lenskit.LenskitInfo
Query whether this version of LensKit includes a particular revision.
index(double) - Method in interface org.lenskit.transform.quantize.Quantizer
Convert a value into a discrete, quantized value.
index(double) - Method in class org.lenskit.transform.quantize.ValueArrayQuantizer
 
indexOf(Object) - Method in class org.lenskit.results.BasicResultList
 
init(ProcessingEnvironment) - Method in class org.lenskit.inject.LenskitAnnotationProcessor
 
InputData - Class in org.lenskit.cli.util
Helper class for managing input data.
InputData(ScriptEnvironment, Namespace) - Constructor for class org.lenskit.cli.util.InputData
 
InstanceFactory<T> - Class in org.lenskit.util.reflect
Factory function for new instances.
InstanceFactory() - Constructor for class org.lenskit.util.reflect.InstanceFactory
 
instantiate(DAGNode<Component, Dependency>) - Method in class org.lenskit.inject.NodeInstantiator
Instantiate a particular node in the graph.
instantiate() - Static method in class org.lenskit.inject.NodeProcessors
Create a node processor that will instantiate nodes.
instantiate(NodeInstantiator) - Static method in class org.lenskit.inject.NodeProcessors
Create a node processor that will instantiate nodes.
instantiate() - Method in class org.lenskit.inject.RecommenderInstantiator
Instantiate the recommender graph.
instantiateGraph(DAGNode<Component, Dependency>) - Method in class org.lenskit.LenskitRecommenderEngineBuilder
Instantiate the recommender graph.
InteractionEntityType - Annotation Type in org.lenskit.data.ratings
Qualifier for the type of entities that record user-item interactions.
InteractionStatistics - Class in org.lenskit.data.ratings
Interaction statistics, counting the number of times an item has been interacted with.
InteractionStatistics(EntityType, Long2IntMap) - Constructor for class org.lenskit.data.ratings.InteractionStatistics
Construct a new interaction statistics object.
InteractionStatistics.CountSumISProvider - Class in org.lenskit.data.ratings
Provider that counts item interactions.
InteractionStatistics.ISProvider - Class in org.lenskit.data.ratings
Provider that counts item interactions.
internId(long) - Method in class org.lenskit.util.keys.HashKeyIndex
Get an index for a key, generating a new one if necessary.
intersectSize(LongSortedSet, LongSortedSet) - Static method in class org.lenskit.util.collections.LongUtils
Compute the size of the intersection of two sets.
intersectSize(LongSet, LongSet) - Static method in class org.lenskit.util.collections.LongUtils
Compute the size of the intersection of two sets.
interval(int, int) - Static method in class org.lenskit.util.collections.CollectionUtils
Create an IntList that contains all numbers in a specified interval.
InvertibleFunction<F,T> - Interface in org.lenskit.util
A function for which an inverse is available.
isCompressed(File) - Static method in class org.lenskit.util.io.LKFileUtils
Deprecated.
Use CompressionMode or commons-compress facilities instead.
isEmpty() - Method in class org.lenskit.results.BasicResultList
 
isEmpty() - Method in class org.lenskit.util.collections.CompactableLongArrayList
 
isEmpty() - Method in interface org.lenskit.util.collections.Long2DoubleAccumulator
Query whether the accumulator is empty.
isEmpty() - Method in class org.lenskit.util.collections.TopNLong2DoubleAccumulator
 
isEmpty() - Method in class org.lenskit.util.collections.UnlimitedLong2DoubleAccumulator
 
isFromPrimary() - Method in class org.lenskit.basic.FallbackResult
Query whether this result came from the primary or the baseline item scorer.
isInstantiable() - Method in class org.lenskit.LenskitRecommenderEngine
Query whether this engine is instantiable.
isParallel() - Method in class org.lenskit.util.io.AbstractObjectStream
 
isParallel() - Method in class org.lenskit.util.parallel.TaskGroup
Query whether the subtasks will be run in parallel.
ISProvider(EntityType, DataAccessObject) - Constructor for class org.lenskit.data.ratings.InteractionStatistics.ISProvider
Construct the provider.
isShareable(DAGNode<Component, Dependency>) - Static method in class org.lenskit.inject.GraphtUtils
Determine if a node is a shareable component.
isSorted(long[], int, int) - Static method in class org.lenskit.util.MoreArrays
Check that the array is sorted.
isSparse() - Method in interface org.lenskit.knn.item.ItemSimilarity
Query whether this similarity is sparse.
isSparse() - Method in class org.lenskit.knn.item.ItemVectorSimilarity
 
isSparse() - Method in interface org.lenskit.knn.user.UserSimilarity
Query whether this similarity is sparse.
isSparse() - Method in class org.lenskit.knn.user.UserVectorSimilarity
 
isSparse() - Method in class org.lenskit.similarity.CosineVectorSimilarity
 
isSparse() - Method in class org.lenskit.similarity.MutualInformationVectorSimilarity
 
isSparse() - Method in class org.lenskit.similarity.PearsonCorrelation
 
isSparse() - Method in class org.lenskit.similarity.SignificanceWeightedVectorSimilarity
 
isSparse() - Method in class org.lenskit.similarity.SpearmanRankCorrelation
 
isSparse() - Method in interface org.lenskit.similarity.VectorSimilarity
Query whether this similarity function is sparse (returns 0 for vectors with disjoint key sets).
isSymmetric() - Method in interface org.lenskit.knn.item.ItemSimilarity
Query whether this similarity is symmetric.
isSymmetric() - Method in class org.lenskit.knn.item.ItemVectorSimilarity
 
isSymmetric() - Method in interface org.lenskit.knn.user.UserSimilarity
Query whether this similarity is symmetric.
isSymmetric() - Method in class org.lenskit.knn.user.UserVectorSimilarity
 
isSymmetric() - Method in class org.lenskit.similarity.CosineVectorSimilarity
 
isSymmetric() - Method in class org.lenskit.similarity.MutualInformationVectorSimilarity
 
isSymmetric() - Method in class org.lenskit.similarity.PearsonCorrelation
 
isSymmetric() - Method in class org.lenskit.similarity.SignificanceWeightedVectorSimilarity
 
isSymmetric() - Method in class org.lenskit.similarity.SpearmanRankCorrelation
 
isSymmetric() - Method in interface org.lenskit.similarity.VectorSimilarity
Query whether this similarity function is symmetric.
isThreadSafe() - Method in class org.lenskit.knn.item.ItemVectorSimilarity
 
isThreadSafe() - Method in interface org.lenskit.util.parallel.MaybeThreadSafe
Query whether this object is thread-safe.
isThreadSafe(Class<?>) - Static method in class org.lenskit.util.reflect.ClassQueries
Query whether a class is marked as thread-safe.
isThreadSafe(Object) - Static method in class org.lenskit.util.reflect.ClassQueries
Query whether an object is thread-safe.
isZero(double) - Static method in class org.lenskit.util.math.Scalars
Check whether a value is zero, using a default epsilon.
isZero(double, double) - Static method in class org.lenskit.util.math.Scalars
Check whether a value is zero, using a configurable epsilon.
ITEM - Static variable in class org.lenskit.data.entities.CommonTypes
Type identifier for item entities.
ITEM_FILE_NAME - Static variable in class org.lenskit.eval.crossfold.Crossfolder
 
ITEM_ID - Static variable in class org.lenskit.data.entities.CommonAttributes
The item ID associated with an entity.
ItemAverageRatingBiasModelProvider - Class in org.lenskit.bias
Compute a bias model that returns items’ average ratings.
ItemAverageRatingBiasModelProvider(RatingSummary, double) - Constructor for class org.lenskit.bias.ItemAverageRatingBiasModelProvider
 
ItemBasedItemRecommender - Interface in org.lenskit.api
Recommends items that go with a set of reference items.
ItemBasedItemScorer - Interface in org.lenskit.api
Score items with reference to specified item(s).
ItemBiasModel - Class in org.lenskit.bias
Bias model that provides global and item biases.
ItemBiasModel(double, Long2DoubleMap) - Constructor for class org.lenskit.bias.ItemBiasModel
Construct a new item bias model.
itemIndex() - Method in class org.lenskit.data.ratings.PackedRatingMatrix
 
itemIndex() - Method in interface org.lenskit.data.ratings.RatingMatrix
Get the item ID index.
ItemItemBuildContext - Class in org.lenskit.knn.item.model
Encapsulation of data needed during an item-item model build.
ItemItemBuildContextProvider - Class in org.lenskit.knn.item.model
Provider that sets up an ItemItemBuildContext.
ItemItemBuildContextProvider(RatingVectorPDAO, UserVectorNormalizer, int) - Constructor for class org.lenskit.knn.item.model.ItemItemBuildContextProvider
Construct an item-item build context provider.
ItemItemBuildContextProvider(RatingVectorPDAO, UserVectorNormalizer) - Constructor for class org.lenskit.knn.item.model.ItemItemBuildContextProvider
 
ItemItemItemBasedItemScorer - Class in org.lenskit.knn.item
Score items based on the basket of items using an item-item CF model.
ItemItemItemBasedItemScorer(ItemItemModel, int) - Constructor for class org.lenskit.knn.item.ItemItemItemBasedItemScorer
 
ItemItemModel - Interface in org.lenskit.knn.item.model
Item-item similarity model.
ItemItemModelProvider - Class in org.lenskit.knn.item.model
Build an item-item CF model from rating data.
ItemItemModelProvider(ItemSimilarity, ItemItemBuildContext, Threshold, NeighborIterationStrategy, int, int) - Constructor for class org.lenskit.knn.item.model.ItemItemModelProvider
 
ItemItemResult - Class in org.lenskit.knn.item
The result type for item-item collaborative filtering.
ItemItemResult(long, double, int, double) - Constructor for class org.lenskit.knn.item.ItemItemResult
Construct a new item-item CF result.
ItemItemScoreAccumulator - Class in org.lenskit.knn.item
Score accumulator for item-item recommendation.
ItemItemScorer - Class in org.lenskit.knn.item
Score items using an item-item CF model.
ItemItemScorer(RatingVectorPDAO, ItemItemModel, NeighborhoodScorer, UserVectorNormalizer, int, int) - Constructor for class org.lenskit.knn.item.ItemItemScorer
Construct a new item-item scorer.
ItemMeanRatingItemScorer - Class in org.lenskit.baseline
Rating scorer that returns the item’s mean rating for all predictions.
ItemMeanRatingItemScorer(RatingSummary, double) - Constructor for class org.lenskit.baseline.ItemMeanRatingItemScorer
Construct a new scorer.
itemRanks(LongList) - Static method in class org.lenskit.util.collections.LongUtils
Compute the ranks for a list of longs.
itemRatingVector(Collection<? extends Rating>) - Static method in class org.lenskit.data.ratings.Ratings
Construct a rating vector that contains the ratings provided by each user.
ItemRecommender - Interface in org.lenskit.api
Interface for recommending items.
ItemScorer - Interface in org.lenskit.api
Score items for users.
ItemSelector - Class in org.lenskit.eval.traintest.recommend
Select items for use in recommendation or
ItemSelector() - Constructor for class org.lenskit.eval.traintest.recommend.ItemSelector
 
ItemSelector.GroovyItemSelector - Class in org.lenskit.eval.traintest.recommend
Item selector based on a Groovy script.
ItemSelector.ItemSelectScript - Class in org.lenskit.eval.traintest.recommend
Base class defining the environment in which item selectors are evaluated.
ItemSelectScript() - Constructor for class org.lenskit.eval.traintest.recommend.ItemSelector.ItemSelectScript
 
ItemSimilarity - Interface in org.lenskit.knn.item
Compute the similarity between two items.
ItemSimilarityThreshold - Annotation Type in org.lenskit.knn.item
Qualifier for threshold applied to item similarities.
itemVector(long) - Method in class org.lenskit.knn.item.model.ItemItemBuildContext
Get the rating vector for an item.
ItemVectorNormalizer - Interface in org.lenskit.transform.normalize
Normalizes an item’s vector.
ItemVectorSimilarity - Class in org.lenskit.knn.item
Implementation of ItemSimilarity that delegates to a vector similarity.
ItemVectorSimilarity(VectorSimilarity) - Constructor for class org.lenskit.knn.item.ItemVectorSimilarity
 
IterationCount - Annotation Type in org.grouplens.lenskit.iterative
The number of iterations to use in an iterative update.
IterationCountStoppingCondition - Class in org.grouplens.lenskit.iterative
Stop once the iteration count has reached a value.
IterationCountStoppingCondition(int) - Constructor for class org.grouplens.lenskit.iterative.IterationCountStoppingCondition
Construct a new iteration count stopping condition.
iterator() - Method in class org.lenskit.data.entities.AttributeSet
 
iterator() - Method in class org.lenskit.results.BasicResultList
 
iterator() - Method in class org.lenskit.results.BasicResultMap
 
iterator() - Method in class org.lenskit.util.collections.CompactableLongArrayList
 
iterator() - Method in class org.lenskit.util.io.AbstractObjectStream
Get the iterator.
iterator() - Method in class org.lenskit.util.keys.KeyedObjectMap
 
iterator() - Method in class org.lenskit.util.keys.LongSortedArraySet
 
iterator(long) - Method in class org.lenskit.util.keys.LongSortedArraySet
 

J

JOB_TYPE - Static variable in class org.lenskit.eval.traintest.TrainTestExperiment
The job type code for train-test experiments
JobEvent - Class in org.lenskit.util.monitor
Events reporting the status of a TrackedJob.
JobEvent.Failed - Class in org.lenskit.util.monitor
Event fired when a job has failed.
JobEvent.Finished - Class in org.lenskit.util.monitor
Event fired when a job is finished.
JobEvent.ProgressUpdate - Class in org.lenskit.util.monitor
Event fired when a job has a status update.
JobEvent.Started - Class in org.lenskit.util.monitor
Event fired when a job is started.
jobFailed(JobEvent.Failed) - Method in class org.lenskit.eval.traintest.StatusLogger
 
jobFinished(JobEvent.Finished) - Method in class org.lenskit.eval.traintest.StatusLogger
 
jobStarted(JobEvent.Started) - Method in class org.lenskit.eval.traintest.StatusLogger
 
JSONEntityFormat - Class in org.lenskit.data.dao.file
Entity format that decodes JSON objects.
JSONEntityFormat() - Constructor for class org.lenskit.data.dao.file.JSONEntityFormat
 

K

keepTraining(double) - Method in interface org.grouplens.lenskit.iterative.TrainingLoopController
Query whether the computation should stop.
KeyedObject - Interface in org.lenskit.util.keys
Interface for objects that can be identified by long key.
KeyedObjectMap<T> - Class in org.lenskit.util.keys
A map that allows objects with long keys to be looked up by key.
KeyedObjectMap(Iterable<? extends T>, KeyExtractor<? super T>) - Constructor for class org.lenskit.util.keys.KeyedObjectMap
Create a new keyed object map from a collection of data.
KeyedObjectMapBuilder<T> - Class in org.lenskit.util.keys
Builder for keyed object maps.
KeyedObjectMapBuilder(KeyExtractor<? super T>) - Constructor for class org.lenskit.util.keys.KeyedObjectMapBuilder
 
keyExtractor() - Static method in class org.lenskit.results.Results
Get a key extractor that extracts the result’s ID as its key.
KeyExtractor<T> - Interface in org.lenskit.util.keys
Extract keys from objects.
KeyIndex - Interface in org.lenskit.util.keys
Bidirectional mapping between long keys and a contiguous range of integer indexes.
keyIterator() - Method in class org.lenskit.util.keys.SortedKeyIndex
Create an iterator over keys.
keyIterator(int) - Method in class org.lenskit.util.keys.SortedKeyIndex
Create an iterator over keys.
keyOrdering(KeyExtractor<T>) - Static method in class org.lenskit.util.keys.Keys
 
Keys - Class in org.lenskit.util.keys
Utility class for key extractors.
keySet() - Method in class org.lenskit.results.BasicResultMap
 
keySet() - Method in class org.lenskit.util.keys.KeyedObjectMap
 
keySet() - Method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
 
keySet() - Method in class org.lenskit.util.keys.SortedKeyIndex
Get a view of the index as a set.
keyValueComparator(Long2DoubleFunction) - Static method in class org.lenskit.util.collections.LongUtils
Create a comparator that compares long keys by associated double values.
KnownRatingRatingPredictor - Class in org.lenskit.predict
Use a user’s existing ratings as predictions.
KnownRatingRatingPredictor(DataAccessObject) - Constructor for class org.lenskit.predict.KnownRatingRatingPredictor
 

L

lastIndexOf(Object) - Method in class org.lenskit.results.BasicResultList
 
lastLong() - Method in class org.lenskit.util.keys.LongSortedArraySet
 
lastLongKey() - Method in class org.lenskit.util.keys.KeyedObjectMap
 
lastLongKey() - Method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
 
Layout(EntityType, AttributeSet, Class<? extends EntityBuilder>) - Constructor for class org.lenskit.data.dao.file.EntitySource.Layout
Construct an entity source layout.
LearningRate - Annotation Type in org.grouplens.lenskit.iterative
Learning rate for iterative methods.
LeastSquaresItemScorer - Class in org.lenskit.baseline
Baseline scorer using least-squares estimates of preferences, trained by gradient descent.
LeastSquaresItemScorer(Long2DoubleMap, Long2DoubleMap, double) - Constructor for class org.lenskit.baseline.LeastSquaresItemScorer
Construct a new least-squares scorer.
LeastSquaresItemScorer.Builder - Class in org.lenskit.baseline
The builder for the least squares predictor.
length - Variable in class org.lenskit.eval.traintest.recommend.TopNLengthMetric.LengthResult
 
length() - Method in interface org.lenskit.util.table.Row
Get the length of this row.
LengthResult(double) - Constructor for class org.lenskit.eval.traintest.recommend.TopNLengthMetric.LengthResult
 
LenskitAnnotationProcessor - Class in org.lenskit.inject
Annotation processor to provide basic linting of LensKit annotations.
LenskitAnnotationProcessor() - Constructor for class org.lenskit.inject.LenskitAnnotationProcessor
 
LenskitBinding<T> - Interface in org.lenskit
LensKit-augmented binding interface.
LenskitCommandException - Exception in org.lenskit.cli
Exception thrown when a LensKit command fails.
LenskitCommandException() - Constructor for exception org.lenskit.cli.LenskitCommandException
 
LenskitCommandException(String) - Constructor for exception org.lenskit.cli.LenskitCommandException
 
LenskitCommandException(String, Throwable) - Constructor for exception org.lenskit.cli.LenskitCommandException
 
LenskitCommandException(Throwable) - Constructor for exception org.lenskit.cli.LenskitCommandException
 
LenskitCommandException(String, Throwable, boolean, boolean) - Constructor for exception org.lenskit.cli.LenskitCommandException
 
LenskitConfigContext - Interface in org.lenskit
LensKit-specific augmentations of the Grapht context interface.
LenskitConfigDSL - Class in org.lenskit.config
Methods for the LensKit configuration DSL.
LenskitConfigDSL(ConfigurationLoader) - Constructor for class org.lenskit.config.LenskitConfigDSL
Construct a new delegate with an empty configuration.
LenskitConfigDSL(ConfigurationLoader, URI) - Constructor for class org.lenskit.config.LenskitConfigDSL
Construct a new delegate with an empty configuration.
LenskitConfigDSL(ConfigurationLoader, LenskitConfiguration, URI) - Constructor for class org.lenskit.config.LenskitConfigDSL
Construct a new delegate.
LenskitConfigScript - Class in org.lenskit.config
Base class for LensKit configuration scripts.
LenskitConfigScript() - Constructor for class org.lenskit.config.LenskitConfigScript
 
LenskitConfigScript(Binding) - Constructor for class org.lenskit.config.LenskitConfigScript
 
LenskitConfiguration - Class in org.lenskit
A LensKit algorithm configuration.
LenskitConfiguration() - Constructor for class org.lenskit.LenskitConfiguration
Create a new LensKit configuration.
LenskitConfiguration(LenskitConfiguration) - Constructor for class org.lenskit.LenskitConfiguration
Create a new copy of a LensKit configuration.
LenskitInfo - Class in org.lenskit
Get access to general information about LensKit.
LenskitRecommender - Class in org.lenskit
Recommender implementation built on LensKit containers.
LenskitRecommender(DAGNode<Component, Dependency>) - Constructor for class org.lenskit.LenskitRecommender
Create a new LensKit recommender.
LenskitRecommenderEngine - Class in org.lenskit
LensKit implementation of a recommender engine.
LenskitRecommenderEngine(DAGNode<Component, Dependency>, boolean) - Constructor for class org.lenskit.LenskitRecommenderEngine
Build an engine encapsulating a dependency graph.
LenskitRecommenderEngineBuilder - Class in org.lenskit
Builds LensKit recommender engines from configurations.
LenskitRecommenderEngineBuilder() - Constructor for class org.lenskit.LenskitRecommenderEngineBuilder
 
LenskitRecommenderEngineLoader - Class in org.lenskit
Load a pre-built recommender engine from a file.
LenskitRecommenderEngineLoader() - Constructor for class org.lenskit.LenskitRecommenderEngineLoader
 
LenskitResultList - Interface in org.lenskit.results
LensKit refinement of the general result list type.
LenskitResultMap - Interface in org.lenskit.results
LensKit refinement of the general result map type.
lenskitVersion() - Static method in class org.lenskit.LenskitInfo
Get the current LensKit version.
likeBatch(long, long, int) - Method in class org.lenskit.data.entities.EntityFactory
 
limit(long) - Method in class org.lenskit.util.io.AbstractObjectStream
 
LineEntityParser - Class in org.lenskit.data.dao.file
Interface for parsers that parse an entity from a line of text.
LineEntityParser() - Constructor for class org.lenskit.data.dao.file.LineEntityParser
 
LineStream - Class in org.lenskit.util.io
Stream that reads lines from a file.
LineStream(BufferedReader) - Constructor for class org.lenskit.util.io.LineStream
Construct a stream reading lines from a buffered reader.
listCollector() - Static method in class org.lenskit.results.Results
A Java 8 collector that makes result lists.
listElementType(TypeToken<? extends List<T>>) - Static method in class org.lenskit.util.TypeUtils
Extract the element type from a type token representing a list.
listIterator() - Method in class org.lenskit.results.BasicResultList
 
listIterator(int) - Method in class org.lenskit.results.BasicResultList
 
listIterator() - Method in class org.lenskit.util.collections.CompactableLongArrayList
 
listIterator(int) - Method in class org.lenskit.util.collections.CompactableLongArrayList
 
ListOnlyTopNMetric<X> - Class in org.lenskit.eval.traintest.recommend
Intermediate class for top-N metrics that only depend on the list of recommended items, not their details.
ListOnlyTopNMetric(List<String>, List<String>) - Constructor for class org.lenskit.eval.traintest.recommend.ListOnlyTopNMetric
 
ListOnlyTopNMetric(Class<? extends TypedMetricResult>, Class<? extends TypedMetricResult>) - Constructor for class org.lenskit.eval.traintest.recommend.ListOnlyTopNMetric
 
ListOnlyTopNMetric(Class<? extends TypedMetricResult>, Class<? extends TypedMetricResult>, String) - Constructor for class org.lenskit.eval.traintest.recommend.ListOnlyTopNMetric
 
LiveNeighborFinder - Class in org.lenskit.knn.user
Neighborhood finder that does a fresh search over the data source ever time.
LiveNeighborFinder(RatingVectorPDAO, DataAccessObject, UserSimilarity, UserVectorNormalizer, UserVectorNormalizer, Threshold) - Constructor for class org.lenskit.knn.user.LiveNeighborFinder
Construct a new user neighborhood finder.
LiveUserItemBiasModel - Class in org.lenskit.bias
Bias model that provides global, user, and item biases.
LiveUserItemBiasModel(ItemBiasModel, RatingVectorPDAO) - Constructor for class org.lenskit.bias.LiveUserItemBiasModel
Construct a new bias model.
LKFileUtils - Class in org.lenskit.util.io
File utilities for LensKit.
load(Closure<?>) - Static method in class org.lenskit.config.ConfigHelpers
Load a LensKit configuration from a Groovy closure.
load(String) - Static method in class org.lenskit.config.ConfigHelpers
Deprecated.
Loading from Groovy source strings is confusing.
load(File) - Static method in class org.lenskit.config.ConfigHelpers
Load a LensKit configuration from a script file.
load(URL) - Static method in class org.lenskit.config.ConfigHelpers
Load a LensKit configuration from a script URL.
load(File) - Method in class org.lenskit.config.ConfigurationLoader
Load a configuration from a file.
load(URL) - Method in class org.lenskit.config.ConfigurationLoader
Load a configuration from a URL.
load(String) - Method in class org.lenskit.config.ConfigurationLoader
Deprecated.
Loading from Groovy sources as strings is confusing.
load(Closure<?>) - Method in class org.lenskit.config.ConfigurationLoader
Deprecated.
load(Path) - Static method in class org.lenskit.data.dao.file.StaticDataSource
Load a static file data set from a file.
load(Path, String) - Static method in class org.lenskit.data.dao.file.StaticDataSource
Load a static file data set from a file.
load(URI, String) - Static method in class org.lenskit.data.dao.file.StaticDataSource
Load a static file data set from a URI.
load(Path, String, ClassLoader) - Static method in class org.lenskit.eval.traintest.AlgorithmInstance
Load an algorithm instance from a file.
load(Path) - Static method in class org.lenskit.eval.traintest.DataSet
Load one or more data sets from a YAML manifest file.
load(URL) - Static method in class org.lenskit.eval.traintest.DataSet
Load one or more data sets from a YAML manifest file.
load(Path) - Static method in class org.lenskit.eval.traintest.TrainTestExperiment
Load a train-test experiment from a YAML file.
load(File) - Static method in class org.lenskit.LenskitRecommenderEngine
Create a new recommender engine by reading a previously serialized engine from the given file.
load(File, ClassLoader) - Static method in class org.lenskit.LenskitRecommenderEngine
Deprecated.
Use LenskitRecommenderEngineLoader for sophisticated loading.
load(InputStream) - Static method in class org.lenskit.LenskitRecommenderEngine
Create a new recommender engine by reading a previously serialized engine from the given input stream.
load(InputStream) - Method in class org.lenskit.LenskitRecommenderEngineLoader
Load a recommender engine from an input stream.
load(File) - Method in class org.lenskit.LenskitRecommenderEngineLoader
Load a recommender from a file.
loadConfigurations(List<File>) - Method in class org.lenskit.cli.util.ScriptEnvironment
 
loadEngine() - Method in class org.lenskit.cli.util.RecommenderLoader
 
loadScript(GroovyCodeSource, URI) - Method in class org.lenskit.config.ConfigurationLoader
Load a LensKit configuration script.
loadScript(File) - Method in class org.lenskit.config.ConfigurationLoader
Load a configuration script from a file.
loadScript(URL) - Method in class org.lenskit.config.ConfigurationLoader
Load a configuration script from a URL.
loadScript(String) - Method in class org.lenskit.config.ConfigurationLoader
Load a configuration script from a script source.
log(double) - Static method in class org.lenskit.eval.traintest.metrics.Discounts
Create a new logarithmic discount.
log2() - Static method in class org.lenskit.eval.traintest.metrics.Discounts
Create a log-base-2 discount.
log2(double) - Static method in class org.lenskit.util.math.Scalars
 
LogDiscount - Class in org.lenskit.eval.traintest.metrics
Logarithmic discounting.
LogDiscount(double) - Constructor for class org.lenskit.eval.traintest.metrics.LogDiscount
Construct a log discount.
logger - Variable in class org.lenskit.config.LenskitConfigScript
 
Logging - Class in org.lenskit.cli.util
CLI support for configuring the logging infrastructure.
LoggingStreamSlurper - Class in org.lenskit.util.io
Thread that reads an input stream and writes its lines to a logger.
LoggingStreamSlurper(String, InputStream, Logger, String) - Constructor for class org.lenskit.util.io.LoggingStreamSlurper
Create a new stream slurper.
logProgress() - Method in class org.lenskit.util.ProgressLogger
Log the current progress to the logger.
Long2DoubleAccumulator - Interface in org.lenskit.util.collections
Accumulate a sorted list of scored IDs.
long2DoubleEntrySet() - Method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
 
Long2DoubleSortedArrayMap - Class in org.lenskit.util.keys
An immutable long-to-double map backed by a sorted key array.
Long2DoubleSortedArrayMap(Map<Long, Double>) - Constructor for class org.lenskit.util.keys.Long2DoubleSortedArrayMap
Deprecated.
long2ObjectEntrySet() - Method in class org.lenskit.results.BasicResultMap
 
long2ObjectEntrySet() - Method in class org.lenskit.util.keys.KeyedObjectMap
 
LongAttrMethod(TypedName<?>) - Constructor for class org.lenskit.data.entities.AbstractBeanEntityBuilder.LongAttrMethod
 
LongSortedArraySet - Class in org.lenskit.util.keys
A sorted set of longs implemented using a sorted array.
LongSortedArraySet(SortedKeyIndex) - Constructor for class org.lenskit.util.keys.LongSortedArraySet
Construct a new long sorted array set from a key domain.
LongSortedArraySet(Collection<Long>) - Constructor for class org.lenskit.util.keys.LongSortedArraySet
Construct a new array set from a collection of items.
LongSortedArraySet(long[]) - Constructor for class org.lenskit.util.keys.LongSortedArraySet
Construct a new array set from an array of items.
LongUtils - Class in org.lenskit.util.collections
Utilities for working with longs and collections of them from Fastutil.
lookup(TypedName<?>) - Method in class org.lenskit.data.entities.AttributeSet
Look up an attribute.
lookup(TypedName<?>, boolean) - Method in class org.lenskit.data.entities.AttributeSet
Look up an attribute.
lookup(String) - Method in class org.lenskit.data.entities.AttributeSet
Look up an attribute.
lookup(EntityType) - Static method in class org.lenskit.data.entities.EntityDefaults
Look up the defaults for a particular entity type.
lookup(long) - Method in class org.lenskit.data.store.EntityCollection
Look up an entity by ID.
lookupEntity(EntityType, long) - Method in interface org.lenskit.data.dao.DataAccessObject
Look up an entity by ID.
lookupEntity(EntityType, long, Class<E>) - Method in interface org.lenskit.data.dao.DataAccessObject
Look up an entity by ID and project it to a view class.
lookupEntity(EntityType, long) - Method in class org.lenskit.data.dao.EntityCollectionDAO
 
lookupEntity(EntityType, long, Class<E>) - Method in class org.lenskit.data.dao.EntityCollectionDAO
 
lookupFromStringConverter(TypeToken<T>) - Static method in class org.lenskit.util.TypeUtils
Look up a converter to convert strings to the specified type.

M

MAEPredictMetric - Class in org.lenskit.eval.traintest.predict
Evaluate a recommender’s prediction accuracy with MAE (Mean Absolute Error).
MAEPredictMetric() - Constructor for class org.lenskit.eval.traintest.predict.MAEPredictMetric
 
MAEPredictMetric.Context - Class in org.lenskit.eval.traintest.predict
 
Main - Class in org.lenskit.cli
Main entry point for lenskit-cli.
Main() - Constructor for class org.lenskit.cli.Main
 
main(String[]) - Static method in class org.lenskit.cli.Main
 
make(long, long, double) - Static method in class org.lenskit.data.ratings.Ratings
make(long, long, double, long) - Static method in class org.lenskit.data.ratings.Ratings
makeChild(String) - Method in class org.lenskit.util.monitor.TrackedJob
Create a child job.
makeChild(String, String) - Method in class org.lenskit.util.monitor.TrackedJob
Create a child job.
makeInstantiator(Map<Desire, Instantiator>, LifecycleManager) - Method in class org.lenskit.inject.PlaceholderSatisfaction
 
makeLayout(Class<? extends AbstractBeanEntity>) - Static method in class org.lenskit.data.entities.AbstractBeanEntity
 
makeList(ObjectStream<? extends T>) - Static method in class org.lenskit.util.io.ObjectStreams
Deprecated.
Use Stream.collect(Collector).
makeListType(TypeToken<T>) - Static method in class org.lenskit.util.TypeUtils
Make a type token for a list of a particular element type.
makeParser(List<String>) - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
 
makeParser(List<String>) - Method in interface org.lenskit.data.dao.file.EntityFormat
Create an entity parser for a file.
makeParser(List<String>) - Method in class org.lenskit.data.dao.file.JSONEntityFormat
 
makeTransformation(long, Long2DoubleMap) - Method in class org.lenskit.transform.normalize.BaselineSubtractingUserVectorNormalizer
 
makeTransformation(long, Long2DoubleMap) - Method in class org.lenskit.transform.normalize.BiasItemVectorNormalizer
 
makeTransformation(long, Long2DoubleMap) - Method in class org.lenskit.transform.normalize.BiasUserVectorNormalizer
 
makeTransformation(long, Long2DoubleMap) - Method in class org.lenskit.transform.normalize.DefaultItemVectorNormalizer
 
makeTransformation(long, Long2DoubleMap) - Method in class org.lenskit.transform.normalize.DefaultUserVectorNormalizer
 
makeTransformation(Long2DoubleMap) - Method in class org.lenskit.transform.normalize.IdentityVectorNormalizer
 
makeTransformation(long, Long2DoubleMap) - Method in interface org.lenskit.transform.normalize.ItemVectorNormalizer
Make a vector transformation for a item.
makeTransformation(Long2DoubleMap) - Method in class org.lenskit.transform.normalize.MeanCenteringVectorNormalizer
 
makeTransformation(Long2DoubleMap) - Method in class org.lenskit.transform.normalize.MeanVarianceNormalizer
 
makeTransformation(Long2DoubleMap) - Method in class org.lenskit.transform.normalize.UnitVectorNormalizer
 
makeTransformation(long, Long2DoubleMap) - Method in interface org.lenskit.transform.normalize.UserVectorNormalizer
Make a vector transformation for a user.
makeTransformation(Long2DoubleMap) - Method in interface org.lenskit.transform.normalize.VectorNormalizer
Create a vector transformation that normalizes and denormalizes vectors with respect to a reference vector.
makeTypeName(TypeToken<T>) - Static method in class org.lenskit.util.TypeUtils
Turn a type token into a parsable type name.
makeVector(List<Entity>) - Method in class org.lenskit.data.ratings.AbstractRatingVectorPDAO
Make a vector from entities.
makeVector(List<Entity>) - Method in class org.lenskit.data.ratings.CountSumRatingVectorPDAO
 
makeVector(List<Entity>) - Method in class org.lenskit.data.ratings.EntityCountRatingVectorPDAO
 
map - Variable in class org.lenskit.eval.traintest.recommend.TopNMAPMetric.AggregateResult
The MAP over all users.
map(Function<? super T, ? extends R>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
mapCollector(ToLongFunction<T>, Function<T, E>) - Static method in class org.lenskit.util.collections.LongUtils
 
mapToDouble(ToDoubleFunction<? super T>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
mapToInt(ToIntFunction<? super T>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
mapToLong(ToLongFunction<? super T>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
mapValue(Function<? super T, ? extends R>) - Method in class org.lenskit.util.IdBox
Transform the value in a box.
matches(Entity) - Method in class org.lenskit.data.dao.EntityQuery
Determine whether this query matches the specified entity.
matching(ContextPattern) - Method in class org.lenskit.config.BindingDSL
 
matching(ContextPattern, Closure<?>) - Method in class org.lenskit.config.BindingDSL
 
matching(ContextPattern) - Method in interface org.lenskit.LenskitConfigContext
 
matching(ContextPattern) - Method in class org.lenskit.LenskitConfiguration
 
matrixRow(RealMatrix, int) - Static method in class org.lenskit.util.math.Vectors
Create a flyweight row view of a matrix.
max(Comparator<? super T>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
maybeGet(String) - Method in class org.lenskit.data.entities.AbstractBeanEntity
 
maybeGet(TypedName<T>) - Method in class org.lenskit.data.entities.AbstractBeanEntity
 
maybeGet(TypedName<T>) - Method in class org.lenskit.data.entities.AbstractEntity
Get the value of a possibly-missing attribute.
maybeGet(TypedName<T>) - Method in interface org.lenskit.data.entities.Entity
Get the value of a possibly-missing attribute.
maybeGet(String) - Method in interface org.lenskit.data.entities.Entity
Get the value of a possibly-missing attribute by name.
MaybeThreadSafe - Interface in org.lenskit.util.parallel
Interface for objects that can report at runtime whether they are thread-safe.
mean - Variable in class org.lenskit.eval.traintest.recommend.TopNPopularityMetric.PopResult
 
mean(Long2DoubleMap) - Static method in class org.lenskit.util.math.Vectors
Compute the arithmetic mean of a vector’s values.
MeanCenteringVectorNormalizer - Class in org.lenskit.transform.normalize
Vector normlizer that subtracts the mean from every value.
MeanCenteringVectorNormalizer() - Constructor for class org.lenskit.transform.normalize.MeanCenteringVectorNormalizer
 
MeanDamping - Annotation Type in org.lenskit.baseline
Damping parameter for means in baseline predictors.
MeanVarianceNormalizer - Class in org.lenskit.transform.normalize
MeanVarianceNormalizer() - Constructor for class org.lenskit.transform.normalize.MeanVarianceNormalizer
Initializes basic normalizer with no damping.
MeanVarianceNormalizer(double, double) - Constructor for class org.lenskit.transform.normalize.MeanVarianceNormalizer
Construct a new mean variance normalizer.
measureResult(long, Result, X) - Method in class org.lenskit.eval.traintest.metrics.ResultMetric
Measure a single result.
measureUser(Recommender, TestUser) - Method in interface org.lenskit.eval.traintest.ConditionEvaluator
Measure the performance for a single user.
measureUser(TestUser, ResultMap, CoveragePredictMetric.Context) - Method in class org.lenskit.eval.traintest.predict.CoveragePredictMetric
 
measureUser(TestUser, ResultMap, MAEPredictMetric.Context) - Method in class org.lenskit.eval.traintest.predict.MAEPredictMetric
 
measureUser(TestUser, ResultMap, Mean) - Method in class org.lenskit.eval.traintest.predict.NDCGPredictMetric
 
measureUser(TestUser, ResultMap, X) - Method in class org.lenskit.eval.traintest.predict.PredictMetric
Measure a single result.
measureUser(TestUser, ResultMap, RMSEPredictMetric.Context) - Method in class org.lenskit.eval.traintest.predict.RMSEPredictMetric
 
measureUser(Recommender, TestUser, int, ResultList, X) - Method in class org.lenskit.eval.traintest.recommend.ListOnlyTopNMetric
 
measureUser(Recommender, TestUser, int, LongList, X) - Method in class org.lenskit.eval.traintest.recommend.ListOnlyTopNMetric
Measurement method that only uses the recommend list.
measureUser(Recommender, TestUser, int, LongList, TopNEntropyMetric.Context) - Method in class org.lenskit.eval.traintest.recommend.TopNEntropyMetric
 
measureUser(Recommender, TestUser, int, LongList, Mean) - Method in class org.lenskit.eval.traintest.recommend.TopNLengthMetric
 
measureUser(Recommender, TestUser, int, LongList, TopNMAPMetric.Context) - Method in class org.lenskit.eval.traintest.recommend.TopNMAPMetric
 
measureUser(Recommender, TestUser, int, ResultList, X) - Method in class org.lenskit.eval.traintest.recommend.TopNMetric
Measure a single result.
measureUser(Recommender, TestUser, int, LongList, TopNMRRMetric.Context) - Method in class org.lenskit.eval.traintest.recommend.TopNMRRMetric
 
measureUser(Recommender, TestUser, int, LongList, Mean) - Method in class org.lenskit.eval.traintest.recommend.TopNNDCGMetric
 
measureUser(Recommender, TestUser, int, LongList, Mean) - Method in class org.lenskit.eval.traintest.recommend.TopNNDPMMetric
 
measureUser(Recommender, TestUser, int, LongList, TopNPopularityMetric.Context) - Method in class org.lenskit.eval.traintest.recommend.TopNPopularityMetric
 
measureUser(Recommender, TestUser, int, LongList, TopNPrecisionRecallMetric.Context) - Method in class org.lenskit.eval.traintest.recommend.TopNPrecisionRecallMetric
 
methodMissing(String, Object) - Method in class org.lenskit.config.LenskitConfigScript
Groovy override to pass things off to the delegate.
Metric<X> - Class in org.lenskit.eval.traintest.metrics
Interface for common aspects of metrics, which are used to measure individual or per-user results.
Metric(List<String>, List<String>) - Constructor for class org.lenskit.eval.traintest.metrics.Metric
 
MetricColumn - Annotation Type in org.lenskit.eval.traintest.metrics
Specify the information for a column method in a metric response type.
MetricLoaderHelper - Class in org.lenskit.eval.traintest.metrics
Helper for loading metrics from the classpath.
MetricLoaderHelper(ClassLoader, String) - Constructor for class org.lenskit.eval.traintest.metrics.MetricLoaderHelper
Create a new loader helper.
MetricResult - Class in org.lenskit.eval.traintest.metrics
Class containing metric results.
MetricResult() - Constructor for class org.lenskit.eval.traintest.metrics.MetricResult
 
min(Comparator<? super T>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
MinCommonUsers - Annotation Type in org.lenskit.knn.item
The minimum users two items must have in common in order to be included in the similarity model.
MinimumIterations - Annotation Type in org.grouplens.lenskit.iterative
The minimum number of iterations to use.
MinNeighbors - Annotation Type in org.lenskit.knn
The minimum number of neighbors required to attempt a prediction.
model - Variable in class org.lenskit.knn.item.ItemItemItemBasedItemScorer
 
model - Variable in class org.lenskit.knn.item.ItemItemScorer
 
model - Variable in class org.lenskit.slopeone.SlopeOneItemScorer
 
ModelDisposition - Enum in org.lenskit
The way components should be handled when building a LensKit recommender.
ModelSize - Annotation Type in org.lenskit.knn.item
Number of neighbors to retain in the similarity matrix.
MoreArrays - Class in org.lenskit.util
Extra array utilities.
mrr - Variable in class org.lenskit.eval.traintest.recommend.TopNMRRMetric.AggregateResult
The MRR over all users.
MultiAlgorithmDSL - Class in org.lenskit.eval.traintest
DSL delegate for configuring multiple LensKit algorithms with names and attributes.
MultiAlgorithmDSL(ConfigurationLoader, AlgorithmInstanceBuilder) - Constructor for class org.lenskit.eval.traintest.MultiAlgorithmDSL
 
MultiplexedTableWriter - Class in org.lenskit.util.table.writer
 
MultiplexedTableWriter(TableLayout, List<TableWriter>) - Constructor for class org.lenskit.util.table.writer.MultiplexedTableWriter
 
MultiplexedTableWriter(TableLayout, TableWriter...) - Constructor for class org.lenskit.util.table.writer.MultiplexedTableWriter
 
multiplyScalar(Long2DoubleMap, double) - Static method in class org.lenskit.util.math.Vectors
Multiply each element of a vector by a scalar.
MutualInformationAccumulator - Class in org.lenskit.util.math
Accumulate mutual information over two discrete variables.
MutualInformationAccumulator(int, int) - Constructor for class org.lenskit.util.math.MutualInformationAccumulator
Construct a new accumulator.
MutualInformationAccumulator(int) - Constructor for class org.lenskit.util.math.MutualInformationAccumulator
Construct a new accumulator with equal-sized event spaces.
MutualInformationVectorSimilarity - Class in org.lenskit.similarity
Similarity function that assumes the two vectors are paired samples from 2 correlated random variables.
MutualInformationVectorSimilarity(Quantizer) - Constructor for class org.lenskit.similarity.MutualInformationVectorSimilarity
Construct a new mutual information similarity.

N

NAME - Static variable in class org.lenskit.data.entities.CommonAttributes
A name associated with the entity.
nameSet() - Method in class org.lenskit.data.entities.AttributeSet
Get a set-of-strings view of this attribute set.
nattempted - Variable in class org.lenskit.eval.traintest.predict.CoveragePredictMetric.Coverage
 
NDCGPredictMetric - Class in org.lenskit.eval.traintest.predict
Evaluate a recommender’s predictions with normalized discounted cumulative gain.
NDCGPredictMetric() - Constructor for class org.lenskit.eval.traintest.predict.NDCGPredictMetric
Create a new log_2 nDCG metric with column name “Predict.nDCG”.
NDCGPredictMetric(Discount) - Constructor for class org.lenskit.eval.traintest.predict.NDCGPredictMetric
Create a new nDCG metric with column name “Predict.nDCG”.
NDCGPredictMetric(NDCGPredictMetric.Spec) - Constructor for class org.lenskit.eval.traintest.predict.NDCGPredictMetric
Construct a predict metric from a spec.
NDCGPredictMetric(Discount, String) - Constructor for class org.lenskit.eval.traintest.predict.NDCGPredictMetric
Create a new nDCG metric.
NDCGPredictMetric.Spec - Class in org.lenskit.eval.traintest.predict
Specification for configuring nDCG metrics.
Neighbor - Class in org.lenskit.knn.user
Representation of a single neighboring user.
Neighbor(long, Long2DoubleMap, double) - Constructor for class org.lenskit.knn.user.Neighbor
Construct a new neighbor.
NeighborFinder - Interface in org.lenskit.knn.user
Finds candidate neighbors for a user.
neighborFinder - Variable in class org.lenskit.knn.user.UserUserItemScorer
 
NeighborhoodScorer - Interface in org.lenskit.knn.item
Compute scores from neighborhoods and score vectors.
NeighborhoodSize - Annotation Type in org.lenskit.knn
Number of neighbors to consider when building a prediction.
NeighborIterationStrategy - Interface in org.lenskit.knn.item.model
Abstraction of strategies for iterating over potential neighboring items.
neighborIterator(ItemItemBuildContext, long, boolean) - Method in class org.lenskit.knn.item.model.BasicNeighborIterationStrategy
 
neighborIterator(ItemItemBuildContext, long, boolean) - Method in interface org.lenskit.knn.item.model.NeighborIterationStrategy
Get an iterator over possible neighbors of an item.
neighborIterator(ItemItemBuildContext, long, boolean) - Method in class org.lenskit.knn.item.model.SparseNeighborIterationStrategy
 
newBareBuilder(EntityType) - Static method in class org.lenskit.data.store.EntityCollection
Create a new builder for colletions of bare entitites (only storing IDs).
newBuilder() - Static method in class org.lenskit.basic.PrecomputedItemScorer
Construct a new builder for precomputed item scorers.
newBuilder() - Static method in class org.lenskit.data.dao.EntityCollectionDAO
Create a new DAO builder.
newBuilder(EntityType) - Static method in class org.lenskit.data.dao.EntityQuery
Construct a new data query builder.
newBuilder(EntityType) - Static method in class org.lenskit.data.entities.Entities
Create a new basic entity builder.
newBuilder(EntityType, long) - Static method in class org.lenskit.data.entities.Entities
Create a new basic entity builder.
newBuilder() - Static method in class org.lenskit.data.ratings.PreferenceDomain
Create a new preference domain builder.
newBuilder() - Static method in class org.lenskit.data.ratings.Rating
Create a new rating builder.
newBuilder(EntityType) - Static method in class org.lenskit.data.store.EntityCollection
Create a new entity collection builder.
newBuilder(EntityType, AttributeSet) - Static method in class org.lenskit.data.store.EntityCollection
Create a new packed entity collection builder.
newBuilder(EntityType, AttributeSet, Class<? extends EntityBuilder>) - Static method in class org.lenskit.data.store.EntityCollection
Create a new packed entity collection builder.
newBuilder() - Static method in class org.lenskit.eval.traintest.DataSet
Create a new generic train-test data set builder.
newBuilder(String) - Static method in class org.lenskit.eval.traintest.DataSet
Create a new generic train-test data set builder.
newBuilder() - Static method in class org.lenskit.eval.traintest.TestUser
Make a builder for test users.
newBuilder() - Static method in class org.lenskit.LenskitRecommenderEngine
Create a new recommender engine builder.
newBuilder(KeyExtractor<? super T>) - Static method in class org.lenskit.util.keys.KeyedObjectMap
Create a new builder for a keyed object map.
newBuilder() - Static method in class org.lenskit.util.keys.KeyedObjectMap
Create a new builder for a keyed object map over a self-keying type.
newEntityBuilder() - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
Instantiate a new entity builder.
newEntityBuilder() - Method in class org.lenskit.data.dao.file.JSONEntityFormat
Instantiate a new entity builder.
newInstance() - Method in class org.lenskit.util.reflect.InstanceFactory
Create a new instance.
newLoader() - Static method in class org.lenskit.LenskitRecommenderEngine
Create a new recommender engine loader.
newLoop() - Method in class org.grouplens.lenskit.iterative.ErrorThresholdStoppingCondition
 
newLoop() - Method in class org.grouplens.lenskit.iterative.IterationCountStoppingCondition
 
newLoop() - Method in interface org.grouplens.lenskit.iterative.StoppingCondition
Create a controller for a new training loop.
newLoop() - Method in class org.grouplens.lenskit.iterative.ThresholdStoppingCondition
 
newResultList(List<? extends Result>) - Static method in class org.lenskit.results.Results
Create a new result list.
newResultList(R...) - Static method in class org.lenskit.results.Results
Create a new result list.
newResultMap(Iterable<? extends Result>) - Static method in class org.lenskit.results.Results
Create a new result list.
newResultMap(R...) - Static method in class org.lenskit.results.Results
Create a new result list.
newRowBuilder() - Method in class org.lenskit.util.table.TableLayout
Create a new row builder for this layout.
next() - Method in class org.lenskit.util.io.ObjectStreamIterator
 
nextItem(long, int, List<? extends Result>, List<? extends Result>) - Method in class org.lenskit.rerank.AbstractFilteringGreedyRerankStrategy
 
nextItem(long, int, List<? extends Result>, List<? extends Result>) - Method in class org.lenskit.rerank.AbstractScoringGreedyRerankStrategy
 
nextItem(long, int, List<? extends Result>, List<? extends Result>) - Method in interface org.lenskit.rerank.GreedyRerankStrategy
A method to select the next item to be recommended.
ngood - Variable in class org.lenskit.eval.traintest.predict.CoveragePredictMetric.Coverage
 
NodeInstantiator - Class in org.lenskit.inject
Instantiate graph nodes.
NodeInstantiator() - Constructor for class org.lenskit.inject.NodeInstantiator
 
NodeProcessor - Interface in org.lenskit.inject
Process a node in a graph.
NodeProcessors - Class in org.lenskit.inject
 
noneMatch(Predicate<? super T>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
noop(TableLayout) - Static method in class org.lenskit.util.table.writer.TableWriters
Create a table writer that does nothing.
NoOpTruncator - Class in org.grouplens.lenskit.transform.truncate
A VectorTruncator that does not actually perform any truncation.
NoOpTruncator() - Constructor for class org.grouplens.lenskit.transform.truncate.NoOpTruncator
 
normalizer - Variable in class org.lenskit.knn.item.ItemItemScorer
 
normalizer - Variable in class org.lenskit.knn.user.UserUserItemScorer
 
NormalizingItemItemModelProvider - Class in org.lenskit.knn.item.model
Build an item-item CF model from rating data.
NormalizingItemItemModelProvider(ItemSimilarity, ItemItemBuildContext, ItemVectorNormalizer, VectorTruncator, NeighborIterationStrategy) - Constructor for class org.lenskit.knn.item.model.NormalizingItemItemModelProvider
Construct a normalizing item-item model builder.
NoSuchAttributeException - Exception in org.lenskit.data.entities
Exception thrown when a nonexistent field is requested.
NoSuchAttributeException() - Constructor for exception org.lenskit.data.entities.NoSuchAttributeException
NoSuchAttributeException(String) - Constructor for exception org.lenskit.data.entities.NoSuchAttributeException
NoSuchAttributeException(String, Throwable) - Constructor for exception org.lenskit.data.entities.NoSuchAttributeException
NoSuchAttributeException(Throwable) - Constructor for exception org.lenskit.data.entities.NoSuchAttributeException
NoThreshold - Class in org.grouplens.lenskit.transform.threshold
Represents the absence of a threshold function, choosing to retain all similarity values passed to it.
NoThreshold() - Constructor for class org.grouplens.lenskit.transform.threshold.NoThreshold
 
nullSelector() - Static method in class org.lenskit.eval.traintest.recommend.ItemSelector
Get an item selector that returns null.
nusers - Variable in class org.lenskit.eval.traintest.predict.CoveragePredictMetric.AggregateCoverage
 

O

objectCollection(Collection<E>) - Static method in class org.lenskit.util.collections.CollectionUtils
Wrap a Collection in an ObjectCollection.
objects() - Method in class org.lenskit.util.keys.KeyedObjectMapBuilder
Get the objects that have been added so far.
ObjectStream<T> - Interface in org.lenskit.util.io
A stream of objects read from somewhere.
ObjectStreamIterator<T> - Class in org.lenskit.util.io
Simple implementation of an Iterator that wraps a object stream’s data.
ObjectStreamIterator(ObjectStream<T>) - Constructor for class org.lenskit.util.io.ObjectStreamIterator
Construct a new iterator from a stream.
ObjectStreams - Class in org.lenskit.util.io
Utility methods for streams.
of(T...) - Static method in class org.lenskit.util.io.ObjectStreams
Create an object stream over a fixed set of elements.
onClose(Runnable) - Method in class org.lenskit.util.io.AbstractObjectStream
 
open(File, TableLayout, CompressionMode) - Static method in class org.lenskit.util.table.writer.CSVWriter
Open a CSV writer to write to a file.
open(File, TableLayout) - Static method in class org.lenskit.util.table.writer.CSVWriter
Open a CSV writer to write to an auto-compressed file.
openFile(File) - Static method in class org.lenskit.util.io.LineStream
Open a delimited text stream as a file.
openFile(File, CompressionMode) - Static method in class org.lenskit.util.io.LineStream
Open a delimited text stream as a file.
openInput(File, Charset, CompressionMode) - Static method in class org.lenskit.util.io.LKFileUtils
Open a file for input, optionally compressed.
openInput(File, CompressionMode) - Static method in class org.lenskit.util.io.LKFileUtils
Open a file for input with the default charset.
openInput(File) - Static method in class org.lenskit.util.io.LKFileUtils
Open a reader with automatic compression and the default character set.
openOutput(File, Charset, CompressionMode) - Static method in class org.lenskit.util.io.LKFileUtils
Open a file for input, optionally compressed.
openOutput(File, CompressionMode) - Static method in class org.lenskit.util.io.LKFileUtils
Open a file for output with the default charset.
openOutput(File) - Static method in class org.lenskit.util.io.LKFileUtils
Open a reader with automatic compression inference.
openOutputStream() - Method in class org.lenskit.util.io.StagedWrite
Open an output stream for the staging file.
openStream() - Method in interface org.lenskit.data.dao.file.EntitySource
Get the data from this entity source.
openStream() - Method in class org.lenskit.data.dao.file.TextEntitySource
Open a stream to read entities from this source.
openStream() - Method in class org.lenskit.util.io.CompressedByteSource
 
orderBy(TypedName<? extends Comparable<?>>) - Method in interface org.lenskit.data.dao.Query
Sort the query results by a field.
orderBy(TypedName<? extends Comparable<?>>, SortOrder) - Method in interface org.lenskit.data.dao.Query
Sort the query results by a field.
ordering() - Method in class org.lenskit.data.dao.SortKey
Create an ordering (comparator) over entities from this sort key.
OrdRecRatingPredictor - Class in org.lenskit.predict.ordrec
OrdRec implementation of rating prediction.
OrdRecRatingPredictor(ItemScorer, DataAccessObject, Quantizer, double, double, int) - Constructor for class org.lenskit.predict.ordrec.OrdRecRatingPredictor
Construct a new OrdRec rating predictor.
OrdRecRatingPredictor.FullResult - Class in org.lenskit.predict.ordrec
The result type of OrdRec rating predictions.
org.grouplens.lenskit.iterative - package org.grouplens.lenskit.iterative
Common utilities for iterative methods.
org.grouplens.lenskit.transform.clamp - package org.grouplens.lenskit.transform.clamp
Clamping functions.
org.grouplens.lenskit.transform.threshold - package org.grouplens.lenskit.transform.threshold
Threshold values.
org.grouplens.lenskit.transform.truncate - package org.grouplens.lenskit.transform.truncate
 
org.lenskit - package org.lenskit
 
org.lenskit.api - package org.lenskit.api
Interfaces defining an implementation-independent recommendation API.
org.lenskit.baseline - package org.lenskit.baseline
Baseline scorers.
org.lenskit.basic - package org.lenskit.basic
Basic component implementations.
org.lenskit.bias - package org.lenskit.bias
User-item bias models, suitable for use in baseline scorers and normalizers.
org.lenskit.cli - package org.lenskit.cli
LensKit command line commands and infrastructure.
org.lenskit.cli.commands - package org.lenskit.cli.commands
Commands for the LensKit CLI.
org.lenskit.cli.util - package org.lenskit.cli.util
Helper utilities for the LensKit CLI.
org.lenskit.config - package org.lenskit.config
Configuration loading support.
org.lenskit.data.dao - package org.lenskit.data.dao
LensKit data access objects.
org.lenskit.data.dao.file - package org.lenskit.data.dao.file
 
org.lenskit.data.entities - package org.lenskit.data.entities
Code for LensKit’s core entity data model.
org.lenskit.data.output - package org.lenskit.data.output
 
org.lenskit.data.ratings - package org.lenskit.data.ratings
Ratings data type.
org.lenskit.data.store - package org.lenskit.data.store
In-memory storage of entities.
org.lenskit.eval.crossfold - package org.lenskit.eval.crossfold
 
org.lenskit.eval.temporal - package org.lenskit.eval.temporal
 
org.lenskit.eval.traintest - package org.lenskit.eval.traintest
Train-test evaluation support.
org.lenskit.eval.traintest.metrics - package org.lenskit.eval.traintest.metrics
 
org.lenskit.eval.traintest.predict - package org.lenskit.eval.traintest.predict
Prediction accuracy measurements for the train-test evaluator.
org.lenskit.eval.traintest.recommend - package org.lenskit.eval.traintest.recommend
 
org.lenskit.external - package org.lenskit.external
 
org.lenskit.graph - package org.lenskit.graph
Support code for visualizing recommender graphs.
org.lenskit.hybrid - package org.lenskit.hybrid
Hybrid recommenders.
org.lenskit.inject - package org.lenskit.inject
Support classes for working with dependency injection.
org.lenskit.knn - package org.lenskit.knn
Neighborhood-based collaborative filtering (common support code).
org.lenskit.knn.item - package org.lenskit.knn.item
Implementation of item-item collaborative filtering.
org.lenskit.knn.item.model - package org.lenskit.knn.item.model
Model classes and builders for the item-item k-NN collaborative filter.
org.lenskit.knn.user - package org.lenskit.knn.user
Implementation of user-user collaborative filtering.
org.lenskit.predict - package org.lenskit.predict
 
org.lenskit.predict.ordrec - package org.lenskit.predict.ordrec
 
org.lenskit.rerank - package org.lenskit.rerank
re-ranking recommenders.
org.lenskit.results - package org.lenskit.results
 
org.lenskit.similarity - package org.lenskit.similarity
Similarity functions over vectors.
org.lenskit.slopeone - package org.lenskit.slopeone
 
org.lenskit.transform.normalize - package org.lenskit.transform.normalize
Interfaces and classes for data normalization.
org.lenskit.transform.quantize - package org.lenskit.transform.quantize
Quantize values.
org.lenskit.util - package org.lenskit.util
 
org.lenskit.util.collections - package org.lenskit.util.collections
Custom collections and related utilities.
org.lenskit.util.describe - package org.lenskit.util.describe
The ‘describer’ framework.
org.lenskit.util.io - package org.lenskit.util.io
 
org.lenskit.util.keys - package org.lenskit.util.keys
Data structures indexed by long IDs (keys).
org.lenskit.util.math - package org.lenskit.util.math
 
org.lenskit.util.monitor - package org.lenskit.util.monitor
 
org.lenskit.util.parallel - package org.lenskit.util.parallel
Utilities for parallel and concurrent computation.
org.lenskit.util.reflect - package org.lenskit.util.reflect
 
org.lenskit.util.table - package org.lenskit.util.table
 
org.lenskit.util.table.writer - package org.lenskit.util.table.writer
Utilities for writing two-dimensional tables of data.
OutputFormat - Enum in org.lenskit.data.output
 

P

PackedRatingMatrix - Class in org.lenskit.data.ratings
An in-memory snapshot of rating data stored in packed arrays.
PackedRatingMatrixProvider - Class in org.lenskit.data.ratings
Build a packed rating matrix from the available rating events.
PackedRatingMatrixProvider(RatingVectorPDAO, Random) - Constructor for class org.lenskit.data.ratings.PackedRatingMatrixProvider
 
packedSet(Collection<Long>) - Static method in class org.lenskit.util.collections.LongUtils
Pack longs into a sorted set.
packedSet(long...) - Static method in class org.lenskit.util.collections.LongUtils
Pack longs into a sorted set.
parallel() - Method in class org.lenskit.util.io.AbstractObjectStream
 
Parameter - Annotation Type in org.lenskit.inject
Annotation for component parameters.
parse(String) - Method in class org.lenskit.data.dao.file.LineEntityParser
Parse an entity from a line of text.
parse(String) - Static method in class org.lenskit.eval.traintest.metrics.Discounts
Parse a discount expression from a string.
parseString(String) - Method in class org.lenskit.data.entities.TypedName
Parse a string containing this attribute’s value.
partition(List<? extends Rating>) - Method in class org.lenskit.eval.crossfold.FractionHistoryPartitionMethod
 
partition(List<? extends Rating>) - Method in interface org.lenskit.eval.crossfold.HistoryPartitionMethod
Compute a partition of of the data.
partition(List<? extends Rating>) - Method in class org.lenskit.eval.crossfold.HoldoutNHistoryPartitionMethod
 
partition(List<? extends Rating>) - Method in class org.lenskit.eval.crossfold.RetainNHistoryPartitionMethod
 
partitionEntities() - Static method in class org.lenskit.eval.crossfold.CrossfoldMethods
Create a crossfold method that partitions ratings into disjoint partitions.
partitionItems(HistoryPartitionMethod) - Static method in class org.lenskit.eval.crossfold.CrossfoldMethods
Create a crossfold method that splits items into disjoint partitions.
partitionUsers(SortOrder, HistoryPartitionMethod) - Static method in class org.lenskit.eval.crossfold.CrossfoldMethods
Create a crossfold method that splits users into disjoint partitions.
PearsonCorrelation - Class in org.lenskit.similarity
Similarity function using Pearson correlation.
PearsonCorrelation() - Constructor for class org.lenskit.similarity.PearsonCorrelation
 
PearsonCorrelation(double) - Constructor for class org.lenskit.similarity.PearsonCorrelation
 
peek(Consumer<? super T>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
pickRandom(Set<Long>, int) - Method in class org.lenskit.eval.traintest.recommend.ItemSelector.ItemSelectScript
Pick a random subset of a set of items.
PlaceholderSatisfaction - Class in org.lenskit.inject
A placeholder satisfaction for graph rewriting.
PlaceholderSatisfaction(Class<?>) - Constructor for class org.lenskit.inject.PlaceholderSatisfaction
 
PopResult(double) - Constructor for class org.lenskit.eval.traintest.recommend.TopNPopularityMetric.PopResult
 
PopularItemRecommender - Class in org.lenskit.basic
Recommend the most popular items.
PopularItemRecommender(InteractionStatistics, DataAccessObject) - Constructor for class org.lenskit.basic.PopularItemRecommender
Create a new popular item recommender.
PopularityRankItemScorer - Class in org.lenskit.basic
Item scorer scores items based on their popularity rank.
PopularityRankItemScorer(InteractionStatistics) - Constructor for class org.lenskit.basic.PopularityRankItemScorer
 
precision - Variable in class org.lenskit.eval.traintest.recommend.TopNPrecisionRecallMetric.PresRecResult
 
PrecomputedItemScorer - Class in org.lenskit.basic
An item scorer that stores a precomputed map of item scores.
PrecomputedItemScorer.Builder - Class in org.lenskit.basic
Builder for mock item scorers.
predict(long, long) - Method in interface org.lenskit.api.RatingPredictor
Predict a user’s rating for a single item.
predict(long, Collection<Long>) - Method in interface org.lenskit.api.RatingPredictor
Predict the user’s preference for a collection of items.
predict(long, long) - Method in class org.lenskit.basic.AbstractRatingPredictor
Predict a user’s rating for a single item.
predict(long, Collection<Long>) - Method in class org.lenskit.basic.AbstractRatingPredictor
Predict the user’s preference for a collection of items.
predict(long, long) - Method in class org.lenskit.basic.SimpleRatingPredictor
 
predict(long, Collection<Long>) - Method in class org.lenskit.basic.SimpleRatingPredictor
 
Predict - Class in org.lenskit.cli.commands
Predict item ratings for a user.
Predict() - Constructor for class org.lenskit.cli.commands.Predict
 
predict(long, Collection<Long>) - Method in class org.lenskit.predict.ordrec.OrdRecRatingPredictor
 
PredictEvalTask - Class in org.lenskit.eval.traintest.predict
An eval task that attempts to predict the user’s test ratings.
PredictEvalTask() - Constructor for class org.lenskit.eval.traintest.predict.PredictEvalTask
Create a new eval task.
PredictionScorer - Annotation Type in org.lenskit.basic
Qualifier for item scorer used to produce rating predictions by SimpleRatingPredictor.
PredictMetric<X> - Class in org.lenskit.eval.traintest.predict
Base class for metrics that measure predictions for users.
PredictMetric(List<String>, List<String>) - Constructor for class org.lenskit.eval.traintest.predict.PredictMetric
Construct a new result metric.
PredictMetric(Class<? extends TypedMetricResult>, Class<? extends TypedMetricResult>) - Constructor for class org.lenskit.eval.traintest.predict.PredictMetric
Construct a new result metric.
predictWithDetails(long, Collection<Long>) - Method in interface org.lenskit.api.RatingPredictor
Predict the user’s preference for a collection of items, potentially with additional details.
predictWithDetails(long, Collection<Long>) - Method in class org.lenskit.basic.SimpleRatingPredictor
 
predictWithDetails(long, Collection<Long>) - Method in class org.lenskit.predict.KnownRatingRatingPredictor
 
predictWithDetails(long, Collection<Long>) - Method in class org.lenskit.predict.ordrec.OrdRecRatingPredictor
Compute detailed predictions for the user.
predictWithDetails(long, Collection<Long>) - Method in class org.lenskit.predict.QuantizedRatingPredictor
 
prefDomain(Map<String, Object>) - Method in class org.lenskit.config.BindingDSL
Make a preference domain.
Preference - Interface in org.lenskit.data.ratings
A real-valued preference a user has for an item.
PreferenceDomain - Class in org.lenskit.data.ratings
An object describing the domain of preference data, used in ratings and predictions.
PreferenceDomain(double, double, double) - Constructor for class org.lenskit.data.ratings.PreferenceDomain
Create a discrete bounded preference domain.
PreferenceDomain(double, double) - Constructor for class org.lenskit.data.ratings.PreferenceDomain
Create a continuous bounded preference domain.
PreferenceDomainBuilder - Class in org.lenskit.data.ratings
PreferenceDomainBuilder() - Constructor for class org.lenskit.data.ratings.PreferenceDomainBuilder
Create an uninitialized preference domain builder.
PreferenceDomainBuilder(double, double) - Constructor for class org.lenskit.data.ratings.PreferenceDomainBuilder
Create a preference domain builder with a specified minimum and maximum.
PreferenceDomainQuantizer - Class in org.lenskit.transform.quantize
Quantizer that uses a range and precision to determine discrete values.
PreferenceDomainQuantizer(PreferenceDomain) - Constructor for class org.lenskit.transform.quantize.PreferenceDomainQuantizer
Create a new quantizer from a discrete preference domain.
PreferenceDomainQuantizer(double, double, double) - Constructor for class org.lenskit.transform.quantize.PreferenceDomainQuantizer
Create a new preference domain quantizer.
PreferenceDomainQuantizer.AutoProvider - Class in org.lenskit.transform.quantize
 
preferenceEquivalence() - Static method in class org.lenskit.data.ratings.Ratings
An equivalence relation over preferences.
prefixed(TableWriter, List<?>) - Static method in class org.lenskit.util.table.writer.TableWriters
Create a table writer that writes data with common leading columns to an underlying table writer.
prefixed(TableWriter, Object...) - Static method in class org.lenskit.util.table.writer.TableWriters
Create a table writer that writes data with common leading columns to an underlying table writer.
prefixTable(TableWriter, DataSet, AlgorithmInstance) - Method in class org.lenskit.eval.traintest.ExperimentOutputLayout
Prefix a table for a particular algorithm and data set.
PresRecResult(double, double) - Constructor for class org.lenskit.eval.traintest.recommend.TopNPrecisionRecallMetric.PresRecResult
 
PrimaryScorer - Annotation Type in org.lenskit.basic
The primary scorer for a FallbackItemScorer.
PRMetricSpec - Class in org.lenskit.eval.traintest.recommend
Specification class for configuring precision/recall metrics.
PRMetricSpec() - Constructor for class org.lenskit.eval.traintest.recommend.PRMetricSpec
 
process(Set<? extends TypeElement>, RoundEnvironment) - Method in class org.lenskit.inject.LenskitAnnotationProcessor
 
processNode(DAGNode<Component, Dependency>, DAGNode<Component, Dependency>) - Method in interface org.lenskit.inject.NodeProcessor
Process a graph node.
processNodes(DAGNode<Component, Dependency>, Collection<DAGNode<Component, Dependency>>, NodeProcessor) - Static method in class org.lenskit.inject.NodeProcessors
Process a set of nodes in a graph using a node processor.
ProgressLogger - Class in org.lenskit.util
Utility class for logging progress of some long-running process.
progressUpdate(JobEvent.ProgressUpdate) - Method in class org.lenskit.eval.traintest.StatusLogger
 
project(Entity, Class<E>) - Static method in class org.lenskit.data.entities.Entities
Project an entity to a target view type.
projection(Class<E>) - Static method in class org.lenskit.data.entities.Entities
Create a projection function that maps entities to a new view.
propertyMissing(String) - Method in class org.lenskit.config.LenskitConfigScript
Groovy override to provide usage hints with missing properties.
put(long, double) - Method in interface org.lenskit.util.collections.Long2DoubleAccumulator
Put a new item in the accumulator.
put(long, double) - Method in class org.lenskit.util.collections.TopNLong2DoubleAccumulator
 
put(long, double) - Method in class org.lenskit.util.collections.UnlimitedLong2DoubleAccumulator
 
putAll(Long2DoubleMap) - Method in interface org.lenskit.util.collections.Long2DoubleAccumulator
Add all items from a map to the accumulator.
putField(String, Object) - Method in class org.lenskit.util.describe.AbstractDescriptionWriter
 
putField(String, String) - Method in interface org.lenskit.util.describe.DescriptionWriter
Put a field into the description.
putField(String, long) - Method in interface org.lenskit.util.describe.DescriptionWriter
Put an integer field.
putField(String, double) - Method in interface org.lenskit.util.describe.DescriptionWriter
Put a floating-point field.
putField(String, byte[]) - Method in interface org.lenskit.util.describe.DescriptionWriter
Put a byte array field.
putField(String, Object) - Method in interface org.lenskit.util.describe.DescriptionWriter
Put an object field into the description.
putField(String, T, Describer<? super T>) - Method in interface org.lenskit.util.describe.DescriptionWriter
Put an object field into the description.
putField(String, String) - Method in class org.lenskit.util.describe.HashDescriptionWriter
 
putField(String, long) - Method in class org.lenskit.util.describe.HashDescriptionWriter
 
putField(String, double) - Method in class org.lenskit.util.describe.HashDescriptionWriter
 
putField(String, byte[]) - Method in class org.lenskit.util.describe.HashDescriptionWriter
 
putField(String, T, Describer<? super T>) - Method in class org.lenskit.util.describe.HashDescriptionWriter
 
putField(String, String) - Method in class org.lenskit.util.describe.StringDescriptionWriter
 
putField(String, long) - Method in class org.lenskit.util.describe.StringDescriptionWriter
 
putField(String, double) - Method in class org.lenskit.util.describe.StringDescriptionWriter
 
putField(String, byte[]) - Method in class org.lenskit.util.describe.StringDescriptionWriter
 
putField(String, T, Describer<? super T>) - Method in class org.lenskit.util.describe.StringDescriptionWriter
 
putItemPair(long, Long2DoubleSortedMap, long, Long2DoubleSortedMap) - Method in class org.lenskit.slopeone.SlopeOneModelDataAccumulator
Puts the item pair into the accumulator.
putList(String, Iterable<?>) - Method in class org.lenskit.util.describe.AbstractDescriptionWriter
 
putList(String, Iterable<?>) - Method in interface org.lenskit.util.describe.DescriptionWriter
Put a field with a list of values, using the default describer.
putList(String, Iterable<T>, Describer<? super T>) - Method in interface org.lenskit.util.describe.DescriptionWriter
Put a field with a list of values.
putList(String, Iterable<T>, Describer<? super T>) - Method in class org.lenskit.util.describe.HashDescriptionWriter
 
putList(String, Iterable<T>, Describer<? super T>) - Method in class org.lenskit.util.describe.StringDescriptionWriter
 

Q

quantize(double) - Method in interface org.lenskit.transform.quantize.Quantizer
Convert a value into a quantized value, returning the quantized value.
quantize(double) - Method in class org.lenskit.transform.quantize.ValueArrayQuantizer
 
QuantizedRatingPredictor - Class in org.lenskit.predict
A rating predictor wrapper that quantizes scores to compute predictions.
QuantizedRatingPredictor(ItemScorer, Quantizer) - Constructor for class org.lenskit.predict.QuantizedRatingPredictor
Construct a new quantized predictor.
Quantizer - Interface in org.lenskit.transform.quantize
Quantize real values into discrete values.
query(EntityType) - Method in class org.lenskit.data.dao.AbstractDataAccessObject
 
query(Class<V>) - Method in class org.lenskit.data.dao.AbstractDataAccessObject
Start a query for a particular type using the fluent query interface.
query(EntityType) - Method in interface org.lenskit.data.dao.DataAccessObject
Start a query using the fluent query interface.
query(Class<V>) - Method in interface org.lenskit.data.dao.DataAccessObject
Start a query for a particular type using the fluent query interface.
Query<E extends Entity> - Interface in org.lenskit.data.dao
Fluent interface for DAO queries.

R

RandomGeneratorProvider - Class in org.lenskit.util
Provide a JDKRandomGenerator instance.
RandomGeneratorProvider() - Constructor for class org.lenskit.util.RandomGeneratorProvider
 
RandomProvider - Class in org.lenskit.util
Provide a Random instance.
RandomProvider() - Constructor for class org.lenskit.util.RandomProvider
 
randomSubset(LongSet, int, Random) - Static method in class org.lenskit.util.collections.LongUtils
Selects a random subset of n longs from a given set of longs.
randomSubset(LongSet, int, LongSet, Random) - Static method in class org.lenskit.util.collections.LongUtils
Selects a random subset of n longs from a given set of longs such that no selected items is in a second set of longs.
randomSubset(Random, int, LongSet...) - Method in class org.lenskit.util.keys.LongSortedArraySet
Compute a random subset of this set.
randomUnseen(TestUser, int) - Method in class org.lenskit.eval.traintest.recommend.ItemSelector.ItemSelectScript
 
rank - Variable in class org.lenskit.eval.traintest.recommend.TopNMRRMetric.UserResult
 
RankBlendingItemRecommender - Class in org.lenskit.hybrid
Hybrid item recommender that blends the ranks produced by two recommenders.
RankBlendingItemRecommender(ItemRecommender, ItemRecommender, double) - Constructor for class org.lenskit.hybrid.RankBlendingItemRecommender
Construct a new rank-blending recommender.
RankBlendingItemRecommender.Left - Annotation Type in org.lenskit.hybrid
The ‘left’ recommender for the blending recommender.
RankBlendingItemRecommender.Right - Annotation Type in org.lenskit.hybrid
The ‘right’ recommender for a hybrid.
RankBlendResult - Class in org.lenskit.hybrid
Result type returned by RankBlendingItemRecommender.
RATING - Static variable in class org.lenskit.data.entities.CommonAttributes
A rating value.
RATING - Static variable in class org.lenskit.data.entities.CommonTypes
Type identifier for rating entities.
rating(long, long, double) - Method in class org.lenskit.data.entities.EntityFactory
 
rating(long, long, double, long) - Method in class org.lenskit.data.entities.EntityFactory
 
Rating - Class in org.lenskit.data.ratings
A user rating an item.
Rating.WithTimestamp - Class in org.lenskit.data.ratings
 
RatingBuilder - Class in org.lenskit.data.ratings
Build a Rating.
RatingBuilder() - Constructor for class org.lenskit.data.ratings.RatingBuilder
Create an uninitialized rating builder.
RatingBuilder(EntityType) - Constructor for class org.lenskit.data.ratings.RatingBuilder
Create an unitialized rating builder.
RatingMatrix - Interface in org.lenskit.data.ratings
Snapshot of the ratings data for building a recommender.
RatingMatrixEntry - Class in org.lenskit.data.ratings
An entry in a RatingMatrix.
RatingMatrixEntry() - Constructor for class org.lenskit.data.ratings.RatingMatrixEntry
 
RatingPredictor - Interface in org.lenskit.api
Predict user ratings.
RatingPredictorItemScorer - Class in org.lenskit.predict
Item scorer that uses rating predictions.
RatingPredictorItemScorer(RatingPredictor) - Constructor for class org.lenskit.predict.RatingPredictorItemScorer
 
RatingRangeClampingFunction - Class in org.grouplens.lenskit.transform.clamp
Clamp values to the range of valid ratings.
RatingRangeClampingFunction(PreferenceDomain) - Constructor for class org.grouplens.lenskit.transform.clamp.RatingRangeClampingFunction
 
Ratings - Class in org.lenskit.data.ratings
Utilities for working with ratings.
RatingSummary - Class in org.lenskit.data.ratings
A summary of the ratings data.
RatingSummaryProvider - Class in org.lenskit.data.ratings
Default builder for rating summaries.
RatingSummaryProvider(DataAccessObject) - Constructor for class org.lenskit.data.ratings.RatingSummaryProvider
 
RatingVectorPDAO - Interface in org.lenskit.data.ratings
Proxy DAO for user ‘rating vectors’, which are mappings of items to user preference.
RatingWriter - Interface in org.lenskit.data.output
Interface for writing ratings.
RatingWriters - Class in org.lenskit.data.output
 
readIdList(File) - Static method in class org.lenskit.util.io.LKFileUtils
Read a list of long IDs from a file, one per line.
readObject() - Method in class org.lenskit.util.io.GroupingObjectStream
 
readObject() - Method in class org.lenskit.util.io.LineStream
 
readObject() - Method in interface org.lenskit.util.io.ObjectStream
Read the next object from this stream.
RealThreshold - Class in org.grouplens.lenskit.transform.threshold
Checks similarity values to ensure their real values are over the ThresholdValue.
RealThreshold(double) - Constructor for class org.grouplens.lenskit.transform.threshold.RealThreshold
 
recall - Variable in class org.lenskit.eval.traintest.recommend.TopNPrecisionRecallMetric.PresRecResult
 
recommend(long) - Method in interface org.lenskit.api.ItemRecommender
Recommend all possible items for a user using the default exclude set.
recommend(long, int) - Method in interface org.lenskit.api.ItemRecommender
Recommend up to n items for a user using the default exclude set.
recommend(long, int, Set<Long>, Set<Long>) - Method in interface org.lenskit.api.ItemRecommender
Produce a set of recommendations for the user.
recommend(long) - Method in class org.lenskit.basic.AbstractItemRecommender
Recommend all possible items for a user using the default exclude set.
recommend(long, int) - Method in class org.lenskit.basic.AbstractItemRecommender
Recommend up to n items for a user using the default exclude set.
recommend(long, int, Set<Long>, Set<Long>) - Method in class org.lenskit.basic.AbstractItemRecommender
Produce a set of recommendations for the user.
recommend(long, int, LongSet, LongSet) - Method in class org.lenskit.basic.AbstractItemRecommender
Primary method for implementing an item recommender without details.
recommend(long, int, LongSet, LongSet) - Method in class org.lenskit.basic.PopularItemRecommender
 
recommend(long) - Method in class org.lenskit.basic.RescoringItemRecommender
 
recommend(long, int) - Method in class org.lenskit.basic.RescoringItemRecommender
 
recommend(long, int, Set<Long>, Set<Long>) - Method in class org.lenskit.basic.RescoringItemRecommender
 
recommend(int, ResultMap) - Method in class org.lenskit.basic.TopNItemBasedItemRecommender
Pick the top n items from a score vector.
recommend(long, int, LongSet, LongSet) - Method in class org.lenskit.basic.TopNItemRecommender
Implement recommendation by calling ItemScorer.score(long, Collection) and sorting the results by score.
Recommend - Class in org.lenskit.cli.commands
Generate Top-N recommendations for users.
Recommend() - Constructor for class org.lenskit.cli.commands.Recommend
 
Recommender - Interface in org.lenskit.api
Main entry point for accessing recommender components.
RecommenderBuildException - Exception in org.lenskit.api
Exception thrown when there is an error building a recommender.
RecommenderBuildException() - Constructor for exception org.lenskit.api.RecommenderBuildException
Consruct a new recommender build exception.
RecommenderBuildException(String) - Constructor for exception org.lenskit.api.RecommenderBuildException
Construct exception with a message.
RecommenderBuildException(String, Throwable) - Constructor for exception org.lenskit.api.RecommenderBuildException
Construct exception with a message and cause.
RecommenderBuildException(Throwable) - Constructor for exception org.lenskit.api.RecommenderBuildException
Construct an exception with a cause.
RecommenderConfigurationException - Exception in org.lenskit
Error thrown when an error occurs resolving the recommender configuration graph.
RecommenderConfigurationException() - Constructor for exception org.lenskit.RecommenderConfigurationException
 
RecommenderConfigurationException(String) - Constructor for exception org.lenskit.RecommenderConfigurationException
 
RecommenderConfigurationException(String, Throwable) - Constructor for exception org.lenskit.RecommenderConfigurationException
 
RecommenderConfigurationException(Throwable) - Constructor for exception org.lenskit.RecommenderConfigurationException
 
RecommenderEngine - Interface in org.lenskit.api
Service providing access to a recommender.
RecommenderGraphBuilder - Class in org.lenskit.inject
Build recommender graphs.
RecommenderGraphBuilder() - Constructor for class org.lenskit.inject.RecommenderGraphBuilder
 
RecommenderInstantiator - Class in org.lenskit.inject
Process a recommender graph to deal with its shareable nodes.
RecommenderLoader - Class in org.lenskit.cli.util
Load recommenders from models or configurations.
RecommenderLoader(InputData, ScriptEnvironment, Namespace) - Constructor for class org.lenskit.cli.util.RecommenderLoader
 
RecommendEvalTask - Class in org.lenskit.eval.traintest.recommend
An eval task that attempts to recommend items for a test user.
RecommendEvalTask() - Constructor for class org.lenskit.eval.traintest.recommend.RecommendEvalTask
Create a new recommend eval task.
recommendRelatedItems(long) - Method in interface org.lenskit.api.ItemBasedItemRecommender
Recommend all possible items for a reference item using the default exclude set.
recommendRelatedItems(long, int) - Method in interface org.lenskit.api.ItemBasedItemRecommender
Recommend up to n possible items for a reference item using the default exclude set.
recommendRelatedItems(Set<Long>) - Method in interface org.lenskit.api.ItemBasedItemRecommender
Recommend all possible items for a set of reference items using the default exclude set.
recommendRelatedItems(Set<Long>, int) - Method in interface org.lenskit.api.ItemBasedItemRecommender
Recommend up to n items for a set of reference items using the default exclude set.
recommendRelatedItems(Set<Long>, int, Set<Long>, Set<Long>) - Method in interface org.lenskit.api.ItemBasedItemRecommender
Produce a set of recommendations for the item.
recommendRelatedItems(long, int) - Method in class org.lenskit.basic.AbstractItemBasedItemRecommender
Recommend up to n possible items for a reference item using the default exclude set.
recommendRelatedItems(long) - Method in class org.lenskit.basic.AbstractItemBasedItemRecommender
Recommend all possible items for a reference item using the default exclude set.
recommendRelatedItems(Set<Long>, int, Set<Long>, Set<Long>) - Method in class org.lenskit.basic.AbstractItemBasedItemRecommender
Produce a set of recommendations for the item.
recommendRelatedItems(Set<Long>, int) - Method in class org.lenskit.basic.AbstractItemBasedItemRecommender
Recommend up to n items for a set of reference items using the default exclude set.
recommendRelatedItems(Set<Long>) - Method in class org.lenskit.basic.AbstractItemBasedItemRecommender
Recommend all possible items for a set of reference items using the default exclude set.
recommendRelatedItems(long) - Method in class org.lenskit.basic.PopularItemRecommender
 
recommendRelatedItems(long, int) - Method in class org.lenskit.basic.PopularItemRecommender
 
recommendRelatedItems(Set<Long>) - Method in class org.lenskit.basic.PopularItemRecommender
 
recommendRelatedItems(Set<Long>, int) - Method in class org.lenskit.basic.PopularItemRecommender
 
recommendRelatedItems(Set<Long>, int, Set<Long>, Set<Long>) - Method in class org.lenskit.basic.PopularItemRecommender
 
recommendRelatedItemsWithDetails(Set<Long>, int, Set<Long>, Set<Long>) - Method in interface org.lenskit.api.ItemBasedItemRecommender
Produce a set of recommendations for the item, with details.
recommendRelatedItemsWithDetails(Set<Long>, int, Set<Long>, Set<Long>) - Method in class org.lenskit.basic.PopularItemRecommender
 
recommendRelatedItemsWithDetails(Set<Long>, int, Set<Long>, Set<Long>) - Method in class org.lenskit.basic.TopNItemBasedItemRecommender
 
recommendWithDetails(long, int, Set<Long>, Set<Long>) - Method in interface org.lenskit.api.ItemRecommender
Produce a set of recommendations for the user with additional details.
recommendWithDetails(long, int, Set<Long>, Set<Long>) - Method in class org.lenskit.basic.AbstractItemRecommender
 
recommendWithDetails(long, int, LongSet, LongSet) - Method in class org.lenskit.basic.AbstractItemRecommender
Primary method for implementing an item recommender.
recommendWithDetails(long, int, LongSet, LongSet) - Method in class org.lenskit.basic.PopularItemRecommender
 
recommendWithDetails(long, int, Set<Long>, Set<Long>) - Method in class org.lenskit.basic.RescoringItemRecommender
 
recommendWithDetails(long, int, LongSet, LongSet) - Method in class org.lenskit.basic.TopNItemRecommender
Implement recommendation by calling ItemScorer.scoreWithDetails(long, Collection) and sorting the results.
recommendWithDetails(long, int, LongSet, LongSet) - Method in class org.lenskit.hybrid.RankBlendingItemRecommender
 
recommendWithDetails(long, int, LongSet, LongSet) - Method in class org.lenskit.rerank.GreedyRerankingItemRecommender
 
reduce(T, BinaryOperator<T>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
reduce(BinaryOperator<T>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
reduce(U, BiFunction<U, ? super T, U>, BinaryOperator<U>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
RegularizationTerm - Annotation Type in org.grouplens.lenskit.iterative
The regularization factor applied in many iterative methods.
remove() - Method in class org.lenskit.util.io.ObjectStreamIterator
 
removeLong(int) - Method in class org.lenskit.util.collections.CompactableLongArrayList
 
renderGraph(DAGNode<Component, Dependency>, Writer) - Static method in class org.lenskit.graph.GraphDumper
Render a graph to a file.
repeat(T, int) - Static method in class org.lenskit.util.collections.CollectionUtils
Return a list that repeats a single object multiple times.
rescore(Result, double) - Static method in class org.lenskit.results.Results
Create a rescored result.
rescore(Result, Result) - Static method in class org.lenskit.results.Results
Create a rescored result with details.
RescoredResult - Class in org.lenskit.results
A result that wraps another result with a different score.
RescoringItemRecommender - Class in org.lenskit.basic
Item recommender that wraps a base item recommender and replaces its scores with those produced by another item scorer.
RescoringItemRecommender(ItemRecommender, ItemScorer) - Constructor for class org.lenskit.basic.RescoringItemRecommender
Create a new rescoring item recommender.
reset() - Method in class org.lenskit.data.entities.EntityBuilder
Reset this entity builder, clearing all properties except the entity type.
reset() - Method in class org.lenskit.data.ratings.RatingBuilder
 
reset() - Method in class org.lenskit.util.math.MutualInformationAccumulator
Reset to start accumulating again.
resolveClass(ObjectStreamClass) - Method in class org.lenskit.util.io.CustomClassLoaderObjectInputStream
 
resolveTypeName(String) - Static method in class org.lenskit.util.TypeUtils
Resolve a type name into a type.
Result - Interface in org.lenskit.api
A LensKit result, consisting of a score and an ID.
ResultAccumulator - Class in org.lenskit.results
Accumulator for sorted lists of results.
ResultList - Interface in org.lenskit.api
A list of results from a recommender operation.
ResultMap - Interface in org.lenskit.api
A map of results from a recommender operation.
ResultMetric<X> - Class in org.lenskit.eval.traintest.metrics
Base class for metrics that measure individual recommendation or prediction results.
ResultMetric(List<String>, List<String>) - Constructor for class org.lenskit.eval.traintest.metrics.ResultMetric
Construct a new result metric.
ResultMetric(Class<? extends TypedMetricResult>, Class<? extends TypedMetricResult>) - Constructor for class org.lenskit.eval.traintest.metrics.ResultMetric
Construct a new result metric.
Results - Class in org.lenskit.results
Utility functions for working with results.
resultToIndex(int) - Static method in class org.lenskit.util.BinarySearch
Convert a possibly-negative binary search result to an index or insertion point.
retain(double) - Method in class org.grouplens.lenskit.transform.threshold.AbsoluteThreshold
 
retain(double) - Method in class org.grouplens.lenskit.transform.threshold.NoThreshold
 
retain(double) - Method in class org.grouplens.lenskit.transform.threshold.RealThreshold
 
retain(double) - Method in interface org.grouplens.lenskit.transform.threshold.Threshold
Checks a similarity value against retention criteria for inclusion in similarity models.
retain(int) - Static method in class org.lenskit.eval.crossfold.HistoryPartitions
Retain a fixed number of ratings.
RetainNHistoryPartitionMethod - Class in org.lenskit.eval.crossfold
Partition the event list by retaining a fixed number of elements.
RetainNHistoryPartitionMethod(int) - Constructor for class org.lenskit.eval.crossfold.RetainNHistoryPartitionMethod
Create a count partitioner.
RMSEPredictMetric - Class in org.lenskit.eval.traintest.predict
Evaluate a recommender’s prediction accuracy with RMSE.
RMSEPredictMetric() - Constructor for class org.lenskit.eval.traintest.predict.RMSEPredictMetric
 
RMSEPredictMetric.Context - Class in org.lenskit.eval.traintest.predict
 
root(Class<?>) - Method in class org.lenskit.config.LenskitConfigDSL
Add a root type.
Row - Interface in org.lenskit.util.table
One row of a data table.
RowBuilder - Class in org.lenskit.util.table
Build a row.
RowBuilder(TableLayout) - Constructor for class org.lenskit.util.table.RowBuilder
 
run() - Method in class org.lenskit.util.io.LoggingStreamSlurper
 
RunScript - Class in org.lenskit.cli.commands
 
RunScript() - Constructor for class org.lenskit.cli.commands.RunScript
 

S

sampleEntities(int) - Static method in class org.lenskit.eval.crossfold.CrossfoldMethods
Create a crossfold method that creates disjoint samples of entities into disjoint partitions.
sampleItems(HistoryPartitionMethod, int) - Static method in class org.lenskit.eval.crossfold.CrossfoldMethods
Create a crossfold method that splits items into disjoint samples.
sampleUsers(SortOrder, HistoryPartitionMethod, int) - Static method in class org.lenskit.eval.crossfold.CrossfoldMethods
Create a crossfold method that splits users into disjoint samples.
satisfiesConstraint(long, int, List<? extends Result>, Result) - Method in class org.lenskit.rerank.AbstractFilteringGreedyRerankStrategy
Tests if adding the candidate item to the list of recommended items would satisfy a constraint.
satisfiesConstraint(long, int, List<? extends Result>, Result) - Method in class org.lenskit.rerank.AbstractScoringGreedyRerankStrategy
Tests if adding the candidate item to the list of recommended items would satisfy a constraint.
Scalars - Class in org.lenskit.util.math
 
score(long, long) - Method in interface org.lenskit.api.ItemScorer
Score a single item.
score(long, Collection<Long>) - Method in interface org.lenskit.api.ItemScorer
Score a collection of items.
score(long, long) - Method in class org.lenskit.basic.AbstractItemScorer
Score a single item.
score(long, Collection<Long>) - Method in class org.lenskit.basic.AbstractItemScorer
Score a collection of items.
score(long, long) - Method in class org.lenskit.basic.FallbackItemScorer
 
score(long, Collection<Long>) - Method in class org.lenskit.basic.PopularityRankItemScorer
 
score(long, long) - Method in class org.lenskit.basic.PrecomputedItemScorer
 
score(long, long) - Method in class org.lenskit.bias.BiasItemScorer
 
score(long, Collection<Long>) - Method in class org.lenskit.bias.BiasItemScorer
 
score(long, Collection<Long>) - Method in class org.lenskit.knn.item.ItemItemScorer
 
score(long, Long2DoubleMap, Long2DoubleMap, ItemItemScoreAccumulator) - Method in interface org.lenskit.knn.item.NeighborhoodScorer
Compute a score based on similar neighbors and their corresponding scores.
score(long, Long2DoubleMap, Long2DoubleMap, ItemItemScoreAccumulator) - Method in class org.lenskit.knn.item.SimilaritySumNeighborhoodScorer
 
score(long, Long2DoubleMap, Long2DoubleMap, ItemItemScoreAccumulator) - Method in class org.lenskit.knn.item.WeightedAverageNeighborhoodScorer
 
score(long, List<Neighbor>) - Method in class org.lenskit.knn.user.SimilaritySumUserNeighborhoodScorer
 
score(long, List<Neighbor>) - Method in interface org.lenskit.knn.user.UserNeighborhoodScorer
Compute the score for an item given a list of neighbors.
score(long, List<Neighbor>) - Method in class org.lenskit.knn.user.WeightedAverageUserNeighborhoodScorer
 
score(long, long) - Method in class org.lenskit.predict.RatingPredictorItemScorer
 
score(long, Collection<Long>) - Method in class org.lenskit.predict.RatingPredictorItemScorer
 
score - Variable in class org.lenskit.results.AbstractResult
 
scoreCandidate(long, int, List<? extends Result>, Result) - Method in class org.lenskit.rerank.AbstractScoringGreedyRerankStrategy
Computes an objective metric score for adding a given candidate item to a list of recommended items.
scoreItem(Long2DoubleMap, long, ItemItemScoreAccumulator) - Method in class org.lenskit.knn.item.ItemItemItemBasedItemScorer
Score a single item into an accumulator.
scoreItem(Long2DoubleMap, long, ItemItemScoreAccumulator) - Method in class org.lenskit.knn.item.ItemItemScorer
 
scoreMap() - Method in interface org.lenskit.api.ResultMap
View this result set as a map from longs to doubles.
scoreMap() - Method in class org.lenskit.results.BasicResultMap
 
scoreMap() - Method in interface org.lenskit.results.LenskitResultMap
 
ScoreNormalizer - Annotation Type in org.lenskit.knn
Qualifier for normalizers used for computing item scores.
scoreOrder() - Static method in class org.lenskit.results.Results
Get an ordering (comparator) that orders results by score.
scorer - Variable in class org.lenskit.basic.TopNItemBasedItemRecommender
 
scorer - Variable in class org.lenskit.basic.TopNItemRecommender
 
scorer - Variable in class org.lenskit.knn.item.ItemItemItemBasedItemScorer
 
scorer - Variable in class org.lenskit.knn.item.ItemItemScorer
 
scoreRelatedItem(Collection<Long>, long) - Method in interface org.lenskit.api.ItemBasedItemScorer
Score a single item based on a collection of items (e.g.
scoreRelatedItem(Collection<Long>, long) - Method in class org.lenskit.basic.AbstractItemBasedItemScorer
Score a single item based on a collection of items (e.g.
scoreRelatedItems(Collection<Long>, Collection<Long>) - Method in interface org.lenskit.api.ItemBasedItemScorer
Score a collection of items based on a collection of items (e.g.
scoreRelatedItems(Collection<Long>, Collection<Long>) - Method in class org.lenskit.basic.AbstractItemBasedItemScorer
Score a collection of items based on a collection of items (e.g.
scoreRelatedItems(Collection<Long>, Collection<Long>) - Method in class org.lenskit.knn.item.ItemItemItemBasedItemScorer
 
scoreRelatedItemsWithDetails(Collection<Long>, Collection<Long>) - Method in interface org.lenskit.api.ItemBasedItemScorer
Score a collection of items based on a collection of items (e.g.
scoreRelatedItemsWithDetails(Collection<Long>, Collection<Long>) - Method in class org.lenskit.knn.item.ItemItemItemBasedItemScorer
 
scoreWithDetails(long, Collection<Long>) - Method in interface org.lenskit.api.ItemScorer
Score a collection of items and potentially return more details on the scores.
scoreWithDetails(long, Collection<Long>) - Method in class org.lenskit.baseline.ItemMeanRatingItemScorer
 
scoreWithDetails(long, Collection<Long>) - Method in class org.lenskit.baseline.LeastSquaresItemScorer
 
scoreWithDetails(long, Collection<Long>) - Method in class org.lenskit.baseline.UserMeanItemScorer
 
scoreWithDetails(long, Collection<Long>) - Method in class org.lenskit.basic.ConstantItemScorer
 
scoreWithDetails(long, Collection<Long>) - Method in class org.lenskit.basic.FallbackItemScorer
 
scoreWithDetails(long, Collection<Long>) - Method in class org.lenskit.basic.PopularityRankItemScorer
 
scoreWithDetails(long, Collection<Long>) - Method in class org.lenskit.basic.PrecomputedItemScorer
 
scoreWithDetails(long, Collection<Long>) - Method in class org.lenskit.basic.SimpleCachingItemScorer
 
scoreWithDetails(long, Collection<Long>) - Method in class org.lenskit.bias.BiasItemScorer
 
scoreWithDetails(long, Collection<Long>) - Method in class org.lenskit.knn.item.ItemItemScorer
Score items by computing predicted ratings.
scoreWithDetails(long, Collection<Long>) - Method in class org.lenskit.knn.user.UserUserItemScorer
 
scoreWithDetails(long, Collection<Long>) - Method in class org.lenskit.predict.RatingPredictorItemScorer
 
scoreWithDetails(long, Collection<Long>) - Method in class org.lenskit.slopeone.SlopeOneItemScorer
 
scoreWithDetails(long, Collection<Long>) - Method in class org.lenskit.slopeone.WeightedSlopeOneItemScorer
 
ScriptEnvironment - Class in org.lenskit.cli.util
Class managing environments for running various scripts and classes.
ScriptEnvironment(Namespace) - Constructor for class org.lenskit.cli.util.ScriptEnvironment
 
search(int, int) - Method in class org.lenskit.util.BinarySearch
Perform a binary search across a range of integers.
selectItems(LongSet, Recommender, TestUser) - Method in class org.lenskit.eval.traintest.recommend.ItemSelector.GroovyItemSelector
 
selectItems(LongSet, Recommender, TestUser) - Method in class org.lenskit.eval.traintest.recommend.ItemSelector
Select a set of items for recommendation.
selfExtractor() - Static method in class org.lenskit.util.keys.Keys
 
sequential() - Method in class org.lenskit.util.io.AbstractObjectStream
 
serialVersionUID - Static variable in class org.lenskit.data.ratings.PreferenceDomain
 
set(Class<? extends Annotation>) - Method in class org.lenskit.config.BindingDSL
 
set(AbstractBeanEntityBuilder, Object) - Method in class org.lenskit.data.entities.AbstractBeanEntityBuilder.AttrMethod
 
set(AbstractBeanEntityBuilder, double) - Method in class org.lenskit.data.entities.AbstractBeanEntityBuilder.DoubleAttrMethod
 
set(AbstractBeanEntityBuilder, long) - Method in class org.lenskit.data.entities.AbstractBeanEntityBuilder.LongAttrMethod
 
set(Class<? extends Annotation>) - Method in class org.lenskit.inject.AbstractConfigContext
 
set(Class<? extends Annotation>) - Method in interface org.lenskit.LenskitConfigContext
Start a binding that sets a parameter.
set(int, long) - Method in class org.lenskit.util.collections.CompactableLongArrayList
 
setAlgorithm(AlgorithmInstance) - Method in class org.lenskit.eval.temporal.TemporalEvaluator
Adds an algorithmInfo
setAlgorithm(String, LenskitConfiguration) - Method in class org.lenskit.eval.temporal.TemporalEvaluator
An algorithm instance constructed with a name and Lenskit configuration
setAttribute(TypedName<T>, T) - Method in class org.lenskit.data.entities.AbstractBeanEntityBuilder
 
setAttribute(TypedName<T>, T) - Method in class org.lenskit.data.entities.BasicEntityBuilder
 
setAttribute(TypedName<T>, T) - Method in class org.lenskit.data.entities.EntityBuilder
Set an attribute in the entity.
setAttribute(Attribute<T>) - Method in class org.lenskit.data.entities.EntityBuilder
Set an attribute in the entity.
setAttribute(String, Object) - Method in class org.lenskit.eval.traintest.AlgorithmInstanceBuilder
Set an attribute for this algorithm instance.
setAttribute(String, Object) - Method in class org.lenskit.eval.traintest.DataSetBuilder
 
setBaseId(long) - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
Set the base entity ID for this source.
setBaseURI(URI) - Method in class org.lenskit.config.LenskitConfigDSL
Set the base URI for this configuration.
setCacheDirectory(Path) - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Set the cache directory for model components.
setCandidateSelector(ItemSelector) - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
Set the candidate selector.
setClassLoader(ClassLoader) - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Set the class loader for this experiment.
setClassLoader(ClassLoader) - Method in class org.lenskit.inject.RecommenderGraphBuilder
 
setClassLoader(ClassLoader) - Method in class org.lenskit.LenskitRecommenderEngineBuilder
Set the class loader to use.
setClassLoader(ClassLoader) - Method in class org.lenskit.LenskitRecommenderEngineLoader
Set the class loader to use when reading the engine.
setColumnName(String) - Method in class org.lenskit.eval.traintest.predict.NDCGPredictMetric.Spec
 
setColumnName(String) - Method in class org.lenskit.eval.traintest.recommend.TopNNDCGMetric.Spec
 
setCompressionMode(CompressionMode) - Method in class org.lenskit.LenskitRecommenderEngineLoader
Set the compression mode to use.
setConfig(LenskitConfiguration) - Method in class org.lenskit.eval.traintest.AlgorithmInstanceBuilder
Set the LensKit configuration to use.
setContinueAfterError(boolean) - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Configure whether the experiment will continue after an error.
setContinueAterError(boolean) - Method in class org.lenskit.util.parallel.TaskGroup
 
setCount(int) - Method in class org.lenskit.util.ProgressLogger
Set the number of total items to be processed.
setDataSource(DataAccessObject) - Method in class org.lenskit.eval.temporal.TemporalEvaluator
 
setDataSource(File) - Method in class org.lenskit.eval.temporal.TemporalEvaluator
 
setDelegate(LenskitConfigDSL) - Method in class org.lenskit.config.LenskitConfigScript
Set the delegate.
setDelimiter(String) - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
Set the delimiter to use for this entity format.
setDifference(LongSet, LongSet) - Static method in class org.lenskit.util.collections.LongUtils
Compute the set difference of two sets.
setDiscount(String) - Method in class org.lenskit.eval.traintest.predict.NDCGPredictMetric.Spec
 
setDiscount(String) - Method in class org.lenskit.eval.traintest.recommend.TopNNDCGMetric.Spec
 
setDoubleAttribute(TypedName<Double>, double) - Method in class org.lenskit.data.entities.EntityBuilder
Set an attribute in the entity.
setEntityBuilder(Class<? extends EntityBuilder>) - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
Set the entity builder class.
setEntityBuilder(Class<? extends EntityBuilder>) - Method in class org.lenskit.data.dao.file.JSONEntityFormat
Set the entity builder class.
setEntityType(EntityType) - Method in class org.lenskit.data.dao.EntityQueryBuilder
Deprecated.
Just provide a type at construction time.
setEntityType(EntityType) - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
Set the entity type.
setEntityType(EntityType) - Method in class org.lenskit.data.dao.file.JSONEntityFormat
Set the entity type.
setEntityType(EntityType) - Method in class org.lenskit.eval.crossfold.Crossfolder
Set the entity type that this crossfolder will crossfold.
setEntityTypes(List<EntityType>) - Method in class org.lenskit.eval.traintest.DataSetBuilder
 
setExcludeSelector(ItemSelector) - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
Set the exclude selector.
setExecutable(String) - Method in class org.lenskit.external.ExternalProcessItemScorerBuilder
Set the executable to use.
setExtendedOutputFile(File) - Method in class org.lenskit.eval.temporal.TemporalEvaluator
Set the output file for extended output (lines of JSON).
setExtendedOutputFile(Path) - Method in class org.lenskit.eval.temporal.TemporalEvaluator
Set the output file for extended output (lines of JSON).
setExtraAttribute(TypedName<T>, T) - Method in class org.lenskit.data.entities.AbstractBeanEntityBuilder
Set an extra attribute.
setFile(Path) - Method in class org.lenskit.data.dao.file.TextEntitySource
Set the source file for this reader.
setFormat(EntityFormat) - Method in class org.lenskit.data.dao.file.TextEntitySource
Set the entity format for the reader.
setGainAttribute(String) - Method in class org.lenskit.eval.traintest.recommend.TopNNDCGMetric.Spec
 
setGoodItems(String) - Method in class org.lenskit.eval.traintest.recommend.PRMetricSpec
 
setHeader(boolean) - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
Set whether to read a header.
setHeaderLines(int) - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
Set the number of header lines to read.
setId(long) - Method in class org.lenskit.data.entities.EntityBuilder
Set the entity id.
setId(long) - Method in class org.lenskit.data.ratings.RatingBuilder
Set the rating ID.
setIntersect(LongSet, LongSet) - Static method in class org.lenskit.util.collections.LongUtils
Compute the intersection of two sets.
setIntersect(LongSortedSet, LongSortedSet) - Static method in class org.lenskit.util.collections.LongUtils
Compute the intersection of two sets.
setIsolationGroup(UUID) - Method in class org.lenskit.eval.traintest.DataSetBuilder
Set the group ID for this data set.
setItemId(long) - Method in class org.lenskit.data.ratings.RatingBuilder
Set the item ID.
setItemOutputFile(Path) - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
Set the output file for per-target-item results.
setLabel(String) - Method in class org.lenskit.util.ProgressLogger
Set the label to be used in log messages.
setLabelPrefix(String) - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
Set the prefix applied to column labels.
setListSize(int) - Method in class org.lenskit.eval.temporal.TemporalEvaluator
sets the size of recommendationss list size
setListSize(int) - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
Set the list size to use.
setLongAttribute(TypedName<Long>, long) - Method in class org.lenskit.data.entities.AbstractBeanEntityBuilder
 
setLongAttribute(TypedName<Long>, long) - Method in class org.lenskit.data.entities.EntityBuilder
Set an attribute in the entity.
setMaximum(double) - Method in class org.lenskit.data.ratings.PreferenceDomainBuilder
Set the maximum preference.
setMethod(CrossfoldMethod) - Method in class org.lenskit.eval.crossfold.Crossfolder
Set the method to be used by the crossfolder.
setMinimum(double) - Method in class org.lenskit.data.ratings.PreferenceDomainBuilder
Set the minimum preference.
setName(String) - Method in class org.lenskit.eval.crossfold.Crossfolder
Set a name for this crossfolder.
setName(String) - Method in class org.lenskit.eval.traintest.AlgorithmInstanceBuilder
Set the algorithm name.
setName(String) - Method in class org.lenskit.eval.traintest.DataSetBuilder
Set the data set’s name.
setOutput(Path) - Method in class org.lenskit.eval.traintest.SimpleEvaluator
Set an output file for aggregate metrics.
setOutputDir(Path) - Method in class org.lenskit.eval.crossfold.Crossfolder
Set the output directory for this crossfold operation.
setOutputDir(File) - Method in class org.lenskit.eval.crossfold.Crossfolder
Set the output directory for this crossfold operation.
setOutputDir(String) - Method in class org.lenskit.eval.crossfold.Crossfolder
Set the output directory for this crossfold operation.
setOutputFile(File) - Method in class org.lenskit.eval.temporal.TemporalEvaluator
 
setOutputFile(Path) - Method in class org.lenskit.eval.traintest.predict.PredictEvalTask
Set the output file for predictions.
setOutputFile(Path) - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
Set the output file for recommendations.
setOutputFile(Path) - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Set the primary output file.
setOutputFormat(OutputFormat) - Method in class org.lenskit.eval.crossfold.Crossfolder
Set the output format for the crossfolder.
setParallelTasks(int) - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Set the number of parallel experiment tasks to run.
setPartitionCount(int) - Method in class org.lenskit.eval.crossfold.Crossfolder
Set the number of partitions to generate.
setPeriod(int) - Method in class org.lenskit.util.ProgressLogger
Set the period for progress messages.
setPrecision(double) - Method in class org.lenskit.data.ratings.PreferenceDomainBuilder
Set the preference precision.
setRating(double) - Method in class org.lenskit.data.ratings.RatingBuilder
Set the rating value.
setRebuildPeriod(long, TimeUnit) - Method in class org.lenskit.eval.temporal.TemporalEvaluator
 
setRebuildPeriod(long) - Method in class org.lenskit.eval.temporal.TemporalEvaluator
 
setReportingInterval(int) - Method in class org.lenskit.util.monitor.TrackedJob
Set the reporting interval for firing progress update messages.
setRuntime(StaticDataSource) - Method in class org.lenskit.eval.traintest.DataSetBuilder
 
setSeparateItems(boolean) - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
Control whether this task will separate items.
setShareModelComponents(boolean) - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Control whether model components will be shared.
setSource(CharSequence) - Method in class org.lenskit.data.dao.file.TextEntitySource
Set a string from which to read entities.
setSource(StaticDataSource) - Method in class org.lenskit.eval.crossfold.Crossfolder
Set the data source.
setSuffix(String) - Method in class org.lenskit.eval.traintest.recommend.PRMetricSpec
 
setTest(StaticDataSource) - Method in class org.lenskit.eval.traintest.DataSetBuilder
 
setTestHistory(List<Entity>) - Method in class org.lenskit.eval.traintest.TestUserBuilder
 
setThreadCount(int) - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Set the number of threads the experiment may use.
setTimestamp(long) - Method in class org.lenskit.data.ratings.RatingBuilder
Set the timestamp.
setTrain(StaticDataSource) - Method in class org.lenskit.eval.traintest.DataSetBuilder
 
setTrainHistory(List<Entity>) - Method in class org.lenskit.eval.traintest.TestUserBuilder
 
setUnion(LongSet, LongSet) - Static method in class org.lenskit.util.collections.LongUtils
Compute the union of two sets.
setUnion(LongSortedSet, LongSortedSet) - Static method in class org.lenskit.util.collections.LongUtils
Compute the union of two sets.
setURL(URL) - Method in class org.lenskit.data.dao.file.TextEntitySource
Set the URL of the input data.
setUserId(long) - Method in class org.lenskit.data.ratings.RatingBuilder
Set the user ID.
setUserId(long) - Method in class org.lenskit.eval.traintest.TestUserBuilder
 
setUserOutput(Path) - Method in class org.lenskit.eval.traintest.SimpleEvaluator
Set an output file for per-user evaluation metrics.
setUserOutputFile(Path) - Method in class org.lenskit.eval.traintest.TrainTestExperiment
Set the per-user output file.
setValidationMode(EngineValidationMode) - Method in class org.lenskit.LenskitRecommenderEngineLoader
Set the validation mode for loading the recommender engine.
setWindow(int) - Method in class org.lenskit.util.ProgressLogger
Set the window to use for smoothing averages.
setWorkDir(Path) - Method in class org.lenskit.eval.traintest.SimpleEvaluator
Set the working directory for the evaluator.
setWorkingDir(File) - Method in class org.lenskit.external.ExternalProcessItemScorerBuilder
Set the working directory to use.
setWorkingDir(String) - Method in class org.lenskit.external.ExternalProcessItemScorerBuilder
Set the working directory to use.
setWriteTimestamps(boolean) - Method in class org.lenskit.eval.crossfold.Crossfolder
Configure whether to include timestamps in the output file.
sha1Writer() - Static method in class org.lenskit.util.describe.Descriptions
Create a description writer that will compute a SHA1 hash.
Shareable - Annotation Type in org.lenskit.inject
Mark a component implementation as shareable.
shared() - Method in interface org.lenskit.LenskitBinding
 
SignificanceWeightedVectorSimilarity - Class in org.lenskit.similarity
Apply significance weighting to a similarity function.
SignificanceWeightedVectorSimilarity(int, VectorSimilarity) - Constructor for class org.lenskit.similarity.SignificanceWeightedVectorSimilarity
 
SigWeightThreshold - Annotation Type in org.lenskit.similarity
The weight threshold for significance weighting.
similarity(long, Long2DoubleMap, long, Long2DoubleMap) - Method in interface org.lenskit.knn.item.ItemSimilarity
Compute the similarity between two items.
similarity(long, Long2DoubleMap, long, Long2DoubleMap) - Method in class org.lenskit.knn.item.ItemVectorSimilarity
 
similarity - Variable in class org.lenskit.knn.user.Neighbor
 
similarity(long, Long2DoubleMap, long, Long2DoubleMap) - Method in interface org.lenskit.knn.user.UserSimilarity
Compute the similarity between two users.
similarity(long, Long2DoubleMap, long, Long2DoubleMap) - Method in class org.lenskit.knn.user.UserVectorSimilarity
 
similarity(Long2DoubleMap, Long2DoubleMap) - Method in class org.lenskit.similarity.CosineVectorSimilarity
 
similarity(Long2DoubleMap, Long2DoubleMap) - Method in class org.lenskit.similarity.MutualInformationVectorSimilarity
 
similarity(Long2DoubleMap, Long2DoubleMap) - Method in class org.lenskit.similarity.PearsonCorrelation
 
similarity(Long2DoubleMap, Long2DoubleMap) - Method in class org.lenskit.similarity.SignificanceWeightedVectorSimilarity
 
similarity(Long2DoubleMap, Long2DoubleMap) - Method in class org.lenskit.similarity.SpearmanRankCorrelation
 
similarity(Long2DoubleMap, Long2DoubleMap) - Method in interface org.lenskit.similarity.VectorSimilarity
Compute the similarity between two vectors.
SIMILARITY_COMPARATOR - Static variable in class org.lenskit.knn.user.Neighbor
Comparator to order neighbors by similarity.
SimilarityDamping - Annotation Type in org.lenskit.similarity
Damping parameter for similarity functions.
SimilarityMatrixModel - Class in org.lenskit.knn.item.model
Item-item similarity model using an in-memory similarity matrix.
SimilarityMatrixModel(SortedKeyIndex, List<Long2DoubleMap>) - Constructor for class org.lenskit.knn.item.model.SimilarityMatrixModel
Deprecated.
This is deprecated for public usage. It is better to use the other constructor.
SimilarityMatrixModel(Map<Long, Long2DoubleMap>) - Constructor for class org.lenskit.knn.item.model.SimilarityMatrixModel
Construct a new item-item model.
SimilarityNormalizer - Annotation Type in org.lenskit.knn
Qualifier for normalizers used for computing neighbor similarities.
SimilaritySumNeighborhoodScorer - Class in org.lenskit.knn.item
Neighborhood scorer that computes the sum of neighborhood similarities.
SimilaritySumNeighborhoodScorer() - Constructor for class org.lenskit.knn.item.SimilaritySumNeighborhoodScorer
 
SimilaritySumUserNeighborhoodScorer - Class in org.lenskit.knn.user
Score an item using the weighted average of neighbor ratings.
SimilaritySumUserNeighborhoodScorer(int) - Constructor for class org.lenskit.knn.user.SimilaritySumUserNeighborhoodScorer
Construct a weighted average scorer.
SimpleCachingItemScorer - Class in org.lenskit.basic
A simple cached item scorer that remembers the result for the last user id it scored.
SimpleCachingItemScorer(ItemScorer) - Constructor for class org.lenskit.basic.SimpleCachingItemScorer
 
SimpleEvaluator - Class in org.lenskit.eval.traintest
Simplified Java API to train-test evaluation.
SimpleEvaluator() - Constructor for class org.lenskit.eval.traintest.SimpleEvaluator
Create a simple evaluator with a custom configuration.
SimpleRatingPredictor - Class in org.lenskit.basic
Basic rating predictor that uses scores, clamped to valid rating values if appropriate.
SimpleRatingPredictor(ItemScorer, PreferenceDomain) - Constructor for class org.lenskit.basic.SimpleRatingPredictor
Create a new simple rating predictor.
Simulate - Class in org.lenskit.cli.commands
Simulates a recommender algorithm over time.
Simulate() - Constructor for class org.lenskit.cli.commands.Simulate
 
simulate() - Method in class org.lenskit.inject.RecommenderInstantiator
Simulate instantiating a graph.
simulateInstantiation() - Static method in class org.lenskit.inject.NodeProcessors
Create a node processor that will simulate instantiating nodes.
singleton(String, Object) - Static method in class org.lenskit.eval.traintest.metrics.MetricResult
Create a singleton map result.
size() - Method in class org.lenskit.data.entities.AttributeSet
Get the number of attributes in this set.
size() - Method in class org.lenskit.results.BasicResultList
 
size() - Method in class org.lenskit.results.BasicResultMap
 
size() - Method in class org.lenskit.util.collections.CompactableLongArrayList
 
size() - Method in interface org.lenskit.util.collections.Long2DoubleAccumulator
Get the number of items in the accumulator.
size() - Method in class org.lenskit.util.collections.TopNLong2DoubleAccumulator
 
size() - Method in class org.lenskit.util.collections.UnlimitedLong2DoubleAccumulator
 
size() - Method in class org.lenskit.util.keys.FrozenHashKeyIndex
 
size() - Method in class org.lenskit.util.keys.HashKeyIndex
 
size() - Method in class org.lenskit.util.keys.KeyedObjectMap
 
size() - Method in interface org.lenskit.util.keys.KeyIndex
Get the size of this index.
size() - Method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
 
size() - Method in class org.lenskit.util.keys.LongSortedArraySet
 
size() - Method in class org.lenskit.util.keys.SortedKeyIndex
Get the domain size of this set.
size() - Method in class org.lenskit.util.Text
 
skip(long) - Method in class org.lenskit.util.io.AbstractObjectStream
 
SlopeOneItemScorer - Class in org.lenskit.slopeone
An ItemScorer that implements the Slope One algorithm.
SlopeOneItemScorer(RatingVectorPDAO, SlopeOneModel, PreferenceDomain) - Constructor for class org.lenskit.slopeone.SlopeOneItemScorer
 
SlopeOneModel - Class in org.lenskit.slopeone
SlopeOneModel(KeyedObjectMap<SlopeOneModel.ModelRow>) - Constructor for class org.lenskit.slopeone.SlopeOneModel
 
SlopeOneModelDataAccumulator - Class in org.lenskit.slopeone
 
SlopeOneModelDataAccumulator(double, LongSet) - Constructor for class org.lenskit.slopeone.SlopeOneModelDataAccumulator
Creates an accumulator to process rating data and generate the necessary data for a SlopeOneItemScorer.
SlopeOneModelProvider - Class in org.lenskit.slopeone
Pre-computes the deviations and number of mutual rating users for every pair of items and stores the results in a DeviationMatrix and CoratingMatrix.
SlopeOneModelProvider(ItemItemBuildContext, double) - Constructor for class org.lenskit.slopeone.SlopeOneModelProvider
 
SnapshotNeighborFinder - Class in org.lenskit.knn.user
A neighborhood finder that has a snapshot of the rating data for efficiency.
SnapshotNeighborFinder(UserSnapshot, UserSimilarity, RatingVectorPDAO, UserVectorNormalizer, Threshold) - Constructor for class org.lenskit.knn.user.SnapshotNeighborFinder
 
sort(ObjectStream<T>, Comparator<? super T>) - Static method in class org.lenskit.util.io.ObjectStreams
Deprecated.
Use Stream.sorted(Comparator), possibly with ObjectStreams.wrap(Stream, Closeable).
sorted() - Method in class org.lenskit.util.io.AbstractObjectStream
 
sorted(Comparator<? super T>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
SortedKeyIndex - Class in org.lenskit.util.keys
Implement an index of long keys, sorted by key.
SortedListAccumulator<T> - Class in org.lenskit.util.collections
Accumulators for sorted lists of things.
SortKey - Class in org.lenskit.data.dao
A sort key describing a sort operation.
SortOrder - Enum in org.lenskit.data.dao
 
SortOrder - Enum in org.lenskit.eval.crossfold
Sort order for partitioning events per user or item.
SparseNeighborIterationStrategy - Class in org.lenskit.knn.item.model
Neighbor iteration strategy that looks at the items co-rated with the specified item.
SparseNeighborIterationStrategy() - Constructor for class org.lenskit.knn.item.model.SparseNeighborIterationStrategy
 
SpearmanRankCorrelation - Class in org.lenskit.similarity
Similarity function using Spearman rank correlation.
SpearmanRankCorrelation(double) - Constructor for class org.lenskit.similarity.SpearmanRankCorrelation
 
SpearmanRankCorrelation() - Constructor for class org.lenskit.similarity.SpearmanRankCorrelation
 
Spec() - Constructor for class org.lenskit.eval.traintest.predict.NDCGPredictMetric.Spec
 
Spec() - Constructor for class org.lenskit.eval.traintest.recommend.TopNNDCGMetric.Spec
 
Spec() - Constructor for class org.lenskit.eval.traintest.recommend.TopNNDPMMetric.Spec
 
spliterator() - Method in class org.lenskit.util.io.AbstractObjectStream
 
spliterator() - Method in interface org.lenskit.util.io.ObjectStream
 
StagedWrite - Class in org.lenskit.util.io
Helper to do staged file writes.
StandardRatingVectorPDAO - Class in org.lenskit.data.ratings
Rating vector source that extracts user ratings from the database.
StandardRatingVectorPDAO(DataAccessObject) - Constructor for class org.lenskit.data.ratings.StandardRatingVectorPDAO
Construct a rating vector source.
StandardVectorTruncatorProvider - Class in org.lenskit.knn.item.model
Configure a vector truncator using the standard item-item model build logic.
StandardVectorTruncatorProvider(Threshold, int) - Constructor for class org.lenskit.knn.item.model.StandardVectorTruncatorProvider
Construct a new vector truncator provider.
start(ExperimentOutputLayout) - Method in interface org.lenskit.eval.traintest.EvalTask
Do initial setup for this eval task.
start(ExperimentOutputLayout) - Method in class org.lenskit.eval.traintest.predict.PredictEvalTask
 
start(ExperimentOutputLayout) - Method in class org.lenskit.eval.traintest.recommend.RecommendEvalTask
 
start() - Method in class org.lenskit.util.monitor.TrackedJob
Start the job.
start(int) - Method in class org.lenskit.util.monitor.TrackedJob
Start the job with an estimated number of steps.
start() - Method in class org.lenskit.util.ProgressLogger
Start the progress logger’s timer.
startEquality(Result) - Method in class org.lenskit.results.AbstractResult
Create an equality builder, populated with the ID and score.
startEquality(Result, Result) - Static method in class org.lenskit.results.AbstractResult
Create an equality builder, populated with the ID and score.
startHashCode() - Method in class org.lenskit.results.AbstractResult
Create a hash code builder, populated with the ID and score.
startHashCode(Result) - Static method in class org.lenskit.results.AbstractResult
Create an equality builder, populated with the ID and score.
StaticDataSource - Class in org.lenskit.data.dao.file
Layout and builder for DAOs backed by static files.
StaticDataSource() - Constructor for class org.lenskit.data.dao.file.StaticDataSource
Construct a new data layout object.
StaticDataSource(String) - Constructor for class org.lenskit.data.dao.file.StaticDataSource
Construct a new data layout object.
StaticInjector - Class in org.lenskit.inject
A Grapht injector that uses a precomputed graph.
StaticInjector(DAGNode<Component, Dependency>) - Constructor for class org.lenskit.inject.StaticInjector
Create a new static injector.
StatusLogger - Class in org.lenskit.eval.traintest
Event listener that logs status messages.
StatusLogger(Logger) - Constructor for class org.lenskit.eval.traintest.StatusLogger
Construct a new status logger writing to a logger.
StoppingCondition - Interface in org.grouplens.lenskit.iterative
Stopping condition for iterative updates
StoppingThreshold - Annotation Type in org.grouplens.lenskit.iterative
Stopping threshold.
stream() - Method in class org.lenskit.data.dao.GroupedQuery
Stream the groups of entities.
stream() - Method in interface org.lenskit.data.dao.Query
Stream the results of this query.
stream - Variable in class org.lenskit.util.io.AbstractObjectStream
 
streamEntities(EntityType) - Method in class org.lenskit.data.dao.AbstractDataAccessObject
Stream all entities of a particular type.
streamEntities(EntityType) - Method in interface org.lenskit.data.dao.DataAccessObject
Stream all entities of a particular type.
streamEntities(EntityQuery<E>) - Method in interface org.lenskit.data.dao.DataAccessObject
Stream entities in response to a query.
streamEntities(EntityType) - Method in class org.lenskit.data.dao.EntityCollectionDAO
 
streamEntities(EntityQuery<E>) - Method in class org.lenskit.data.dao.EntityCollectionDAO
 
streamEntityGroups(EntityQuery<E>, TypedName<Long>) - Method in class org.lenskit.data.dao.AbstractDataAccessObject
Stream entities in response to a query, grouping them by a long ID.
streamEntityGroups(EntityQuery<E>, TypedName<Long>) - Method in interface org.lenskit.data.dao.DataAccessObject
Stream entities in response to a query, grouping them by a long ID.
streamEntityGroups(EntityQuery<E>, TypedName<Long>) - Method in class org.lenskit.data.dao.EntityCollectionDAO
 
streamUsers() - Method in class org.lenskit.data.ratings.AbstractRatingVectorPDAO
 
streamUsers() - Method in interface org.lenskit.data.ratings.RatingVectorPDAO
Stream all users in the data set.
streamUsers() - Method in class org.lenskit.data.ratings.StandardRatingVectorPDAO
 
StringDescriptionWriter - Class in org.lenskit.util.describe
Description writer that accumulates a string.
stringWriter() - Static method in class org.lenskit.util.describe.Descriptions
Construct a new description writer that outputs a string.
subIndex(int, int) - Method in class org.lenskit.util.keys.SortedKeyIndex
Create a view of a subset of this index.
subList(int, int) - Method in class org.lenskit.results.BasicResultList
 
subList(int, int) - Method in class org.lenskit.util.collections.CompactableLongArrayList
 
subMap(long, long) - Method in class org.lenskit.util.keys.KeyedObjectMap
 
subMap(long, long) - Method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
 
subMap(LongSet) - Method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
Return a subset of this map containing only the keys that appear in another set.
subSet(long, long) - Method in class org.lenskit.util.keys.LongSortedArraySet
 
sum(Long2DoubleMap) - Static method in class org.lenskit.util.math.Vectors
Compute the sum of the elements of a map.
sum() - Method in interface org.lenskit.util.table.Column
Get the sum of this column.
sumAbs(Long2DoubleMap) - Static method in class org.lenskit.util.math.Vectors
Compute the sum of the elements of a map.
sumOfSquares(Long2DoubleMap) - Static method in class org.lenskit.util.math.Vectors
Compute the sum of the squares of elements of a map.
sumOfSquares(Long2DoubleSortedArrayMap) - Static method in class org.lenskit.util.math.Vectors
Compute the sum of the squares of elements of a map (optimized).

T

Table - Interface in org.lenskit.util.table
This is the interface for the in memory table which stores a list of rows.
TableBuilder - Class in org.lenskit.util.table
Builder to construct tables.
TableBuilder(TableLayout) - Constructor for class org.lenskit.util.table.TableBuilder
Construct a new builder using a particular layout.
TableBuilder(List<String>) - Constructor for class org.lenskit.util.table.TableBuilder
 
TableLayout - Class in org.lenskit.util.table
A layout for a table to be written.
TableLayoutBuilder - Class in org.lenskit.util.table
Construct a layout for a table.
TableLayoutBuilder() - Constructor for class org.lenskit.util.table.TableLayoutBuilder
 
TableWriter - Interface in org.lenskit.util.table.writer
Write rows to a table.
TableWriters - Class in org.lenskit.util.table.writer
Utility methods for table writers.
tailMap(long) - Method in class org.lenskit.util.keys.KeyedObjectMap
 
tailMap(long) - Method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
 
tailSet(long) - Method in class org.lenskit.util.keys.LongSortedArraySet
 
TaskGroup - Class in org.lenskit.util.parallel
A group of tasks to be executed in a fork-join tree.
TaskGroup(boolean) - Constructor for class org.lenskit.util.parallel.TaskGroup
Create a new task group.
TemporalEvaluator - Class in org.lenskit.eval.temporal
 
TemporalEvaluator() - Constructor for class org.lenskit.eval.temporal.TemporalEvaluator
 
test(int) - Method in class org.lenskit.util.BinarySearch
Test the value at position pos, comparing it against the target.
TestUser - Class in org.lenskit.eval.traintest
A test user’s data.
TestUser(Entity, List<Entity>, List<Entity>) - Constructor for class org.lenskit.eval.traintest.TestUser
Construct a new test user object.
TestUserBuilder - Class in org.lenskit.eval.traintest
Builder for test user objects.
TestUserBuilder() - Constructor for class org.lenskit.eval.traintest.TestUserBuilder
Construct a new test user builder.
TestUsers - Annotation Type in org.lenskit.eval.traintest
Qualifier for gaining access to the set of test users.
Text - Class in org.lenskit.util
UTF-8 encoded text string.
Text(byte[]) - Constructor for class org.lenskit.util.Text
Create a new Text instance from bytes.
TextEntitySource - Class in org.lenskit.data.dao.file
Entity reader that loads entities from text data, often stored in a file.
TextEntitySource() - Constructor for class org.lenskit.data.dao.file.TextEntitySource
Construct a new text entity source.
TextEntitySource(String) - Constructor for class org.lenskit.data.dao.file.TextEntitySource
Construct a new text entity source.
Threshold - Interface in org.grouplens.lenskit.transform.threshold
Determine whether similarity values should be accepted into or rejected from similarity models.
ThresholdStoppingCondition - Class in org.grouplens.lenskit.iterative
Stop when absolute delta drops below a threshold.
ThresholdStoppingCondition(double, int) - Constructor for class org.grouplens.lenskit.iterative.ThresholdStoppingCondition
Construct a new threshold stop.
ThresholdStoppingCondition(double) - Constructor for class org.grouplens.lenskit.iterative.ThresholdStoppingCondition
Create a new threshold stop with no minimum iteration count.
ThresholdTruncator - Class in org.grouplens.lenskit.transform.truncate
A VectorTruncator that will retain entries with values that are accepted by some Threshold.
ThresholdTruncator(Threshold) - Constructor for class org.grouplens.lenskit.transform.truncate.ThresholdTruncator
 
ThresholdValue - Annotation Type in org.grouplens.lenskit.transform.threshold
Threshold value for transformations.
TIMESTAMP - Static variable in class org.lenskit.data.entities.CommonAttributes
A timestamp associated with an event entity.
TIMESTAMP_COMPARATOR - Static variable in class org.lenskit.data.ratings.Ratings
Compare two events by timestamp.
toArray() - Method in class org.lenskit.results.BasicResultList
 
toArray(T[]) - Method in class org.lenskit.results.BasicResultList
 
toArray() - Method in class org.lenskit.util.io.AbstractObjectStream
 
toArray(IntFunction<A[]>) - Method in class org.lenskit.util.io.AbstractObjectStream
 
toInstance(T) - Method in interface org.lenskit.LenskitBinding
Explicitly bind to an instance.
toJSON() - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
 
toJSON() - Method in interface org.lenskit.data.dao.file.EntityFormat
Create a JSON description of this entity format.
toJSON() - Method in class org.lenskit.data.dao.file.JSONEntityFormat
 
toJSON(URI) - Method in class org.lenskit.data.dao.file.TextEntitySource
Construct a JSON representation of this entity source, suitable for serialization to e.g.
tokenize(StrTokenizer) - Method in class org.lenskit.util.io.LineStream
 
TopNEntropyMetric - Class in org.lenskit.eval.traintest.recommend
Metric that measures the entropy of the top N recommendations across all users.
TopNEntropyMetric() - Constructor for class org.lenskit.eval.traintest.recommend.TopNEntropyMetric
Construct a new length metric.
TopNEntropyMetric.Context - Class in org.lenskit.eval.traintest.recommend
 
TopNEntropyMetric.EntropyResult - Class in org.lenskit.eval.traintest.recommend
 
TopNItemBasedItemRecommender - Class in org.lenskit.basic
A global item recommender that recommends the top N items from a scorer.
TopNItemBasedItemRecommender(DataAccessObject, ItemBasedItemScorer) - Constructor for class org.lenskit.basic.TopNItemBasedItemRecommender
 
TopNItemRecommender - Class in org.lenskit.basic
Recommender that recommends the top N items by a scorer.
TopNItemRecommender(DataAccessObject, ItemScorer) - Constructor for class org.lenskit.basic.TopNItemRecommender
 
TopNLengthMetric - Class in org.lenskit.eval.traintest.recommend
Metric that measures how long a TopN list actually is.
TopNLengthMetric() - Constructor for class org.lenskit.eval.traintest.recommend.TopNLengthMetric
Construct a new length metric.
TopNLengthMetric.LengthResult - Class in org.lenskit.eval.traintest.recommend
 
TopNLong2DoubleAccumulator - Class in org.lenskit.util.collections
Accumulate the top N scored IDs.
TopNLong2DoubleAccumulator(int) - Constructor for class org.lenskit.util.collections.TopNLong2DoubleAccumulator
Create a new accumulator to accumulate the top n IDs.
TopNMAPMetric - Class in org.lenskit.eval.traintest.recommend
Compute the mean average precision.
TopNMAPMetric() - Constructor for class org.lenskit.eval.traintest.recommend.TopNMAPMetric
Construct a new MAP metric with the user’s test items as good.
TopNMAPMetric(PRMetricSpec) - Constructor for class org.lenskit.eval.traintest.recommend.TopNMAPMetric
Create a metric from a spec.
TopNMAPMetric(ItemSelector, String) - Constructor for class org.lenskit.eval.traintest.recommend.TopNMAPMetric
Construct a new mean average precision top n metric
TopNMAPMetric.AggregateResult - Class in org.lenskit.eval.traintest.recommend
 
TopNMAPMetric.Context - Class in org.lenskit.eval.traintest.recommend
 
TopNMAPMetric.UserResult - Class in org.lenskit.eval.traintest.recommend
 
TopNMetric<X> - Class in org.lenskit.eval.traintest.recommend
Base class for metrics that measure Top-N recommendations for users.
TopNMetric(List<String>, List<String>) - Constructor for class org.lenskit.eval.traintest.recommend.TopNMetric
Construct a new result metric.
TopNMetric(Class<? extends TypedMetricResult>, Class<? extends TypedMetricResult>) - Constructor for class org.lenskit.eval.traintest.recommend.TopNMetric
Construct a new result metric.
TopNMetric(Class<? extends TypedMetricResult>, Class<? extends TypedMetricResult>, String) - Constructor for class org.lenskit.eval.traintest.recommend.TopNMetric
Construct a new result metric.
TopNMRRMetric - Class in org.lenskit.eval.traintest.recommend
Compute the mean reciprocal rank.
TopNMRRMetric() - Constructor for class org.lenskit.eval.traintest.recommend.TopNMRRMetric
Construct a new MRR metric using the user’s test items as good.
TopNMRRMetric(PRMetricSpec) - Constructor for class org.lenskit.eval.traintest.recommend.TopNMRRMetric
Construct an MRR metric from a spec.
TopNMRRMetric(ItemSelector, String) - Constructor for class org.lenskit.eval.traintest.recommend.TopNMRRMetric
Construct a new recall and precision top n metric
TopNMRRMetric.AggregateResult - Class in org.lenskit.eval.traintest.recommend
 
TopNMRRMetric.Context - Class in org.lenskit.eval.traintest.recommend
 
TopNMRRMetric.UserResult - Class in org.lenskit.eval.traintest.recommend
 
TopNNDCGMetric - Class in org.lenskit.eval.traintest.recommend
Measure the nDCG of the top-N recommendations, using ratings as scores.
TopNNDCGMetric() - Constructor for class org.lenskit.eval.traintest.recommend.TopNNDCGMetric
Create an nDCG metric with log-2 discounting.
TopNNDCGMetric(Discount) - Constructor for class org.lenskit.eval.traintest.recommend.TopNNDCGMetric
Create an nDCG metric with a default name.
TopNNDCGMetric(TopNNDCGMetric.Spec) - Constructor for class org.lenskit.eval.traintest.recommend.TopNNDCGMetric
Construct a top-N nDCG metric from a spec.
TopNNDCGMetric(Discount, String) - Constructor for class org.lenskit.eval.traintest.recommend.TopNNDCGMetric
Construct a new nDCG Top-N metric.
TopNNDCGMetric(Discount, String, String) - Constructor for class org.lenskit.eval.traintest.recommend.TopNNDCGMetric
Construct a new nDCG Top-N metric.
TopNNDCGMetric.Spec - Class in org.lenskit.eval.traintest.recommend
Specification for configuring nDCG metrics.
TopNNDPMMetric - Class in org.lenskit.eval.traintest.recommend
Measure the nDPM of the top-N recommendations, using rankings.
TopNNDPMMetric(TopNNDPMMetric.Spec) - Constructor for class org.lenskit.eval.traintest.recommend.TopNNDPMMetric
Construct a top-N nDCG metric from a spec.
TopNNDPMMetric(String) - Constructor for class org.lenskit.eval.traintest.recommend.TopNNDPMMetric
Construct a new nDPM Top-N metric.
TopNNDPMMetric.Spec - Class in org.lenskit.eval.traintest.recommend
Specification for configuring nDPM metrics.
TopNPopularityMetric - Class in org.lenskit.eval.traintest.recommend
Metric that measures how popular the items in the TopN list are.
TopNPopularityMetric() - Constructor for class org.lenskit.eval.traintest.recommend.TopNPopularityMetric
 
TopNPopularityMetric.Context - Class in org.lenskit.eval.traintest.recommend
 
TopNPopularityMetric.PopResult - Class in org.lenskit.eval.traintest.recommend
 
TopNPrecisionRecallMetric - Class in org.lenskit.eval.traintest.recommend
A metric to compute the precision and recall of a recommender given a set of candidate items to recommend from and a set of desired items.
TopNPrecisionRecallMetric() - Constructor for class org.lenskit.eval.traintest.recommend.TopNPrecisionRecallMetric
Construct a new precision-recall metric using the user’s test items as good.
TopNPrecisionRecallMetric(PRMetricSpec) - Constructor for class org.lenskit.eval.traintest.recommend.TopNPrecisionRecallMetric
Construct a precision-reacll metric from a spec.
TopNPrecisionRecallMetric(ItemSelector, String) - Constructor for class org.lenskit.eval.traintest.recommend.TopNPrecisionRecallMetric
Construct a new recall and precision top n metric
TopNPrecisionRecallMetric.Context - Class in org.lenskit.eval.traintest.recommend
 
TopNPrecisionRecallMetric.PresRecResult - Class in org.lenskit.eval.traintest.recommend
 
TopNTruncator - Class in org.grouplens.lenskit.transform.truncate
A VectorTruncator that will retain the top n entries.
TopNTruncator(int, Threshold) - Constructor for class org.grouplens.lenskit.transform.truncate.TopNTruncator
 
TopNTruncator(int) - Constructor for class org.grouplens.lenskit.transform.truncate.TopNTruncator
 
toString() - Method in class org.grouplens.lenskit.iterative.ErrorThresholdStoppingCondition
 
toString() - Method in class org.grouplens.lenskit.iterative.IterationCountStoppingCondition
 
toString() - Method in class org.grouplens.lenskit.iterative.ThresholdStoppingCondition
 
toString() - Method in class org.lenskit.baseline.ItemMeanRatingItemScorer
 
toString() - Method in class org.lenskit.baseline.UserMeanItemScorer
 
toString() - Method in class org.lenskit.cli.util.InputData
 
toString() - Method in class org.lenskit.data.dao.file.DelimitedColumnEntityFormat
 
toString() - Method in class org.lenskit.data.dao.file.EntitySource.Layout
 
toString() - Method in class org.lenskit.data.dao.file.JSONEntityFormat
 
toString() - Method in class org.lenskit.data.dao.file.StaticDataSource
 
toString() - Method in class org.lenskit.data.dao.file.TextEntitySource
 
toString() - Method in class org.lenskit.data.entities.AbstractEntity
 
toString() - Method in class org.lenskit.data.entities.Attribute
 
toString() - Method in class org.lenskit.data.entities.EntityType
 
toString() - Method in class org.lenskit.data.entities.TypedName
 
toString() - Method in class org.lenskit.data.ratings.PreferenceDomain
 
toString() - Method in class org.lenskit.data.ratings.RatingMatrixEntry
 
toString() - Method in class org.lenskit.eval.crossfold.Crossfolder
 
toString() - Method in class org.lenskit.eval.crossfold.FractionHistoryPartitionMethod
 
toString() - Method in class org.lenskit.eval.crossfold.HoldoutNHistoryPartitionMethod
 
toString() - Method in class org.lenskit.eval.crossfold.RetainNHistoryPartitionMethod
 
toString() - Method in class org.lenskit.eval.traintest.AlgorithmInstance
 
toString() - Method in class org.lenskit.eval.traintest.DataSet
 
toString() - Method in class org.lenskit.eval.traintest.metrics.ExponentialDiscount
 
toString() - Method in class org.lenskit.eval.traintest.metrics.LogDiscount
 
toString() - Method in class org.lenskit.eval.traintest.recommend.ItemSelector.GroovyItemSelector
 
toString() - Method in class org.lenskit.inject.PlaceholderSatisfaction
 
toString() - Method in class org.lenskit.knn.item.ItemItemResult
 
toString() - Method in class org.lenskit.knn.item.ItemVectorSimilarity
 
toString() - Method in class org.lenskit.knn.item.model.NormalizingItemItemModelProvider
 
toString() - Method in class org.lenskit.knn.item.model.SimilarityMatrixModel
 
toString() - Method in class org.lenskit.knn.item.model.StandardVectorTruncatorProvider
 
toString() - Method in class org.lenskit.knn.item.SimilaritySumNeighborhoodScorer
 
toString() - Method in class org.lenskit.knn.item.WeightedAverageNeighborhoodScorer
 
toString() - Method in class org.lenskit.knn.user.UserVectorSimilarity
 
toString() - Method in exception org.lenskit.RecommenderConfigurationException
 
toString() - Method in class org.lenskit.results.BasicResult
 
toString() - Method in class org.lenskit.similarity.CosineVectorSimilarity
 
toString() - Method in class org.lenskit.similarity.PearsonCorrelation
 
toString() - Method in class org.lenskit.similarity.SignificanceWeightedVectorSimilarity
 
toString() - Method in class org.lenskit.transform.normalize.BaselineSubtractingUserVectorNormalizer
 
toString() - Method in class org.lenskit.util.IdBox
 
toString() - Method in class org.lenskit.util.monitor.JobEvent.Failed
 
toString() - Method in class org.lenskit.util.monitor.JobEvent.Finished
 
toString() - Method in class org.lenskit.util.monitor.JobEvent.ProgressUpdate
 
toString() - Method in class org.lenskit.util.monitor.JobEvent.Started
 
toString() - Method in class org.lenskit.util.monitor.TrackedJob
 
toString() - Method in class org.lenskit.util.Text
 
TrackedJob - Class in org.lenskit.util.monitor
A job graph node used for tracking the status of work.
TrackedJob(String) - Constructor for class org.lenskit.util.monitor.TrackedJob
Create a new tracked job.
TrackedJob(String, String) - Constructor for class org.lenskit.util.monitor.TrackedJob
Create a new tracked job.
TrainingLoopController - Interface in org.grouplens.lenskit.iterative
Training Loop controller for iterative updates
TrainModel - Class in org.lenskit.cli.commands
 
TrainModel() - Constructor for class org.lenskit.cli.commands.TrainModel
 
TrainTest - Class in org.lenskit.cli.commands
 
TrainTest() - Constructor for class org.lenskit.cli.commands.TrainTest
 
TrainTestExperiment - Class in org.lenskit.eval.traintest
Sets up and runs train-test evaluations.
TrainTestExperiment() - Constructor for class org.lenskit.eval.traintest.TrainTestExperiment
 
transform(ObjectStream<S>, Function<? super S, ? extends T>) - Static method in class org.lenskit.util.io.ObjectStreams
Deprecated.
Use Stream.map(java.util.function.Function), possibly with ObjectStreams.wrap(Stream, Closeable).
transform(Long2DoubleMap, DoubleUnaryOperator) - Static method in class org.lenskit.util.math.Vectors
Transform the values of a vector.
Transient - Annotation Type in org.lenskit.inject
Mark a component dependency as transient.
transparentlyDecompress(InputStream) - Static method in class org.lenskit.util.io.LKFileUtils
Auto-detect whether a stream needs decompression.
trim() - Method in class org.lenskit.util.collections.CompactableLongArrayList
 
truncate(Long2DoubleMap) - Method in class org.grouplens.lenskit.transform.truncate.NoOpTruncator
 
truncate(Long2DoubleMap) - Method in class org.grouplens.lenskit.transform.truncate.ThresholdTruncator
 
truncate(Long2DoubleMap) - Method in class org.grouplens.lenskit.transform.truncate.TopNTruncator
 
truncate(Long2DoubleMap) - Method in interface org.grouplens.lenskit.transform.truncate.VectorTruncator
Truncate a vector, removing any entries that do not satisfy some condition.
tryGetIndex(long) - Method in class org.lenskit.util.keys.FrozenHashKeyIndex
 
tryGetIndex(long) - Method in class org.lenskit.util.keys.HashKeyIndex
 
tryGetIndex(long) - Method in interface org.lenskit.util.keys.KeyIndex
Try to get the index for an ID, returning a negative value if it does not exist.
tryGetIndex(long) - Method in class org.lenskit.util.keys.SortedKeyIndex
Get the index for a key.
tryGetInstance(Class<? extends Annotation>, Class<T>) - Method in class org.lenskit.inject.StaticInjector
 
tryGetInstance(QualifierMatcher, Class<T>) - Method in class org.lenskit.inject.StaticInjector
 
tryGetInstance(Class<T>) - Method in class org.lenskit.inject.StaticInjector
 
tryGetInstance(Annotation, Class<T>) - Method in class org.lenskit.inject.StaticInjector
 
tsvRatings() - Static method in class org.lenskit.data.dao.file.Formats
Read a TSV file of ratings without a header.
type - Variable in class org.lenskit.data.entities.AbstractEntity
 
type - Variable in class org.lenskit.data.entities.EntityBuilder
 
typeClosure(Class<?>) - Static method in class org.lenskit.util.TypeUtils
Return the supertype closure of a type (the type and all its transitive supertypes).
TypedMetricResult - Class in org.lenskit.eval.traintest.metrics
Base class for metric results that expose their values via getters.
TypedMetricResult() - Constructor for class org.lenskit.eval.traintest.metrics.TypedMetricResult
 
TypedName<T> - Class in org.lenskit.data.entities
An association of a type with a name.
typePredicate(EntityType) - Static method in class org.lenskit.data.entities.Entities
Create a predicate that filters events for an entity type.
TypeUtils - Class in org.lenskit.util
Various type utilities used in LensKit.

U

unapply(T) - Method in interface org.lenskit.util.InvertibleFunction
Returns the result of applying the inverse of this function to input.
unionSize(LongSortedSet, LongSortedSet) - Static method in class org.lenskit.util.collections.LongUtils
Compute the size of the union of two sets.
unitVector(Long2DoubleMap) - Static method in class org.lenskit.util.math.Vectors
Convert a vector to a unit vector.
UnitVectorNormalizer - Class in org.lenskit.transform.normalize
Vector normalizer that scales a vector by the factor needed to scale the reference vector to a unit vector.
UnitVectorNormalizer() - Constructor for class org.lenskit.transform.normalize.UnitVectorNormalizer
Create a unit vector normalizer with a tolerance of 1.0e-6.
UnitVectorNormalizer(double) - Constructor for class org.lenskit.transform.normalize.UnitVectorNormalizer
Create a unit vector normalizer a specified tolerance around 0.
UnlimitedLong2DoubleAccumulator - Class in org.lenskit.util.collections
Scored item accumulator with no upper bound.
UnlimitedLong2DoubleAccumulator() - Constructor for class org.lenskit.util.collections.UnlimitedLong2DoubleAccumulator
 
unordered() - Method in class org.lenskit.util.io.AbstractObjectStream
 
unqualified() - Method in interface org.lenskit.LenskitBinding
 
unshared() - Method in interface org.lenskit.LenskitBinding
 
UnsupportedQueryException - Exception in org.lenskit.data.dao
Exception thrown when a query cannot be supported.
UnsupportedQueryException() - Constructor for exception org.lenskit.data.dao.UnsupportedQueryException
Create an unsupported query exception with no explanation.
UnsupportedQueryException(String) - Constructor for exception org.lenskit.data.dao.UnsupportedQueryException
Create an unsupported query exception with a message.
UnsupportedQueryException(String, Throwable) - Constructor for exception org.lenskit.data.dao.UnsupportedQueryException
Create an unsupported query exception with a message and cause.
UnsupportedQueryException(Throwable) - Constructor for exception org.lenskit.data.dao.UnsupportedQueryException
Create an unsupported query exception with a cause but no further explanation.
USER - Static variable in class org.lenskit.data.entities.CommonTypes
Type identifier for user entities.
user - Variable in class org.lenskit.knn.user.Neighbor
 
USER_ID - Static variable in class org.lenskit.data.entities.CommonAttributes
The user ID associated with an entity.
UserAverageRatingBiasModelProvider - Class in org.lenskit.bias
Compute a bias model that returns users’ average ratings.
UserAverageRatingBiasModelProvider(RatingVectorPDAO, double) - Constructor for class org.lenskit.bias.UserAverageRatingBiasModelProvider
 
UserBiasModel - Class in org.lenskit.bias
Bias model that provides global and user biases.
UserBiasModel(double, Long2DoubleMap) - Constructor for class org.lenskit.bias.UserBiasModel
Construct a new user bias model.
userIndex() - Method in class org.lenskit.data.ratings.PackedRatingMatrix
 
userIndex() - Method in interface org.lenskit.data.ratings.RatingMatrix
Get the user ID index.
UserItemAverageRatingBiasModelProvider - Class in org.lenskit.bias
Compute a bias model with users’ average ratings.
UserItemAverageRatingBiasModelProvider(ItemBiasModel, RatingVectorPDAO, double) - Constructor for class org.lenskit.bias.UserItemAverageRatingBiasModelProvider
 
UserItemBiasModel - Class in org.lenskit.bias
Bias model that provides global, user, and item biases.
UserItemBiasModel(double, Long2DoubleMap, Long2DoubleMap) - Constructor for class org.lenskit.bias.UserItemBiasModel
Construct a new user bias model.
UserMeanBaseline - Annotation Type in org.lenskit.baseline
Baseline scores for user mean ratings.
UserMeanItemScorer - Class in org.lenskit.baseline
Rating scorer that returns the user’s average rating for all predictions.
UserMeanItemScorer(RatingVectorPDAO, ItemScorer, double) - Constructor for class org.lenskit.baseline.UserMeanItemScorer
Construct a scorer that computes user means offset by the global mean.
UserNeighborhoodScorer - Interface in org.lenskit.knn.user
Score an item using a neighborhood of users.
userRatingVector(long) - Method in class org.lenskit.data.ratings.AbstractRatingVectorPDAO
 
userRatingVector(Collection<Rating>) - Static method in class org.lenskit.data.ratings.Ratings
Construct a rating vector that contains the ratings provided for each item.
userRatingVector(ObjectStream<? extends Rating>) - Static method in class org.lenskit.data.ratings.Ratings
Extract a user rating vector from a rating stream.
userRatingVector(long) - Method in interface org.lenskit.data.ratings.RatingVectorPDAO
Get a user’s rating vector.
userRatingVector(long) - Method in class org.lenskit.data.ratings.StandardRatingVectorPDAO
 
UserResult(double) - Constructor for class org.lenskit.eval.traintest.recommend.TopNMAPMetric.UserResult
 
UserResult(Integer) - Constructor for class org.lenskit.eval.traintest.recommend.TopNMRRMetric.UserResult
 
UserSimilarity - Interface in org.lenskit.knn.user
Compute the similarity between two users.
UserSimilarityThreshold - Annotation Type in org.lenskit.knn.user
Qualifier for threshold applied to user similarities.
UserSnapshot - Class in org.lenskit.knn.user
User snapshot used by SnapshotNeighborFinder.
UserSnapshot.Builder - Class in org.lenskit.knn.user
 
userTestItems() - Static method in class org.lenskit.eval.traintest.recommend.ItemSelector
 
userTrainItems() - Static method in class org.lenskit.eval.traintest.recommend.ItemSelector
 
UserUserItemScorer - Class in org.lenskit.knn.user
Score items with user-user collaborative filtering.
UserUserItemScorer(RatingVectorPDAO, NeighborFinder, UserVectorNormalizer, UserNeighborhoodScorer, int) - Constructor for class org.lenskit.knn.user.UserUserItemScorer
 
UserUserResult - Class in org.lenskit.knn.user
Result for user-user CF.
UserVectorNormalizer - Interface in org.lenskit.transform.normalize
Normalize a user’s vector.
UserVectorSimilarity - Class in org.lenskit.knn.user
Implementation of UserSimilarity that delegates to a vector similarity.
UserVectorSimilarity(VectorSimilarity) - Constructor for class org.lenskit.knn.user.UserVectorSimilarity
 

V

value(String) - Method in interface org.lenskit.util.table.Row
Get the value at a particular column.
value(int) - Method in interface org.lenskit.util.table.Row
Get the value at a particular column.
ValueArrayQuantizer - Class in org.lenskit.transform.quantize
Abstract quantizer implementation using a pre-generated array of possible values.
ValueArrayQuantizer(double[]) - Constructor for class org.lenskit.transform.quantize.ValueArrayQuantizer
Construct a new quantizer using the specified array of values.
ValueArrayQuantizer(RealVector) - Constructor for class org.lenskit.transform.quantize.ValueArrayQuantizer
 
valueOf(String) - Static method in enum org.lenskit.data.dao.SortOrder
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.lenskit.data.output.OutputFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.lenskit.EngineValidationMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.lenskit.eval.crossfold.SortOrder
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.lenskit.ModelDisposition
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.lenskit.util.io.CompressionMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.lenskit.data.dao.SortOrder
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.lenskit.data.output.OutputFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.lenskit.EngineValidationMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.lenskit.eval.crossfold.SortOrder
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.lenskit.ModelDisposition
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.lenskit.results.BasicResultMap
 
values - Variable in class org.lenskit.transform.quantize.ValueArrayQuantizer
The values to quantize to.
values() - Static method in enum org.lenskit.util.io.CompressionMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class org.lenskit.util.keys.KeyedObjectMap
 
valueSet(TypedName<Long>) - Method in interface org.lenskit.data.dao.Query
Get the set of values from an attribute in the entities in this query.
vector - Variable in class org.lenskit.knn.user.Neighbor
 
VectorNormalizer - Interface in org.lenskit.transform.normalize
Normalize vectors by applying a reversible transformation with respect to a reference vector.
Vectors - Class in org.lenskit.util.math
Utility methods for vector arithmetic.
VectorSimilarity - Interface in org.lenskit.similarity
Compute the similarity between sparse vectors.
VectorTransformation - Interface in org.lenskit.transform.normalize
Reversible in-place vector transformations.
VectorTruncator - Interface in org.grouplens.lenskit.transform.truncate
Component that truncates vectors.
Version - Class in org.lenskit.cli.commands
 
Version() - Constructor for class org.lenskit.cli.commands.Version
 
visit(SatisfactionVisitor<T>) - Method in class org.lenskit.inject.PlaceholderSatisfaction
 

W

WeightedAverageNeighborhoodScorer - Class in org.lenskit.knn.item
Neighborhood scorer that computes the weighted average of neighbor scores.
WeightedAverageNeighborhoodScorer() - Constructor for class org.lenskit.knn.item.WeightedAverageNeighborhoodScorer
 
WeightedAverageUserNeighborhoodScorer - Class in org.lenskit.knn.user
Score an item using the weighted average of neighbor ratings.
WeightedAverageUserNeighborhoodScorer(int) - Constructor for class org.lenskit.knn.user.WeightedAverageUserNeighborhoodScorer
Construct a weighted average scorer.
WeightedSlopeOneItemScorer - Class in org.lenskit.slopeone
An ItemScorer that implements a weighted Slope One algorithm.
WeightedSlopeOneItemScorer(RatingVectorPDAO, SlopeOneModel, PreferenceDomain) - Constructor for class org.lenskit.slopeone.WeightedSlopeOneItemScorer
 
withAnyQualifier() - Method in interface org.lenskit.LenskitBinding
 
withAttribute(TypedName<T>, T) - Method in interface org.lenskit.data.dao.Query
Add an attribute value condition to the query.
within(Class<?>) - Method in class org.lenskit.config.BindingDSL
 
within(Class<?>, Closure<?>) - Method in class org.lenskit.config.BindingDSL
Enclose a block of configuration in a context.
within(Class<? extends Annotation>, Class<?>) - Method in class org.lenskit.config.BindingDSL
 
within(Class<? extends Annotation>, Class<?>, Closure<?>) - Method in class org.lenskit.config.BindingDSL
Enclose a block of configuration in a context.
within(Annotation, Class<?>) - Method in class org.lenskit.config.BindingDSL
 
within(Annotation, Class<?>, Closure<?>) - Method in class org.lenskit.config.BindingDSL
Enclose a block of configuration in a context.
within(Class<?>) - Method in interface org.lenskit.LenskitConfigContext
 
within(Class<? extends Annotation>, Class<?>) - Method in interface org.lenskit.LenskitConfigContext
 
within(Annotation, Class<?>) - Method in interface org.lenskit.LenskitConfigContext
 
within(Class<?>) - Method in class org.lenskit.LenskitConfiguration
 
within(Class<? extends Annotation>, Class<?>) - Method in class org.lenskit.LenskitConfiguration
 
within(Annotation, Class<?>) - Method in class org.lenskit.LenskitConfiguration
 
withPrefix(String) - Method in class org.lenskit.eval.traintest.metrics.MetricResult
Add a prefix to this metric result’s column names.
withQualifier(Class<? extends Annotation>) - Method in interface org.lenskit.LenskitBinding
 
withQualifier(Annotation) - Method in interface org.lenskit.LenskitBinding
 
withSuffix(String) - Method in class org.lenskit.eval.traintest.metrics.MetricResult
Add a suffix to this metric result’s column names.
wrap(Iterator<? extends T>) - Static method in class org.lenskit.util.io.ObjectStreams
Wrap an iterator in an object stream.
wrap(Stream<? extends T>) - Static method in class org.lenskit.util.io.ObjectStreams
Wrap a Java stream in an object stream.
wrap(Stream<? extends T>, Closeable) - Static method in class org.lenskit.util.io.ObjectStreams
Wrap a Java stream in an object stream.
wrap(Collection<? extends T>) - Static method in class org.lenskit.util.io.ObjectStreams
Wrap a collection in an object stream.
wrap(SortedKeyIndex, double[]) - Static method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
Create a new long-to-double map backed by a key index and a corresponding value array.
wrap(long[], int) - Static method in class org.lenskit.util.keys.SortedKeyIndex
Wrap a key array (with a specified size) into a key set.
wrapContext(Context) - Static method in class org.lenskit.inject.AbstractConfigContext
Coerce a Grapht context to a LensKit context.
wrapInput(InputStream) - Method in enum org.lenskit.util.io.CompressionMode
Wrap an input stream in a decompressor.
wrapOutput(OutputStream) - Method in enum org.lenskit.util.io.CompressionMode
Wrap an output stream in this compression mode.
wrapUnsorted(long[], double[]) - Static method in class org.lenskit.util.keys.Long2DoubleSortedArrayMap
Create a new Long2DoubleSortedArrayMap from unsorted key and value arrays.
write(File) - Method in class org.lenskit.LenskitRecommenderEngine
Write the state of this recommender engine to the given file so that it can be recreated later using another DAOFactory.
write(File, CompressionMode) - Method in class org.lenskit.LenskitRecommenderEngine
Write the state of this recommender engine to the given file so that it can be recreated later using another DAOFactory.
write(OutputStream) - Method in class org.lenskit.LenskitRecommenderEngine
Write the state of this recommender engine to the given stream so that it can be recreated later using another DAOFactory.
writeRating(Rating) - Method in interface org.lenskit.data.output.RatingWriter
Write a rating to the writer.
writeRow(List<?>) - Method in class org.lenskit.util.table.TableBuilder
 
writeRow(Object...) - Method in class org.lenskit.util.table.writer.AbstractTableWriter
Write a row to the table.
writeRow(List<?>) - Method in class org.lenskit.util.table.writer.CSVWriter
 
writeRow(Object...) - Method in class org.lenskit.util.table.writer.DevNullTableWriter
 
writeRow(List<?>) - Method in class org.lenskit.util.table.writer.DevNullTableWriter
 
writeRow(Object...) - Method in class org.lenskit.util.table.writer.MultiplexedTableWriter
 
writeRow(List<?>) - Method in class org.lenskit.util.table.writer.MultiplexedTableWriter
 
writeRow(Object...) - Method in interface org.lenskit.util.table.writer.TableWriter
Write a row to the table.
writeRow(List<?>) - Method in interface org.lenskit.util.table.writer.TableWriter
Write a row to the table.

Z

ZeroBiasModel - Class in org.lenskit.bias
A bias model that always returns zeros.
ZeroBiasModel() - Constructor for class org.lenskit.bias.ZeroBiasModel
 
A B C D E F G H I J K L M N O P Q R S T U V W Z 
Skip navigation links