search for: thesisdatasetscomb

Displaying 1 result from an estimated 1 matches for "thesisdatasetscomb".

2010 Aug 30
2
Regarding naive baysian classifier in R
...SVM we have "attr" function that helps in displaying the probability values. Is there any function similar to "attr" in naive Bayes that can be used for displaying the attribute values. my code is given below: library(e1071) train<-read.table("C:/Users/Aadhithya/Desktop/ThesisDatasetsComb/Part1/Dataset1/groups/train/D1TRg10.txt",header=T); test<-read.table("C:/Users/Aadhithya/Desktop/ThesisDatasetsComb/Part1/Dataset1/groups/test/D1TEg10.txt",header=T); length(test); cl <- c(c(rep("ALL",10), rep("AML",10))); cl <- factor(cl) model <- nai...