Description Usage Arguments Value Raises See Also
View source: R/feature_columns.R
Construct a Real-Valued Column
1 2 3 4 5 6 7 |
... |
Expression(s) identifying input feature(s). Used as the column name and the dictionary key for feature parsing configs, feature tensors, and feature columns. |
shape |
An integer vector that specifies the shape of the tensor. An
integer can be given which means a single dimension tensor with given
width. The tensor representing the column will have the shape of
|
default_value |
A single value compatible with |
dtype |
The types for values contained in the column. The default value
is |
normalizer_fn |
If not |
A numeric column.
TypeError: if any dimension in shape is not an int
ValueError: if any dimension in shape is not a positive integer
TypeError: if default_value
is an iterable but not compatible with shape
TypeError: if default_value
is not compatible with dtype
ValueError: if dtype
is not convertible to tf$float32
Other feature column constructors:
column_bucketized()
,
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()
,
input_layer()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.