Skip to content

Instantly share code, notes, and snippets.


James E. Pustejovsky jepusto

View GitHub Profile
wallingTACC / 20NewsgroupsNaiveBayes.R
Last active Dec 24, 2015
Austin R Users Group Meetup - FasteR Naive Bayes
View 20NewsgroupsNaiveBayes.R
library(tm) #Text Mining
library(klaR) #Naive Bayes
library(parallel) #RCore parallel functions
library(data.table) #Improved version of data.frame with optimized helper methods like fread
library(caret) #Help us analyze the results
library(ggplot2) #Grammer for Graphics, very popular package
# Data: Download 20 newsgroup dataset here: