0
$\begingroup$

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

$\endgroup$
1
  • $\begingroup$ Please explain a bit more on your need $\endgroup$
    – 10xAI
    Apr 29, 2020 at 13:10

1 Answer 1

0
$\begingroup$

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).

$\endgroup$
1
  • $\begingroup$ Thank you for answering this. I am currently not working on these projects, so it will take me awhile to validate this answer. $\endgroup$ Nov 16, 2020 at 20:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.