Skip to content

Conversation

@sahitya0000
Copy link

Current -> for targetLabel in xrange(1, max(yTest)):
Proposed change -> for targetLabel in xrange(1, max(yTest)+1):

Here, we are iterating over all categories which are numbered from 0 to 18 (inclusive).
Zero is ignored since it is "Other" category I guess.
To incorporate the highest category number 18, it should be
xrange(1, max(yTest)+1)

Current -> for targetLabel in xrange(1, max(yTest)): 
Proposed change -> for targetLabel in xrange(1, max(yTest)+1): 

Here, we are iterating over all categories which are numbered from 0 to 18 (inclusive). 
Zero is ignored since it is "Other" category I guess. 
To incorporate the highest category number 18, it should be 
 xrange(1, max(yTest)+1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant