Project - Building Spam Classifier

19 / 27

Spam Classifier - Try the Transformer on few Emails

Now we will try the transformer we created in the previous assessment on a few emails.


Use the EmailToWordCounterTransformer on the first 3 emails:

X_few = X_train[:3]
X_few_wordcounts = << your code goes here >>().fit_transform(X_few)
Get Hint See Answer

Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...