Funcs.java: Helpful utility functions for processing input data
Histogram.java: Represents a histogram. You need to implement getPluralityWinner() as part of a
kNN implementation.
LabeledWords.java
Sentence.java
TestResult.java
TextLearner.java
NaiveBayes.java
BayesTest1.java
BayesTester.java
SimpleTester.java
DataSetReader.java
| Achievement | Points |
|---|---|
| Implement Naive Bayes | 15 |
| Implement k nearest neighbor | 10 |
| Test Naive Bayes on the provided data set | 5 |
| Test kNN on the provided data set | 5 |
| Test Naive Bayes on the additional data set | 5 |
| Test kNN on the additional data set | 5 |
| Paper quantitatively assesses each of the four experiments | 16 |
| Paper insightfully discusses the distinctions in performance between the two algorithms | 4 |
| Paper insightfully discusses the distinctions in performance between the two data sets | 5 |