search for: rfobject

Displaying 3 results from an estimated 3 matches for "rfobject".

Did you mean: refobject
2011 Jan 03
1
randomForest speed improvements
...ghtforward: library ('randomForest'); data202 <- read.csv ("random.csv", header=TRUE); x<- data202[1:50000,1:6]; y<- data202[1:50000,8]; y<- y[,drop=TRUE]; x2 <- data202[50001:60000,1:6]; y2 <- data202[50001:60000,8]; y2 <- y2[,drop=TRUE]; RFobject <- randomForest(x,y,na.action=na.roughfix); p <- predict (RFobject, x2); In this case, the CSV contains 10 columns, of which 1-6 are numeric in nature (day of week, week of month, etc...) and column 8 is the target (sales, a numeric number). randomForest does fine with the data, our issue...
2007 Aug 24
1
randomForest help
Hello! As a new R user, I'm sure this will be a silly question for the rest of you. I've been able to successfully run a forest but yet to figure out proper command lines for the following: 1. saving the forest. The guide just says isavef=1. I'm unsure how expand on this to create the command. 2. Running new data down the mode. Again, the guide just states irunf 3. Print to
2008 Jun 18
2
randomForest outlier
I try to use ?randomForest to find variables that are the most important to divide my dataset (continuous, categorical variables) in two given groups. But when I plot the outliers: plot(outlier(FemMalSex_NAavoid88.rf33, cls=FemMalSex_NAavoid88$Sex), type="h",col=c("red","green")[as.numeric(FemMalSex_NAavoid88$Sex)]) it seems to me that all my values appear as