Project - Building Spam Classifier

You are currently auditing this course.
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.

INSTRUCTIONS

Use the EmailToWordCounterTransformer on the first 3 emails:

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

Loading comments...