Predictions

Update prediction

Update prediction data by prediction ID.

patch/api/predictions/{id}/

Path parameters

idinteger required

Prediction ID

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:PatchedPredictionRequest:properties:neighbors","oasType":"schema","type":"unknown","description":"Array of task IDs of the closest neighbors","nullable":true}
projectinteger nullable
resultobject[]

List of prediction results for the task

scorenumber double nullable

Prediction score

taskinteger

Response

Updated 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.19

    • 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.