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

Save raw as well as deskewed prediction as json #9

Open
todo bot opened this issue May 24, 2020 · 0 comments
Open

Save raw as well as deskewed prediction as json #9

todo bot opened this issue May 24, 2020 · 0 comments
Assignees

Comments

@todo
Copy link

todo bot commented May 24, 2020

digits/src/gui.py

Lines 70 to 75 in 8172518

# TODO: Save raw as well as deskewed prediction as json
# prediction = self.n.predict(data.reshape((784,)))
prediction = self.n.predict(deskewed.reshape((784,)))
digit = np.argmax(prediction)
print('Prediction: %s, confidence: %d%%' % (
digit, prediction[digit] * 100


This issue was generated by todo based on a TODO comment in 8172518. It's been assigned to @IshanManchanda because they committed the code.
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