When a model training has completed, the model will show up alongside all the ready-made models in your project, and you can add it like any other model.

Response signature

Custom models have a similar response signature to the ready-made classifiers.

Each model returns an object with the detected label and the respective scores. This object is added to the API response under the model’s key.

label
string
required

The most probable label. This will always be the label with the highest score. Returns null if the analyzer fails.

score
number
required

The score of the label. From 0-1 score with 1 meaning a high probability of being correct.

label_scores
object
required

An object containing all the label scores.

Was this page helpful?