How to model predict on Tensorflow model that has feature columns?

So far all the coding examples using feature columns do not have examples of how to format their model.predict(...). I tried using raw string and also putting them into np.arrays. I am very new so please be gentle :).

Here is the official page, as you can see, no predict example: https://www.tensorflow.org/tutorials/structured_data/feature_columns

Topic predict tensorflow feature-engineering

Category Data Science


You can find prediction examples in the next tutorial: Classify structured data using Keras Preprocessing Layers.

The list of tutorials in the series is in the bottom left part:

enter image description here

Specifically, the prediction examples are in the "Inference on new data" section (the last one in the tutorial).

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.