laptop commit fixed naive baise
This commit is contained in:
parent
02fc6df77e
commit
d22c01b95e
@ -32,9 +32,9 @@ def prediction(input,output):
|
||||
temp_skeptic_logprob += skeptic_class_logprob + word_logprobs['skeptic'][token]
|
||||
|
||||
if temp_paranormal_logprob > temp_skeptic_logprob:
|
||||
output_file.write('0\n')
|
||||
else:
|
||||
output_file.write('1\n')
|
||||
else:
|
||||
output_file.write('0\n')
|
||||
##
|
||||
def main():
|
||||
prediction('dev-0/in.tsv','dev-0/out.tsv')
|
||||
|
Loading…
Reference in New Issue
Block a user