Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prediction sample: "Training (hasn't) has not completed." #40

Closed
GoogleCodeExporter opened this issue Mar 15, 2015 · 2 comments
Closed

Comments

@GoogleCodeExporter
Copy link
Collaborator

In the current version of:

hg/ prediction-json-clientlogin-sample/ src/ com/ google/ api/ client/ sample/ 
prediction/ PredictionSample.java

checked-in by:  Yaniv Inbar 

on line 91, it says:

if ("Training hasn't completed.".equals(checkTraining.modelinfo)) {

but, in fact, Google returns this string if training hasn't finished:

"modelinfo":"Training has not completed."

i.e., "has not" instead of "hasn't".



Original issue reported on code.google.com by Sheryl....@gmail.com on 8 Oct 2010 at 11:52

@GoogleCodeExporter
Copy link
Collaborator Author

The online docs still say "hasn't", so that should probably be fixed also.  
Anyway, I'll just change it to check for "estimated accuracy" to avoid this 
question.  Thanks for reporting the problem.

Original comment by yan...@google.com on 19 Oct 2010 at 3:43

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Collaborator Author

Original comment by yan...@google.com on 19 Oct 2010 at 3:46

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant