aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/docs_src
diff options
context:
space:
mode:
authorGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-08-10 15:37:01 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-08-10 15:37:01 -0700
commit190015477a88457198548f829e9d814686cdf365 (patch)
tree001bb90e27a7430bb928da2e8b858007e741aeb8 /tensorflow/docs_src
parentcb372f7d165abb3ac714d3420a00048028704a43 (diff)
parent3d1f89ce1fbbe656fa7fd711d964080f88688966 (diff)
Merge pull request #21191 from mattdodge:patch-1
PiperOrigin-RevId: 208278273
Diffstat (limited to 'tensorflow/docs_src')
-rw-r--r--tensorflow/docs_src/guide/feature_columns.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/docs_src/guide/feature_columns.md b/tensorflow/docs_src/guide/feature_columns.md
index 9cd695cc25..b189c4334e 100644
--- a/tensorflow/docs_src/guide/feature_columns.md
+++ b/tensorflow/docs_src/guide/feature_columns.md
@@ -289,7 +289,7 @@ pseudocode:
```python
# pseudocode
-feature_id = hash(raw_feature) % hash_buckets_size
+feature_id = hash(raw_feature) % hash_bucket_size
```
The code to create the `feature_column` might look something like this:
@@ -298,7 +298,7 @@ The code to create the `feature_column` might look something like this:
hashed_feature_column =
tf.feature_column.categorical_column_with_hash_bucket(
key = "some_feature",
- hash_buckets_size = 100) # The number of categories
+ hash_bucket_size = 100) # The number of categories
```
At this point, you might rightfully think: "This is crazy!" After all, we are
forcing the different input values to a smaller set of categories. This means