BuildPrediction.Rd
predict the classes using trained algorithms and give cnfusion matrix in return
BuildPrediction(x)
x | input is a dataframe for bag of word file in which columns are the terms and row are binary variable 1 if that term exist in that data instance |
---|
3 confusion matrix for each trained classification algorithm
# NOT RUN { library(SentiAnalyzer) csv_data <- read.csv(system.file(package = "SentiAnalyzer", "extdata/testing.csv")) my_training_data <- BuildPrediction(csv_data) # }# Predicted_obj <- BuildPrediction(csv_data)