Skip to content

Commit 2a96bc7

Browse files
Neural-Link Teamtensorflow-copybara
Neural-Link Team
authored andcommitted
Changes the lsh_rounds default from 2 to 1.
PiperOrigin-RevId: 327101937
1 parent 72cb8fd commit 2a96bc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neural_structured_learning/configs/configs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ class GraphBuilderConfig(object):
314314
larger input sets.
315315
lsh_rounds: The number of rounds of LSH bucketing to perform when
316316
`lsh_splits > 0`. This is also the number of LSH buckets each point will
317-
be hashed into. Defaults to 2.
317+
be hashed into. Defaults to 1.
318318
random_seed: Value used to seed the random number generator used to perform
319319
randomized LSH bucketing of the inputs when `lsh_splits > 0`. By default,
320320
the generator will be initialized randomly, but setting this to any
@@ -324,7 +324,7 @@ class GraphBuilderConfig(object):
324324
embedding_feature_name = attr.ib(default='embedding')
325325
similarity_threshold = attr.ib(default=0.8)
326326
lsh_splits = attr.ib(default=0)
327-
lsh_rounds = attr.ib(default=2)
327+
lsh_rounds = attr.ib(default=1)
328328
random_seed = attr.ib(default=None)
329329

330330

0 commit comments

Comments
 (0)