search for: hpclass

Displaying 2 results from an estimated 2 matches for "hpclass".

Did you mean: pclass
2004 Apr 13
3
randomForest: more than one variable needed?
Hi, I am doing feature selection for my dataset. The following is the extreme case where only one feature is left. But I got the error below. So my question is that do I have to use more than one features? sample.subset udomain.edu hpclass 1 -1.0 not 2 -1.0 not 3 -0.2 not 4 1.0 hp 5 1.0 hp > randomForest(hpclass ~., data=sample.subset, importance=TRUE); Error in if (n == 0) stop("data (x) has 0 rows") : argument is of length zero Best regards, Hui Han De...
2004 Mar 31
3
help with the usage of "randomForest"
Dear all, Can anybody give me some hint on the following error msg I got with using randomForest? I have two-class classification problem. The data file "sample" is: ---------------------------------------------------------- udomain.edu udomain.hcs hpclass 1 1.0000 1 not 2 NA 2 not 3 NA 0.8 not 4 NA 0.2 hp 5 NA 0.9 hp ------------------------------------------------------------ The steps I called the function are: (1) Read data hp <- read.table("sample") (2) Call randomForest hp.rf <- randomForest(hpclass ~., yy, data=hp, importance=T...