Skip to content

Commit

Permalink
fix default label: 1 -> "1"
Browse files Browse the repository at this point in the history
  • Loading branch information
zygmuntz committed Sep 20, 2015
1 parent 95781b5 commit 8680747
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csv2libsvm.py
Expand Up @@ -47,7 +47,7 @@ def construct_line( label, line ):

for line in reader:
if args.label_index == -1:
label = 1
label = "1"
else:
label = line.pop( args.label_index )

Expand Down

0 comments on commit 8680747

Please sign in to comment.