You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 14, 2018. It is now read-only.
Hi, I am finding the following piece of code confusing:
At line 93 of _perceptron.py, variable scores holds the result of the prediction. Per the prediction method, this returns exactly one string here (a label, which is out of the maximum score). But, in the next line, scores variable is treated as a dictionary?
Best,
JV
The text was updated successfully, but these errors were encountered:
ghost
changed the title
bug? predict returning a single string or tuple?
bug? predict returning a single string or dict?
May 18, 2017
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I am finding the following piece of code confusing:
At line 93 of _perceptron.py, variable scores holds the result of the prediction. Per the prediction method, this returns exactly one string here (a label, which is out of the maximum score). But, in the next line, scores variable is treated as a dictionary?
Best,
JV
The text was updated successfully, but these errors were encountered: