public interface Recommender
The various methods in this class return null
if the corresponding
operation is not supported by the underlying recommender configuration. This
ensures that, if you can actually get an object implementing a particular interface,
you are guaranteed to be able to use it.
RecommenderEngine
Modifier and Type | Method and Description |
---|---|
GlobalItemRecommender |
getGlobalItemRecommender()
Get the recommender's global item recommender.
|
GlobalItemScorer |
getGlobalItemScorer()
Get the recommender's global item scorer.
|
ItemRecommender |
getItemRecommender()
Get the recommender's item recommender.
|
ItemScorer |
getItemScorer()
Get the recommender's item scorer.
|
RatingPredictor |
getRatingPredictor()
Get the recommender's rating scorer.
|
@Nullable ItemScorer getItemScorer()
null
if item scoring is not supported.@Nullable GlobalItemScorer getGlobalItemScorer()
null
if item scoring is not supported.@Nullable RatingPredictor getRatingPredictor()
null
if rating prediction is not supported.@Nullable ItemRecommender getItemRecommender()
null
if item recommendation is not supported.@Nullable GlobalItemRecommender getGlobalItemRecommender()
null
if item recommendation is not supported.