2.6. Tm package - Dimensionality reduction

Log in om je oplossingen te testen.
productreviews <- read.csv("5productreviews.csv", header = T, na.strings = "?") productreviews <- Corpus(VectorSource(productreviews)) productreviews <- DocumentTermMatrix(productreviews, control = list(wordLengths = c(2, Inf), weighting = function(x) weightTfIdf(x)))
Je kunt zo vaak indienen als je wenst. Er wordt enkel rekening gehouden met je laatst ingediende oplossing.
Log in om je oplossingen te testen.