search for: dummyparams

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

2001 Oct 15
0
predict.fda difficulties
...__________________________________ Toy Example ____________ # Dummy cross-validation routine set.seed(7771) TotalN<-162 TestN<-80 TrainN<-TotalN-TestN # Make a dummy frame with 11 kinds of "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<1...