lettergram / sentence-classification

Sentence Classifications with Neural Networks

Home Page:https://austingwalters.com/neural-networks-to-production-from-an-engineer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Counts printed by gen_test_comments include duplicates

saurabhmathur96 opened this issue · comments

The values being printed by gen_test_comments are

-------------------------
command 1672
statement 80993
question 131219
-------------------------

However, the actual values are 1111, 80167 and, 131001 for commands, statements and questions respectively. The values stored in the variables like command_count include duplicate sentences.
While the tagged_comments dict takes care of duplicate values, the counts still contain duplicates.

Fixed in latest commit :)

Thanks!