Minor fixes to the get started doc.
authorMingsheng Hong <hongm@google.com>
Sun, 4 Feb 2018 19:54:35 +0000 (11:54 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Sun, 4 Feb 2018 19:58:55 +0000 (11:58 -0800)
PiperOrigin-RevId: 184457074

tensorflow/docs_src/get_started/get_started_for_beginners.md

index ea1c2fb3f473b9e39567c7607d3b3ad10d2de6b5..cf514ceaf07a71414b6f3ed15bbc467c1c3c8426 100644 (file)
@@ -357,7 +357,7 @@ my_feature_columns = [
 
 ### Select the type of model
 
-We need the select the kind of model that will be trained.
+We need to select the kind of model that will be trained.
 Lots of model types exist; picking the ideal type takes experience.
 We've selected a neural network to solve the Iris problem.  [**Neural
 networks**](https://developers.google.com/machine-learning/glossary/#neural_network)
@@ -655,7 +655,9 @@ calls as follows:
 
 ```python
 predictions = classifier.predict(
-    input_fn=lambda:eval_input_fn(predict_x, batch_size=args.batch_size))
+    input_fn=lambda:eval_input_fn(predict_x,
+                                  labels=None,
+                                  batch_size=args.batch_size))
 ```
 
 As with the `evaluate` method, our `predict` method also gathers examples