search for: testconfusions

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

2001 Oct 15
0
predict.fda difficulties
...f "CellType" labels and 17 normal variables DummyCellTypes<-floor(runif(TotalN,0,11)+1) DummyParams<-data.frame(CellType=DummyCellTypes, matrix(rnorm(TotalN*17),TotalN,17)) DummyParams$CellType<-factor(DummyParams$CellType) table(DummyParams$CellType) TrainFDAs<-list(100) TestConfusions<-list(100) TestErrs<-rep(-1,100) i<-1 z<-0 runsum<-0 while(i<=100 & z<1000){ z<-z+1 TrainSample<-sample(1:TotalN,TrainN) # Check to see if any CellTypes are missing from the training # or test set as this will certainly cause an error. TrainMissi...