BuildPrediction: predict the classes using trained algorithms and give...

Description Usage Arguments Value Author(s) Examples

Description

predict the classes using trained algorithms and give cnfusion matrix in return

Usage

1

Arguments

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

Value

3 confusion matrix for each trained classification algorithm

Author(s)

Atousa Zarindast

Examples

1
2
3
4
5
6
7
8
## Not run: 
library(SentiAnalyzer)
csv_data <- read.csv(system.file(package = "SentiAnalyzer", "extdata/testing.csv"))
my_training_data <- BuildPrediction(csv_data)

## End(Not run)

# Predicted_obj <- BuildPrediction(csv_data)

zahrakhoshmanesh/FinalProjectSTAT585 documentation built on June 4, 2019, 1:57 p.m.