Skip to content

Commit

Permalink
Merge pull request #7 from mswimmer/master
Browse files Browse the repository at this point in the history
Make tagged VW data work
  • Loading branch information
Joseph Reisinger committed Sep 16, 2013
2 parents 591d95e + 7224d40 commit c0da0cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vowpal_porpoise/vw.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def parse_prediction(self, p):
if self.lda:
return map(float, p.split())
else:
return float(p)
return float(p.split()[0])

def read_predictions_(self):
for x in open(self.prediction_file):
Expand Down

0 comments on commit c0da0cc

Please sign in to comment.