tf.feature_column.numeric_column

Represents real valued or numerical features.

Used in the notebooks

Used in the guide Used in the tutorials

Example:

Assume we have data with two features a and b.

data = {'a': [15, 9, 17, 19, 21, 18, 25, 30],
   'b': [5.0, 6.4, 10.5, 13.6, 15.7, 19.9, 20.3 , 0.0]}

Let us represent the features a and b as numerical features.

a = tf.feature_column.numeric_column('a')