Naive Bayes 1

Sign in to test your solution.
nb.fit <- naiveBayes(Direction ~ Lag1 + Lag2, data = Smarket, subset = train) nb.preds <- ...
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.