Learn

Test pretrained model

Test out a pretrained model (using raw features) - upload first via uploadPretrainedModel. If you want to deploy a pretrained model from the API, see startDeployPretrainedModelJob.

post/api/{projectId}/pretrained-model/test

Request

Path parameters

projectIdinteger required

Project ID

Query parameters

impulseIdinteger

Impulse ID. If this is unset then the default impulse is used.

Request body

featuresnumber[] required

Example request

{
  "modelInfo": {
    "input": {
      "resizeMode": "squash"
    }
  }
}

Response

OK

successboolean required

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

resultobject

Classification value per label. For a neural network this will be the confidence, for anomalies the anomaly score.

Changes

No recorded changes to this operation across all 1 revision of this API.