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?
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