Architecture Diagrams for /oryxproject/oryx[edit]
Packages / Module oryx-app-common / com.cloudera.oryx.app.als / PartitionedFeatureVectors

class PartitionedFeatureVectors

Encapsulates a feature vectors, keyed by an ID, and associated data structures. This supports the representation of user-feature and item-feature vectors in ALSServingModel or ALSSpeedModel . This represents many partition of vectors; see FeatureVectorsPartition for a representation of one partition.
Class fields and methods
class PartitionedFeatureVectors
Encapsulates a feature vectors, keyed by an ID, and associated data str...
constructor PartitionedFeatureVectors(numPartitions,executor)
constructor PartitionedFeatureVectors(numPartitions,executor,partitioner)
O
method addAllIDsTo(allIDs)
O
method addAllRecentTo(allRecent)
O
method getVTV(background)
O
method getVector(item)
method mapPartitionsParallel(fn,background)
method mapPartitionsParallel(fn,candidateIndices,background)
O
method removeAllIDsFrom(allIDs)
O
method retainRecentAndIDs(newModelIDs)
O
method setVector(item,vector)
O
method size()
method toString()