Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Tathagatd96/da596e9ced3d7dec0fdead72f59c24de to your computer and use it in GitHub Desktop.
Save Tathagatd96/da596e9ced3d7dec0fdead72f59c24de to your computer and use it in GitHub Desktop.
#The estimator model
model=tf.estimator.DNNRegressor(hidden_units=[6,10,6],feature_columns=feat_cols)
#the input function
input_func=tf.estimator.inputs.pandas_input_fn(X_train,y_train,batch_size=10,num_epochs=1000,shuffle=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment