Queer European MD passionate about IT
Ver código fonte

Update Mission475Solutions.Rmd

Casey Bates 3 anos atrás
pai
commit
9963db8164
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      Mission475Solutions.Rmd

+ 2 - 2
Mission475Solutions.Rmd

@@ -98,14 +98,14 @@ for (sm in spam_messages) {
   words <- str_split(sm, " ")[[1]]
   spam_vocab  <- c(spam_vocab, words)
 }
-spam_vocab <- spam_vocab
+spam_vocab
 
 ham_vocab <- NULL
 for (hm in ham_messages) {
   words <- str_split(hm, " ")[[1]]
   ham_vocab <- c(ham_vocab, words)
 }
-ham_vocab <- ham_vocab
+ham_vocab
 
 # Calculate some important parameters from the vocab
 n_spam <- spam_vocab %>% length()