@Singleton @Path(value="/classificationDistribution") public final class ClassificationDistribution extends AbstractOryxResource
Responds to a GET request to
Predict but this
returns not just the most probable category,
but all categories and their associated probability. It is not defined for
regression problems and returns an error.
Default output is CSV format, containing
category,probability per line.
JSON format can also be selected by an appropriate
Accept header. It returns
an array of probabilities, each of which has an "id" and "value" entry, like
|Constructor and Description|
|Modifier and Type||Method and Description|
check, check, checkExists, checkNotReadOnly, getServingModel, isReadOnly, maybeBuffer, maybeBuffer, maybeDecompress, parseMultipart, sendInput
getInputProducer, getServingModelManager, init
Copyright © 2014–2018. All rights reserved.