This question has been asked in two of the previous posts. However, they still remain unanswered. Given that we have
tf.contrib.learn.DNNClassifier and tf.estimator.DNNClassifier
which one should be preferred, The estimator DNNClassifier does not have the traditional "fit" method.
https://ai.stackexchange.com/questions/3860/tensorflow-tf-contrib-dnnclassifier-or-tf-estimator-dnnclassifier/4269 What is the difference between tf.estimator.Estimator and tf.contrib.learn.Estimator in TensorFlow