Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions labelbox/schema/prediction.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,16 @@


class PredictionModel(DbObject):
""" A prediction model represents a specific version of a model. """
""" A prediction model represents a specific version of a model.

NOTE: This is used for the legacy editor [1], if you wish to
import annotations, refer to [2]


[1] https://labelbox.com/docs/legacy/import-model-prediction
[2] https://labelbox.com/docs/automation/model-assisted-labeling

"""
updated_at = Field.DateTime("updated_at")
created_at = Field.DateTime("created_at")
created_by = Relationship.ToOne("User", False, "created_by")
Expand All @@ -18,7 +27,16 @@ class PredictionModel(DbObject):


class Prediction(DbObject):
""" A prediction created by a PredictionModel. """
""" A prediction created by a PredictionModel.

NOTE: This is used for the legacy editor [1], if you wish to
import annotations, refer to [2]


[1] https://labelbox.com/docs/legacy/import-model-prediction
[2] https://labelbox.com/docs/automation/model-assisted-labeling

"""
updated_at = Field.DateTime("updated_at")
created_at = Field.DateTime("created_at")
organization = Relationship.ToOne("Organization", False)
Expand Down