Skip to content

Commit b0809a2

Browse files
Add new centroid_id_column to support previous_assignment_table (#4343)
Summary: Pull Request resolved: #4343 Differential Revision: D74605659 fbshipit-source-id: 9ac8b269361a5136b899d69c4f7aa31f300c143f
1 parent cdbf9b3 commit b0809a2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

benchs/bench_fw/descriptors.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ class DatasetDescriptor:
8888

8989
embedding_id_column: Optional[str] = None
9090

91+
# only used when previous_assignment_table is set
92+
# this represents the centroid id that the embedding was mapped to
93+
# in a previous clustering job
94+
centroid_id_column: Optional[str] = None
95+
9196
# filters on the dataset where each filter is a
9297
# string rep of a filter expression
9398
filters: Optional[List[str]] = None

0 commit comments

Comments
 (0)