LoslegenKostenlos loslegen

Defining Estimators

In the previous exercise, you defined a list of feature columns, feature_list, and a data input function, input_fn(). In this exercise, you will build on that work by defining an estimator that makes use of input data.

Diese Übung ist Teil des Kurses

Introduction to TensorFlow in Python

Kurs anzeigen

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# Define the model and set the number of steps
model = estimator.____(feature_columns=feature_list, hidden_units=[____,____])
model.train(input_fn, steps=____)
Code bearbeiten und ausführen