change rank order output to follow kaggle convention
This commit is contained in:
parent
278b788b34
commit
bf5fcec8e8
@ -43,7 +43,8 @@ for k, v in res:
|
|||||||
nhit += 1
|
nhit += 1
|
||||||
else:
|
else:
|
||||||
lb = 'b'
|
lb = 'b'
|
||||||
fo.write('%s,%d,%s\n' % ( k, rorder[k], lb ) )
|
# change output rank order to follow Kaggle convention
|
||||||
|
fo.write('%s,%d,%s\n' % ( k, len(rorder)+1-rorder[k], lb ) )
|
||||||
ntot += 1
|
ntot += 1
|
||||||
fo.close()
|
fo.close()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user