Skip to content

Commit

Permalink
Changes the lsh_rounds default from 2 to 1.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 327101937
  • Loading branch information
Neural-Link Team authored and tensorflow-copybara committed Aug 17, 2020
1 parent 72cb8fd commit 2a96bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neural_structured_learning/configs/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ class GraphBuilderConfig(object):
larger input sets.
lsh_rounds: The number of rounds of LSH bucketing to perform when
`lsh_splits > 0`. This is also the number of LSH buckets each point will
be hashed into. Defaults to 2.
be hashed into. Defaults to 1.
random_seed: Value used to seed the random number generator used to perform
randomized LSH bucketing of the inputs when `lsh_splits > 0`. By default,
the generator will be initialized randomly, but setting this to any
Expand All @@ -324,7 +324,7 @@ class GraphBuilderConfig(object):
embedding_feature_name = attr.ib(default='embedding')
similarity_threshold = attr.ib(default=0.8)
lsh_splits = attr.ib(default=0)
lsh_rounds = attr.ib(default=2)
lsh_rounds = attr.ib(default=1)
random_seed = attr.ib(default=None)


Expand Down

0 comments on commit 2a96bc7

Please sign in to comment.