Closed ychong closed 6 years ago
Suggestion for a shorter implementation of line 270 for 'valid_word':
Old: valid_word = word_dictionary_rev[valid_examples[j]]
Suggestion/New: valid_word = valid_words[j]
Thanks! I'll update this code when I get to chapter 7 with all the new updates (version 2 of the book coming soon).
This should be fixed now.
Suggestion for a shorter implementation of line 270 for 'valid_word':
Old: valid_word = word_dictionary_rev[valid_examples[j]]
Suggestion/New: valid_word = valid_words[j]