August 2018
Beginner
334 pages
10h 19m
English
Since it is hard to build a general classifier, we will build ours assuming that the inputs are positive- and negative-labeled examples. So, the first thing we need to do is define the labels that our classifier will handle using an enum data structure called NBCLabel:
public enum NBCLabel
{
POSITIVE,
NEGATIVE
}
Read now
Unlock full access