Halloween Sale: Flat 70% + Addl. 25% Off + 30 Days Extra Lab on all Courses | Use Coupon HS25 in Checkout | Offer Expires In

  Enroll Now

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

No hints are availble for this assesment

Answer is not availble for this assesment


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

Loading comments...