public interface IDRescorer
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFiltered(long id)
Returns
true to exclude the given thing. |
double |
rescore(long id,
double originalScore) |
double rescore(long id,
double originalScore)
id - ID of thing (user, item, etc.) to rescoreoriginalScore - original scoreDouble.NaN to indicate that this should be excluded entirelyboolean isFiltered(long id)
true to exclude the given thing.id - ID of thing (user, item, etc.) to rescoretrue to exclude, false otherwiseCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.