@Singleton @Path(value="/mostActiveUsers") public final class MostActiveUsers extends AbstractOryxResource
Responds to a GET request to
/mostActiveUsers(?howMany=n)(&offset=o)(&rescorerParams=...)
Results are users that have interacted with the most items, as user and count pairs.
howMany and offset behavior are as in Recommend. Output
is also the same, except that user IDs are returned with integer counts rather than
scores.
MostPopularItemsINPUT_PRODUCER_KEY, MODEL_MANAGER_KEY| Constructor and Description |
|---|
MostActiveUsers() |
| Modifier and Type | Method and Description |
|---|---|
List<IDCount> |
get(int howMany,
int offset,
List<String> rescorerParams) |
check, check, checkExists, checkNotReadOnly, getServingModel, isReadOnly, maybeBuffer, maybeBuffer, maybeDecompress, parseMultipart, sendInputgetInputProducer, getServingModelManager, init@GET
@Produces(value={"text/plain","text/csv","application/json"})
public List<IDCount> get(@DefaultValue(value="10") @QueryParam(value="howMany")
int howMany,
@DefaultValue(value="0") @QueryParam(value="offset")
int offset,
@QueryParam(value="rescorerParams")
List<String> rescorerParams)
throws OryxServingException
OryxServingExceptionCopyright © 2014–2018. All rights reserved.