July 2018
Intermediate to advanced
334 pages
8h 20m
English
We will create a new Scala file called SpamClassifierPipeline.scala. First of all, we need the following imports:

Now that the imports have been created, let's create an empty SpamClassifierPipeline object in the same package as the SpamWrapper trait, as follows:
object SpamClassifierPipeline extends App with SpamWrapper { }
A prototype spam classifier is ready. We need to create code in it to do such things as preprocessing the data and, of course, much more. In the next step, we will list the necessary preprocessing steps to take up.
Read now
Unlock full access