Float Features

Learn about the float features used in the dataset.

Chapter Goals:

  • Add the float features of a DataFrame’s row to a feature dictionary

A. Adding float features

Similar to the integer valued features in the DataFrame row, we also convert the row’s float valued features when creating the Example object. Each of the float features will be represented by FloatList TensorFlow Feature objects after the row is converted to an Example.

From the analysis of our dataset, we know that the float valued features are 'Temperature', 'FuelPrice', 'CPI' ...