Displaying 4 results from an estimated 4 matches for "aadhithya".
2010 Jun 29
2
Need help for SVM code for microarray classification
Hi I am Aadhithya I am trying to write a code to classify microarray data
(AML and ALL) using SVM in R
my code goes like this :
library(e1071)
train<-read.table("Z:/Documents/train.txt",header=T);
test<-read.table("Z:/Documents/test.txt",header=T);
cl <- c(c(rep("ALL",10), rep...
2010 Jun 30
1
help on naivebayes function in R
...), na.last = TRUE) :
'x' must be atomic for 'sort.list'
Have you called 'sort' on a list?
I am not sure where I am going wrong. I want the confusion matrix using
table function but I am not able to get it . Please help me . I will be
really grateful .Thanks in advance.
-Aadhithya
--
View this message in context: http://r.789695.n4.nabble.com/help-on-naivebayes-function-in-R-tp2272720p2272720.html
Sent from the R help mailing list archive at Nabble.com.
2010 Aug 30
2
Regarding naive baysian classifier in R
...es. In the case of 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 <-...
2010 Jun 30
1
how to tabulate the prediction value using table function for naive baiyes in R
...giving me
the following error when I execute the line "table(pred,cl)"
Error in table(pred,cl):all arguments must have the same length
I am not sure where I am going wrong. I want the confusion matrix using
table function but I am not able to get it . Please help me .Thanks in
advance.
-Aadhithya
--
View this message in context: http://r.789695.n4.nabble.com/how-to-tabulate-the-prediction-value-using-table-function-for-naive-baiyes-in-R-tp2272742p2272742.html
Sent from the R help mailing list archive at Nabble.com.