Skip to content

Commit 2b77849

Browse files
author
rllin
authored
comments (#38)
1 parent 37e6ed0 commit 2b77849

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

labelbox/schema/prediction.py

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,16 @@
33

44

55
class PredictionModel(DbObject):
6-
""" A prediction model represents a specific version of a model. """
6+
""" A prediction model represents a specific version of a model.
7+
8+
NOTE: This is used for the legacy editor [1], if you wish to
9+
import annotations, refer to [2]
10+
11+
12+
[1] https://labelbox.com/docs/legacy/import-model-prediction
13+
[2] https://labelbox.com/docs/automation/model-assisted-labeling
14+
15+
"""
716
updated_at = Field.DateTime("updated_at")
817
created_at = Field.DateTime("created_at")
918
created_by = Relationship.ToOne("User", False, "created_by")
@@ -18,7 +27,16 @@ class PredictionModel(DbObject):
1827

1928

2029
class Prediction(DbObject):
21-
""" A prediction created by a PredictionModel. """
30+
""" A prediction created by a PredictionModel.
31+
32+
NOTE: This is used for the legacy editor [1], if you wish to
33+
import annotations, refer to [2]
34+
35+
36+
[1] https://labelbox.com/docs/legacy/import-model-prediction
37+
[2] https://labelbox.com/docs/automation/model-assisted-labeling
38+
39+
"""
2240
updated_at = Field.DateTime("updated_at")
2341
created_at = Field.DateTime("created_at")
2442
organization = Relationship.ToOne("Organization", False)

0 commit comments

Comments
 (0)