laptop commit fixed naive baise

This commit is contained in:
Bartosz Ogonowski 2020-05-02 18:31:32 +02:00
parent 02fc6df77e
commit d22c01b95e

View File

@ -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')