Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Modern Scala Projects

You're reading from   Modern Scala Projects Leverage the power of Scala for building data-driven and high performance projects

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher Packt
ISBN-13 9781788624114
Length 334 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
 gurusamy gurusamy
Author Profile Icon gurusamy
gurusamy
Arrow right icon
View More author details
Toc

Questions


Here are 10 questions that will help to reinforce all of the learning material presented in this chapter:

  1.  Is the spam classification task a binary classification task?
  2. What was the significance of the hashing trick in the spam classification task?
  3. What is hashing collision and how is it minimized?
  4. What do we mean by inverse document frequency?
  5. What are stop words and why do they matter?
  6. What is the role played by the Naive Bayes algorithm in spam classification?
  7. How do you use the HashingTF class in Spark to implement the hashing trick in your spam classification process?
  8. What is meant by the vectorization of features?
  9. Is there a better algorithm that you can think of to implement the spam classification process? 
  10. What are the benefits of spam filtering, and why do they matter in business terms?
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images