Skip to content

Commit

Permalink
Remove method arg
Browse files Browse the repository at this point in the history
  • Loading branch information
koki0702 committed Jun 26, 2018
1 parent a701c37 commit 2c89e94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch03/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
corpus, word_to_id, id_to_word = preprocess(text)

vocab_size = len(word_to_id)
contexts, target = create_contexts_target(corpus, window_size=window_size)
contexts, target = create_contexts_target(corpus, window_size)
target = convert_one_hot(target, vocab_size)
contexts = convert_one_hot(contexts, vocab_size)

Expand Down

0 comments on commit 2c89e94

Please sign in to comment.