Flash Sale: Flat 70% + Addl. 25% Off on all Courses | Use Coupon DS25 in Checkout | Offer Expires In

  Enroll Now

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)

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...