public abstract class AbstractRescorerProvider extends Object implements RescorerProvider
RescorerProvider
which implements all methods to
return null
.Constructor and Description |
---|
AbstractRescorerProvider() |
Modifier and Type | Method and Description |
---|---|
Rescorer |
getMostActiveUsersRescorer(List<String> args) |
Rescorer |
getMostPopularItemsRescorer(List<String> args) |
Rescorer |
getMostSimilarItemsRescorer(List<String> args) |
Rescorer |
getRecommendRescorer(List<String> userIDs,
List<String> args) |
Rescorer |
getRecommendToAnonymousRescorer(List<String> itemIDs,
List<String> args) |
public Rescorer getRecommendRescorer(List<String> userIDs, List<String> args)
getRecommendRescorer
in interface RescorerProvider
userIDs
- user(s) for which recommendations are being made, which may be needed
in the rescoring logic.args
- arguments, if any, that should be used when making the Rescorer
.
This is additional information from the request that may be necessary to its logic,
like current location. What it means is up to the implementation.null
public Rescorer getRecommendToAnonymousRescorer(List<String> itemIDs, List<String> args)
getRecommendToAnonymousRescorer
in interface RescorerProvider
itemIDs
- items that the anonymous user is associated toargs
- arguments, if any, that should be used when making the Rescorer
.
This is additional information from the request that may be necessary to its logic,
like current location. What it means is up to the implementation.null
public Rescorer getMostPopularItemsRescorer(List<String> args)
getMostPopularItemsRescorer
in interface RescorerProvider
args
- arguments, if any, that should be used when making the Rescorer
.
This is additional information from the request that may be necessary to its logic,
like current location. What it means is up to the implementation.null
public Rescorer getMostActiveUsersRescorer(List<String> args)
getMostActiveUsersRescorer
in interface RescorerProvider
args
- arguments, if any, that should be used when making the Rescorer
.
This is additional information from the request that may be necessary to its logic,
like current location. What it means is up to the implementation.null
public Rescorer getMostSimilarItemsRescorer(List<String> args)
getMostSimilarItemsRescorer
in interface RescorerProvider
args
- arguments, if any, that should be used when making the Rescorer
.
This is additional information from the request that may be necessary to its logic,
like current location. What it means is up to the implementation.null
Copyright © 2014–2018. All rights reserved.