aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/docs_src/guide/feature_columns.md
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/docs_src/guide/feature_columns.md')
-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