| column_bucketized {tfestimators} | R Documentation |
Construct a Bucketized Column
Description
Construct a bucketized column, representing discretized dense input. Buckets include the left boundary, and exclude the right boundary.
Usage
column_bucketized(source_column, boundaries)
Arguments
source_column |
A one-dimensional dense column, as generated by |
boundaries |
A sorted list or list of floats specifying the boundaries. |
Value
A bucketized column.
Raises
ValueError: If
source_columnis not a numeric column, or if it is not one-dimensional.ValueError: If
boundariesis not a sorted list or list.
See Also
Other feature column constructors:
column_categorical_weighted(),
column_categorical_with_hash_bucket(),
column_categorical_with_identity(),
column_categorical_with_vocabulary_file(),
column_categorical_with_vocabulary_list(),
column_crossed(),
column_embedding(),
column_numeric(),
input_layer()
[Package tfestimators version 1.9.2 Index]