Architecture Diagrams for /oryxproject/oryx[edit]
Packages / Module oryx-app-serving / com.cloudera.oryx.app.serving.als.model / ALSServingModel

class ALSServingModel

Contains all data structures needed to serve real-time requests for an ALS-based recommender.
Class fields and methods
class ALSServingModel
Contains all data structures needed to serve real-time requests for an ...
constructor ALSServingModel(features,implicit,sampleRate,rescorerProvider)
method addKnownItems(user,items)
method getAllItemIDs()
method getAllUserIDs()
method getFeatures()
O
method getFractionLoaded()
method getItemCounts()
method getItemVector(item)
method getKnownItemVectorsForUser(user)
method getKnownItems(user)
method getNumItems()
method getNumUsers()
method getRescorerProvider()
method getUserCounts()
method getUserVector(user)
method getYTYSolver()
method isImplicit()
method precomputeSolvers()
method retainRecentAndItemIDs(items)
method retainRecentAndKnownItems(users,items)
method retainRecentAndUserIDs(users)
method setItemVector(item,vector)
method setUserVector(user,vector)
method toString()
method topN(scoreFn,rescoreFn,howMany,allowedPredicate)
Creates an empty model.
Retains only items that are expected to appear in the upcoming model up...
Like {@link #retainRecentAndUserIDs(Collection)} and {@link #retainRece...
Retains only users that are expected to appear in the upcoming model up...