Custom Classifier Models
Using a custom model
When a model training has completed, the model will show up alongside all the pre-built models in your project, and you can add it like any other model.
Response signature
Custom models have a similar response signature to the pre-built 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
requiredThe most probable label. This will always be the label with the highest score. Returns null if the analyzer fails.
score
number
requiredThe score of the label. From 0-1 score with 1 meaning a high probability of being correct.
label_scores
object
requiredAn object containing all the label scores.
Was this page helpful?