Skip to content

Commit

Permalink
Merge pull request #1 from amygdala/patch-2
Browse files Browse the repository at this point in the history
add parens around the print, so runs in py3
  • Loading branch information
mhyttsten committed Sep 13, 2017
2 parents f813dcf + e1d1b1b commit 83246e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Blog_Estimators_DataSet.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def decode_csv(line):
for prediction in predict_results:
# Will print the predicted class, i.e: 0, 1, or 2 if the prediction
# is Iris Sentosa, Vericolor, Virginica, respectively.
print prediction["class_ids"][0]
print(prediction["class_ids"][0])

# Let create a dataset for prediction
# We've taken the first 3 examples in FILE_TEST
Expand Down

0 comments on commit 83246e4

Please sign in to comment.