Skip to content
This repository has been archived by the owner on Feb 14, 2018. It is now read-only.

bug? predict returning a single string or dict? #10

Open
ghost opened this issue May 18, 2017 · 0 comments
Open

bug? predict returning a single string or dict? #10

ghost opened this issue May 18, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented May 18, 2017

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

@ghost 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 free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants