Skip to content

Commit

Permalink
document bug in model same probability random distribution!
Browse files Browse the repository at this point in the history
  • Loading branch information
breznak committed Nov 17, 2013
1 parent 3bb40d6 commit 04d1d5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/linguist.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def tellStory(model, startSent, lenght):
print(c),
modelInput = {'letter': c}
result = model.run(modelInput)
c=result.inferences['prediction'][0]

c=result.inferences['prediction'][0] # bug in model randomization of same-probability states
#print "c=",c
sentence_len += 1
if(sentence_len > 30): #limit, sometimes there's no sentence terminator generated and we'd run forever
numSent += 1
Expand Down

0 comments on commit 04d1d5d

Please sign in to comment.