定义 Estimators
在上一个练习中,您已经定义了特征列列表 feature_list 和数据输入函数 input_fn()。在本练习中,您将在此基础上定义一个使用输入数据的 estimator。
本练习是课程的一部分
Python 中的 TensorFlow 入门
交互式实操练习
通过完成这段示例代码来试试这个练习。
# Define the model and set the number of steps
model = estimator.____(feature_columns=feature_list, hidden_units=[____,____])
model.train(input_fn, steps=____)