Predictions

Create prediction

Create a prediction for a specific task.

post/api/predictions/

Request body

clusterinteger nullable

Cluster for the current prediction

mislabelingnumber double

Related task mislabeling score

modelinteger nullable

An ML Backend instance that created the prediction.

model_runinteger nullable

A run of a ModelVersion that created the prediction.

model_versionstring

Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface

{"stackTrail":"components:schemas:PredictionRequest:properties:neighbors","oasType":"schema","type":"unknown","description":"Array of task IDs of the closest neighbors","nullable":true}
projectinteger nullable
resultobject[] required

List of prediction results for the task

scorenumber double nullable

Prediction score

taskinteger required

Response

Created prediction

clusterinteger nullable

Cluster for the current prediction

created_agostring required

Delta time from creation time

created_atstring date-time required
idinteger required
mislabelingnumber double

Related task mislabeling score

modelinteger nullable

An ML Backend instance that created the prediction.

model_runinteger nullable

A run of a ModelVersion that created the prediction.

model_versionstring

Model version - tag for predictions that can be used to filter tasks in Data Manager, as well as select specific model version for showing preannotations in the labeling interface

{"stackTrail":"components:schemas:Prediction:properties:neighbors","oasType":"schema","type":"unknown","description":"Array of task IDs of the closest neighbors","nullable":true}
projectinteger nullable
resultobject[] required

List of prediction results for the task

scorenumber double nullable

Prediction score

taskinteger required
updated_atstring date-time required

Changes

Changed in 1 of the 97 revisions of this API.49

    • request body became required

      request-body-became-required

    • the request property result became required

      request-property-became-required

    • the request property task became required

      request-property-became-required

    • the score request property type/format changed from number/ to number/double

      request-property-type-changed

    • added the new optional request property cluster

      new-optional-request-property

    • added the new optional request property mislabeling

      new-optional-request-property

    • added the new optional request property model

      new-optional-request-property

    • added the new optional request property model_run

      new-optional-request-property

    • added the new optional request property neighbors

      new-optional-request-property

    • added the new optional request property project

      new-optional-request-property

    • added the media type application/x-www-form-urlencoded to the request body

      request-body-media-type-added

    • added the media type multipart/form-data to the request body

      request-body-media-type-added

    • the request property score became nullable

      request-property-became-nullable

    This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 97 revisions, 1 has no diff computed.